3. Instructions
1074
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Example Programming
• Operation of TIMW(813)
When 0.00 turns ON, BPRG0 is executed. After
program “A” is executed, the set value is preset in
timer 1 and the program jumps to BEND.
“A” is not executed in the next cycle; execution
takes place from the TIMW instruction. When the
time (20 seconds) elapses, program “B” is
executed.
Program execution will flow from 2 to 3 to 4 and
back to 2 during the 20 s before “B” is executed,
as shown in the following diagram.
0
Timer times out.
0.00
Coding
Address Instruction Operand
000200 LD 000000
000201 BPRG 0
.
.
A
.
.
000210 TIMW 1
#0200
.
.
B
.
.
000220 BEND ---
1
2
3
4