Chapter 4. Ladder Diagram (LD) Programming
116
PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual
GFK-2950C
4.5.7
Scan Set IO
The Scan_Set_IO function scans the I/O of a specified scan set
number. (Modules can be assigned to scan sets in hardware
configuration.) You can specify whether the Inputs and/or Outputs
of the associated scan set will be scanned.
Execution of this function block does not affect the normal
scanning process of the corresponding scan set. If the
corresponding scan set is configured for non-default Number of
Sweeps or Output Delay settings, they remain in effect regardless
of how many executions of the Scan Set IO function occur in any
given sweep.
The Scan Set IO function skips those modules that do not support
Operands for SCAN_SET_IO
Parameter Description
Allowed Types
Allowed Operands Optional
IN
If true the inputs will be scanned.
BOOL variable or bit
reference in a non-
BOOL variable
Power flow
No
OUT
If true the outputs will be scanned.
BOOL variable or bit
reference in a non-
BOOL variable
Power flow
No
SET
Number of the scan set to be scanned.
Scan sets are specified in the CPU
hardware configuration and assigned to
modules in the module hardware
configuration.
UINT
All except %S
memory types.
No
ENO
Energized when all arguments to the
function are valid and there are no errors
in scanning.
BOOL variable or bit
reference in a non-
BOOL variable
Power flow.
Yes
Example
By using the Scan Set IO function block in an
interrupt block, you can create a custom I/O
scan. For example, two Scan Set IO function
blocks can be used in an interrupt block to
scan the inputs of a scan set at the
beginning of the block and the outputs of
the same scan set at the end of the block.
In the example at right:
■
When ScanInputs is ON, input data for all I/O
modules assigned to Scan Set 2 is updated.
■
When ScanOutputs is ON, output data for all
I/O modules assigned to Scan Set 2 is
updated
Summary of Contents for PACSystems RSTi-EP
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451 ...