5 I/O Memory
5-16
CP2E CPU Unit Software User’s Manual(W614)
Precautions for Correct Use
Precautions for Correct Use
It is not recommended to use the same counter number in two counter instructions because the
counters will not operate correctly if they are counting simultaneously.
If two or more counter instructions use the same counter number, an error will be generated dur-
ing the program check.
z
Counter Example: Counter Number 0 with a Counter Set Value of 10
z
Resetting or Maintaining Counter PVs
•
Counter Completion Flags can be force-set and force-reset.
•
Counter PVs cannot be force-set or force-reset, although the PVs can be refreshed indirectly by
force-setting/resetting the Counter Completion Flag.
•
There are no restrictions in the order of using counter numbers or in the number of N.C. or N.O.
conditions that can be programmed.
•
Counter PVs can be read as word data and used in programming.
•
The following table shows when counters PVs are reset or maintained.
Instruction
CNT/CNTX
CNTR/CNTRX
COUNTER
REVERSIBLE COUNTER
PV and Counter Completion Flag when counter
is reset
PV=0
Counter Completion Flag = OFF
When the operating mode is changed between
PROGRAM or MONITOR mode and RUN mode
Retained
When the PLC power is reset
Retained
Reset Input
Reset
CNR/CNRX instructions
Reset
Interlocks (IL-ILC) with OFF interlock conditions Retained
C
N
T
000
#10
or #A
Co
u
nter Completion Flag
Co
u
nter Completion Flag
· BCD mode
· Binary mode
C000
C000
C
N
TX
000
&10
Summary of Contents for SYSMAC CP Series
Page 3: ......
Page 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Page 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Page 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Page 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Page 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Page 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Page 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Page 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Page 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Page 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Page 577: ......