290
Timer and Counter Instructions
Section 3-6
The loop in the program above has 4 input parameters which are used to start
all 100 timers with this common subroutine.
IR0
The PLC memory address of the timer’s PV
IR1
The PLC memory address of the timer’s Completion Flag
IR2
The PLC memory address of the timer’s execution condition
D00000 The DM address of the word containing the timer’s SV
The subroutine above is equivalent to the 400 instructions below.
000000 LD
NOT 200000
000001 TIM
0000
D00100
000002 LD
T0000
000003 OUT
200000
000004 LD
NOT 200001
000005 TIM
0001
D00101
000006 LD
T0001
000007 OUT
200001
000008 LD
NOT 200002
000009 TIM
0002
D00102
000010 LD
T0002
000011 OUT
200002
000396 LD
NOT 200602
000397 TIM
0099
D00199
000398 LD
T0000
000399 OUT
200602
200000
T0000
200001
T0001
200602
T0099
Instruction Operands
Address
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...