Reset Methods; Phase-Z Signal + Software Reset - Omron CP1E CPU UNIT SOFTWARE User Manual

Cp1e cpu unit software
Table of Contents

Advertisement

Circular (Ring) Mode
Input pulses are counted in a loop within the set range.
• If the count is incremented from the maximum ring count, the count will be reset to 0 automatically
and incrementing will continue.
• If the count is decremented from 0, the count will be set to the maximum ring count automatically and
decrementing will continue.
Consequently, underflows and overflows cannot occur when Ring Mode is used.
Count value
32
2
-1
Maximum ring
count
0
Maximum Ring Count
Use the PLC Setup to set the maximum ring count (Circular Max. Count), which is the maximum
value of the input pulse counting range. The maximum ring count can be set to any value between
0000 0001 and FFFF FFFF hex (1 to 4,294,967,295 decimal).
Precautions for Correct Use
Precautions for Correct Use
• There are no negative values in Ring Mode.
• If the maximum ring count is set to 0 in the PLC Setup, the counter will operate with a maxi-
mum ring count of FFFF FFFF hex.

11-2-3 Reset Methods

It is called reset that a high-speed counter's PV is set to 0.
There are two reset methods

• Phase-Z signal + software reset

• software reset
Phase-Z Signal + Software Reset
The high-speed counter's PV is reset when the phase-Z signal (reset input) goes from OFF to ON while
the corresponding High-speed Counter Reset Bit (A531.00 to A531.05) is ON.
The CPU Unit recognizes the ON status of the High-speed Counter Reset Bit only at the beginning of
the PLC cycle during the overseeing processes. Consequently, when the Reset Bit is turned ON in the
ladder program, the phase-Z signal does not become effective until the next PLC cycle.
Phase Z
Reset bit
PV not
reset
Note The phase-Z signal cannot be used if an incremental counter is specified. Only a software reset can be used.
CP1E CPU Unit Software User's Manual(W480)
One cycle
PV reset
PV reset
PV reset
11 High-speed Counters
PV not reset
PV reset
11
11-11

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?

Questions and answers

Table of Contents

Save PDF