Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 329

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Timer and Counter Instructions
1,2,3...
IR0 contains the PLC memory address of the timer PV and IR1 contains the
PLC memory address of the timer Completion Flag.
DM address
Content
D00100
0010
D00101
0100
D00102
0050
.
.
.
.
.
.
D00199
0999
P_On
(Always ON
Flag)
P_On
(Always ON
Flag)
1. MOVRW(561) moves the PLC memory address of the PV for timer T0000
to IR0. Afterwards IR0 can be used in place of the timer number.
2. MOVR(560) moves the PLC memory address of the Completion Flag for
timer T0000 to IR1.
3. MOVR(560) moves the PLC memory address of CIO 200000 into IR2.
4. MOV(021) moves &100 into D00000 for indirect addressing of the timer
SVs.
5. The content of IR0, IR1, IR2, and D00000 are incremented by 1 each time
as this loop is executed 100 times, starting timers T0000 through T0099.
Function
SV for T0000
SV for T0001
SV for T0002
.
.
.
SV for T0099
FOR
@D00000
++
NEXT
Section 3-6
1
2
3
4
&100
&100
5
289

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents