Omron SYSMAC CP Series Instruction & Reference Manual page 121

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

0.00
Increment input
Decrement
0.01
input
0.02
Reset input
or
0.00
Increment input
Decrement
0.01
input
0.02
Reset input
The add and subtract count inputs increase/decrease the count once when the signal rises (OFF to
ON). When both inputs turn ON at the same time, neither increases/decreases the count. When the
reset input turns ON, the PV changes to 0 and count input is not accepted.
In the following example, the SV for CNTR(012) 0007 is determined by the content of CIO 0001. When
the content of CIO 0001 is controlled by an external switch, the set value can be changed manually
from the switch.
0.00
0.01
0.02
C0006
0.03
0.04
0.05
C0007
4999 5000 0
Increment input
Decrement input
Completion Flag
Roll-over
CP1E CPU Unit Instructions Reference Manual(W483)
CNTR
0001
#0003
Increment input
0.00
Decrement input
0.01
Reset input
0.02
CNTRX
0001
&3
Counter PV
C0001
Completion Flag
C0001
CNTR
Fixed SV:
0006
5000
#5000
200.07
CNTR
SV:
0007
CIO 0001
1
200.08
1
2
1
0
5000
4999
Roll-over
ON
OFF
ON
OFF
ON
OFF
SV
3
0
ON
OFF
Instruction
Operands
LD
0.00
LD
0.01
LD
0.02
CNTR (012)
0006
#5000
LD
200.07
OUT
0.03
LD
0.04
LD
0.05
LD
0007
CNTR (012)
1
LD NOT
C0007
OUT
200.08
2 Instructions
2
2-85

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents