![background image](http://html.mh-extra.com/html/omron/sysmac-cp-series/sysmac-cp-series_user-manual_742262096.webp)
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
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......