PLC glossary
FOR
Repeat code while a counting value moves from a chosen start to an end. Both ends are included in these languages.
- Also called
- FOR loop
- On site
- FOR from zero to three visits all four stored readings.
- Siemens
- FOR ... TO ... BY ... DO ... END_FOR in SCL.
- Rockwell
- FOR ... TO ... BY ... DO ... END_FOR in ST.