![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030147.webp)
107
Instruction Functions
Section 2-2
LOOP
LOOP
809
---
Block program
Required
1215
LEND
LEND
810
LEND (810)
LEND(810) or LEND(810) NOT specifies the end of the loop. When
LEND(810) or LEND(810) NOT is reached, program execution will loop
back to the next previous LOOP(809) until the operand bit for
LEND(810) or LEND(810) NOT turns ON or OFF (respectively) or until
the execution condition for LEND(810) turns ON.
Block program
Required
1215
LEND
LEND
810
LEND (810)
B
B: Bit operand
Block program
Required
1215
LEND NOT
LEND NOT
810
LEND(810) NOT
B: Bit operand
LEND(810) or LEND(810) NOT specifies the end of the loop. When
LEND(810) or LEND(810) NOT is reached, program execution will loop
back to the next previous LOOP(809) until the operand bit for
LEND(810) or LEND(810) NOT turns ON or OFF (respectively) or until
the execution condition for LEND(810) turns ON.
Block program
Required
1215
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
Loop repeated
Execution condition
LOOP(809) designates the beginning of the loop program.
Execution
condition
ON
Execution
condition
OFF
Execution
condition
OFF
Execution
condition
OFF
Loop repeated
If the operand bit is OFF for LEND(810) (or ON for LEND(810) NOT),
execution of the loop is repeated starting with the next instruction after
LOOP(809). If the operand bit is ON for LEND(810) (or OFF for
LEND(810) NOT), the loop is ended and execution continues to the
next instruction after LEND(810) or LEND(810) NOT.
Operand
bit ON
Operand
bit OFF
Operand
bit OFF
Operand
bit OFF
Note
The status of the operand bit would be
reversed for LEND(810) NOT.
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...