Omron SYSMAC CV Series Operation Manual page 169

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

Advertisement

Timer and Counter Instructions
Precautions
Flags
Example
0000
03
0000
04
0000
05
C0007
When inputting the CNTR(012) instruction with mnemonics, first enter the incre-
ment input (II), then the decrement input (DI), the reset input (R), and finally the
CNTR(012) instruction. When entering with the ladder diagrams, first input the
increment input (II), then the CNTR(012) instruction, the decrement input (DI),
and finally the reset input (R).
Changes in II and DI execution conditions, the Completion Flag, and the PV are
illustrated below starting from part way through CNTR(012) operation (i.e.,
when reset, counting begins from zero). PV line height is meant only to indicate
changes in the PV and not absolute values.
Execution condition
on increment (II)
Execution condition
on decrement (DI)
Completion Flag
PV
SV must be BCD between 0000 and 9999.
Counter numbers are as shown in the following table. Each counter number can
be used to define only one counter instruction unless the counters are never ac-
tive simultaneously.
CV500 or CVM1-CPU01-EV2
CV1000, CV2000, or CVM1-CPU11/21-EV2
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):
Content of S (SV) is not BCD.
The counter in the following example will count up when CIO 000003 changes
from OFF to ON and will count down when CIO 000004 changes from OFF to
ON. If CIO 000005 turns ON, the PV will be reset to 0000 and counting will be
disabled until CIO 000005 turns OFF.
(012)
CNTR
0007
ON
OFF
ON
OFF
ON
OFF
SV
SV – 1
SV – 2
0000
PC
C0000 through C0511
C0000 through C1023
0001
SV: CIO 0001
0200
08
Section 5-13
SV
SV – 1
0001
SV – 2
0000
Counter numbers
Address Instruction
Operands
00000
LD
000003
00001
LD
000004
00002
LD
000005
00003
CNTR(012)
00004
LD NOT
C0007
00005
OUT
020008
0007
0001
157

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents