1216
Block Programming Instructions
Section 3-32
operating at the same time. An error will occur in the program check if the
same timer number is used in more than one timer instruction.
An error will occur and the Error Flag will turn ON if an indirect IR designation
is used for N in BCD mode and the address is not for a timer present value or
if SV is not BCD.
The timer will not operate correctly if the cycle time is 100 ms or longer.
Examples
In the following example, “B” will be executed 20 seconds after “A” whenever
CIO 000000 is ON.
3-32-10 Loop Control: LOOP(809)/LEND(810)/LEND(810) NOT
Purpose
Create a loop that is repeatedly executed until an execution condition turns
ON or OFF or until an execution condition turns ON.
Ladder Symbol
Variations
Applicable Program Areas
Note
LOOP(809), LEND(810), and LEND(810) NOT must be used in block pro-
gramming regions even within subroutines and interrupt tasks.
Address
Instruction
Operand
000221
LD
000001
000222
BPRG
1
.
.
A
.
.
000250
TMHW
0002
#0020
.
.
B
.
.
000281
BEND
---
1
LOOP(809)
LEND(810)
LEND(810)
LEND(810) NOT
B
B
B
: Bit operand
Variations
Always Executed in Block Program
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...