Omron CP1E CPU UNIT SOFTWARE User Manual page 84

Cp1e cpu unit software
Table of Contents

Advertisement

5 I/O Memory
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.
Counter Example: Counter Number 0 with a Counter Set Value of 10
· BCD mode
CNT
000
#10
· Binary mode
CNTX
000
&10
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.
PV and Counter Completion Flag when counter
is reset
When the operating mode is changed between
PROGRAM or MONITOR mode and RUN mode
When the PLC power is reset
Reset Input
CNR/CNRX instructions
Interlocks (IL-ILC) with OFF interlock conditions Retained
5-16
Counter Completion Flag
C000
Counter Completion Flag
C000
or #A
Instruction
CNT/CNTX
COUNTER
REVERSIBLE COUNTER
PV=0
Counter Completion Flag = OFF
Retained
Retained (Unstable when the battery is not mounted)
Reset
Reset
CP1E CPU Unit Software User's Manual(W480)
CNTR/CNTRX

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CP1E CPU UNIT SOFTWARE and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents

Save PDF