Chapter 4. Ladder Diagram (LD) Programming116 PACSystems* RX7i, RX3i and RSTi-EP CPU Programmer's Reference Manual GFK-2950C4.5.7 Scan Set IOThe Scan_Set_IO function scans the I/O of a specified scan setnumber. (Modules can be assigned to scan sets in hardwareconfiguration.) You can specify whether the Inputs and/or Outputsof the associated scan set will be scanned.Execution of this function block does not affect the normalscanning process of the corresponding scan set. If thecorresponding scan set is configured for non-default Number ofSweeps or Output Delay settings, they remain in effect regardlessof how many executions of the Scan Set IO function occur in anygiven sweep.The Scan Set IO function skips those modules that do not support Do I/O scanning.Operands for SCAN_SET_IOParameter Description Allowed Types Allowed Operands OptionalIN If true the inputs will be scanned. BOOL variable or bitreference in a non-BOOL variablePower flow NoOUT If true the outputs will be scanned. BOOL variable or bitreference in a non-BOOL variablePower flow NoSET Number of the scan set to be scanned.Scan sets are specified in the CPUhardware configuration and assigned tomodules in the module hardwareconfiguration.UINT All except %Smemory types.NoENO Energized when all arguments to thefunction are valid and there are no errorsin scanning.BOOL variable or bitreference in a non-BOOL variablePower flow. YesExampleBy using the Scan Set IO function block in aninterrupt block, you can create a custom I/Oscan. For example, two Scan Set IO functionblocks can be used in an interrupt block toscan the inputs of a scan set at thebeginning of the block and the outputs ofthe same scan set at the end of the block.In the example at right:■ When ScanInputs is ON, input data for all I/Omodules assigned to Scan Set 2 is updated.■ When ScanOutputs is ON, output data for allI/O modules assigned to Scan Set 2 isupdated