5-81
5 Understanding Programming
CJ2 CPU Unit Software User’s Manual
5-6 Instructions
5
5-6-4 I/O Refresh Timing
The following methods are used to refresh external I/O.
• Cyclic refresh
• Immediate refresh (instruction with the ! specification, IORF(097), FIORF(225), or DLNK(226))
With cyclic refreshing, I/O refreshing is all performed at once after execution of all the cyclic tasks in
READY status has been completed.
Execute an IORF(097) instruction for all required words prior to the END(001) instruction if I/O refresh-
ing is required in a task.
5-6-4 I/O Refresh Timing
Cyclic Refresh
LD 1.01
OUT 2.09
END
MOV 3 4
END
Top
I/O refresh
Top
Cyclic refresh
(batch processing)
All real I/O data