113
CHAPTER 9 PROGRAMMING
9
9.3 Pr
ogram Example
(6) Program example
1.
Create the following program with GX Works2.
2.
Write the program to the CPU module of the master station and reset the CPU module, or turn on
from off the power supply.
3.
Change the status of the CPU module of the master station to RUN.
CH1 Digital value setting
CH2 Digital value setting
CH1 Output enable/disable flag
CH2 Output enable/disable flag
Check the alert output.
Check CH1 Digital value range.
Check CH2 Digital value range.
CH2 Alert output processing
(upper limit)
CH2 Alert output processing
(lower limit)
Turn on Alert output clear request flag.
Turn off Alert output clear request flag.
Read Latest error code.
Turn on Error clear request flag.
Turn off Error clear request flag.
Read Latest warning code.
Error clear request
CH2 Processing at the alert occurrence (lower limit value)
CH2 Processing at the alert occurrence (upper limit value)
or Power OFF ON
RESET
RUN
Содержание NZ2GF2B-60DA4
Страница 1: ......
Страница 2: ......
Страница 44: ...42 Memo...
Страница 117: ...115 CHAPTER 10 MAINTENANCE AND INSPECTION 10 Memo...
Страница 167: ...165 APPENDICES A Appendix 9 External Dimensions Memo...
Страница 173: ......
Страница 174: ......