8
- 17
8.1 Program Example of Single Network System
8.1.5 Program example of interrupt request
8
PROGRAMMING
(b) Interrupt pointer setting of intelligent function module
Set the interrupt pointer of the intelligent function module with [PLC system] of
PLC parameters as shown below.
(3) Devices used in program example
(a) Special relay (SM)
(b) Devices used by the user
(4) Program example
The following shows a program example of interrupt request.
The following program is written to station No. 2.
Figure 8.24 Interrupt pointer setting of intelligent function module
Table 8.9 Special relay (SM)
Device
Description
Device
Description
SM400
Always ON
—
Table 8.10 Devices used by the user
Device
Description
Device
Description
I51
Interrupt pointer when Data link status of own station
(SB0049) is ON.
—
Figure 8.25 Program example of interrupt request
Interrupt enabled.
End of main routine
program
End of interrupt
program
Main routine program
Interrupt program
Содержание QJ71GP21-SX
Страница 1: ......
Страница 2: ......
Страница 644: ...App 94 Appendix 6 External Dimensions Appendix 6 2 QJ71GP21S SX APPENDICES Memo ...
Страница 649: ......
Страница 650: ......