Ring Mode; Ring Counter Maximum Value - Omron SYSMAC CJ Series User Manual

Sysmac cj series cpu unit pulse i/o module
Hide thumbs Also See for SYSMAC CJ Series:
Table of Contents

Advertisement

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

Ring Counter Maximum Value

The maximum value of the counting range for the input pulses can be set in the PLC Setup or by
executing the INI(880) instruction to change the maximum ring count.
The maximum ring count can be set to any value between 0000 0001 and FFFF FFFF hex (1 to
4,294,967,295 decimal).
The values that are set will be stored in the following words.
Pulse I/O Module No.
0 (on the right)
1 (on the left)
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, the counter will operate with a ring counter maximum
value of FFFF FFFF hex.
• The ring counter maximum value cannot be changed while the comparison operation is in
progress.
• If a value that exceeds the ring counter maximum value is registered in the comparison table,
the comparison operation will not started.
• When the ring counter maximum value is changed, the PV of the high-speed counter will be
cleared to 0.
Additional Information
If necessary, execute the INI(880) instruction to change the ring counter maximum value.
CJ2M CPU Unit Pulse I/O Module User's Manual
Set value
High-speed Counter 0 Ring Counter
Maximum Value
High-speed Counter 1 Ring Counter
Maximum Value
High-speed Counter 2 Ring Counter
Maximum Value
High-speed Counter 3 Ring Counter
Maximum Value
7 High-speed Counters
Auxiliary Area words
A10137 (upper digits) and A10136
(lower digits)
A10139 (upper digits) and A10138
(lower digits)
A10141 (upper digits) and A10140
(lower digits)
A10143 (upper digits) and A10142
(lower digits)
7
7-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cj2m-cpu seriesSysmac cj2m-md21 series

Table of Contents