Reset Timer/Counter: Cnr(236) - Omron SYSMAC CV Series Operation Manual

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Timer and Counter Instructions

5-13-8 RESET TIMER/COUNTER: CNR(236)

Ladder Symbol
(236)
CNR
Variations
jCNR(236)
Description
Precautions
Flags
Example
0000
00
158
The following diagram illustrates the operation of the Completion Flag (C0007)
when the content of CIO 0001 (i.e., the SV) is 5000.
Completion Flag
(C00007)
D
D
1
2
When D
and D
are timer or counter numbers, CNR(236) resets the PV of tim-
1
2
ers from D
through D
1
TIMH(015), CNT, and TCNT(123) are reset to the SV, while PVs for CNTR(012)
and TTIM(120) are reset to zero. TIML(121) and MTIM(122) timers cannot be
reset with CNR(236).
If only one timer or counter needs to be reset, that timer or counter number can
be entered alone. It is not necessary to enter both D
If two or more timer or counter instructions are defined with the same timer or
counter number and have different SVs, the PV for that timer or counter number
will be reset to one or the other SV when CNR(236) is executed. The operation of
the timer or counter instruction will not be affected, however, because the correct
SV will be reset the next time that each timer or counter instruction is executed.
When D
and D
1
2
words D
through D
1
D
and D
must be in the same data area, and D
1
2
wD
D
. If D
, only D
2
1
2
Note: Refer to page 115 for general precautions on operand data areas.
Content of *DM word is not BCD when set for BCD.
ER (A50003):
The CNR(236) instruction in the example below resets timers T0001 to T0005 to
their SV whenever CIO 000000 turns ON.
(236)
CNR
T0001
4999 5000
0
CIO 00003
CIO 00004
Operand Data Areas
D
: First Word
CIO, G, A, T, C, DM
1
D
: Second Word
CIO, G, A, T, C, DM
2
without starting the timers or counters. PVs for TIM,
2
are addresses in a data area, CNR(236) sets the content of
to zero.
2
will be reset.
1
T0005
Section 5-13
1
2
1
0 5000 4999
and D
.
1
2
must be less than or equal to
1
Address Instruction
00000
LD
00001
CNR(236)
Operands
000000
T0001
T0005

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents