3-12
S7-200 Programmable Controller, CPU 210
C79000-G7076-C235-01
Table 3-2 Sample Program in Statement List, continued
NETWORK 9
LD M0.1
= Q0.1
// if the high-level alarm bit has been set
// turn on the high-level alarm output
NETWORK 10
LD M0.2
= Q0.2
// if the low-level alert bit has been set
// turn on the low-level alert output
NETWORK 11
MEND
// end of the main program
Getting Started with a Sample Program