Siemens SIMATIC S7-200 System Manual page 184

Programmable controller
Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

S7-200 Programmable Controller System Manual
Example: For- - Next Loop Instructions
170
Network 1
//When I2.0 comes on, the outside loop
//(arrow 1) is executed 100 times
1
LD
I2.0
FOR
VW100, +1, +100
Network 2
//The inside loop (arrow 2)
//is executed twice for each
//execution of the outside loop
//when I2.1 is on.
2
LD
I2.1
FOR
VW225, +1, +2
Network 3
//End of Loop 2.
NEXT
Network 4
//End of Loop 1 .
NEXT

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents