8. Special I/O Functions
Sample program
Main program
(H3045)
I/O interrupt program #3
Interrupt program A
I/O interrupt program #4
Interrupt program B
In this example, 12357 (H3045) is set in SW16. As a result, the interrupt input function (2 points, rising for both) is selected.
When X002 is changed from OFF to ON, the interrupt program A is executed. When X003 is changed from OFF to ON, the interrupt program B is executed.
NOTE
Even if the Direct I/O instruction is used in the interrupt program, the corresponding input state (X002 or X003) cannot be confirmed. Because the interrupt is generated before internal updating of the input states.
Basic Hardware and Function 281
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net