Refreshing I/O operates after completion of scan program. If data of I/O is changed while program is
scanned, it does not refreshed at the changed moment. Refreshed I/O data is applied after ‘END’ instruction
on program.
In order to refresh I/O data during program execution, use ‘DIREC_IN, DIREC_OUT’ function to read input
contact point immediately and use it for operation, or output operation result immediately.
Program outputting data 2#0111_0111_0111_0111 to 32 point transistor output model equipped at
extension module slot 4 during scan.
(1) Input base number 0 and slot number 4 where output module is equipped
(2) Since data to output is 16 bit during scan, enable lower 16 bit among value of MASK_L
(16#FFFF0000)
(3) If execution condition (%IX0.0.0) is On, DIREC_O (Immediate refresh of output module) is executed
and data of output module is set as 2#0111_0111_0111_0111.
Remark
2) In case of using DIREC_IN,DIREC_OUT function, the value is applied immediately. They have higher
priority than forced I/O.
6- 9