Refresh IO RFS, RFSP
Refresh I/O: RFS, RFSP
Instruction | Device address | No. of Steps | Flag | |||||||||||||||
M | X | Y | K | L | F | T | C | S | Z | D | @D | Int. | Error | Zero | Carry | |||
RFS(P) | S | - | o | o | - | - | - | - | - | - | - | - | - | - | 3 | - | - | - |
n | o | o | o | o | o | o | o | o | - | o | o | o | o |
S | Device to perform the Refresh Instruction |
n | Number of devices to perform the Refresh Instruction |
RFS
When activated, the RFS command refreshes the devices of input and output modules while scanning.
If the RFS command is activated while the scan is in progress in the above order, it will forcefully refresh input and output again during the execution of program block.
By performing the refresh command, the newly authorized inputs and outputs can be identified.
After the refresh instruction is executed, it performs the command according to the new input.
Example)
If M00 is turned ON, it will refresh the input modules of 8 word starting from X00.