Counting Ranges Settings - Omron SYSMAC CP Series User Manual

Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

11 High-speed Counters
Additional Information
The count of a high-speed counter can be monitored to see if it is currently being incremented or
decremented. The count in the current cycle is compared with the count in the previous cycle to
determine if it is being incremented or decremented.
The results are reflected in the High-speed Counter Count Direction Flags.
High-speed counter
High-speed counter 0
High-speed counter 1
High-speed counter 2
High-speed counter 3
High-speed counter 4
High-speed counter 5

11-2-2 Counting Ranges Settings

The following counting modes can be selected for high-speed counters: Linear Mode that counts in a
fixed range and Circular (Ring) Mode that counts in a set range of any maximum value.
Linear Mode
Input pulses can be counted in the range between the lower limit and upper limit values. If the pulse
count goes beyond the lower/upper limit, an underflow/overflow will occur and counting will stop.
• Increment Mode
0
(000000 Hex)
• Up/Down Mode
-2147483648
(80000000 Hex)
PV underflow
11-10
Address of High-speed
Counter Count Direction Flag
A274.10
A275.10
A320.10
A321.10
A326.10
A327.10
4294967295
(FFFFFFFF Hex)
PV overflow
0
+2147483647
(00000000 Hex)
(7FFFFFFF Hex)
PV overflow
CP2E CPU Unit Software User's Manual(W614)

Advertisement

Table of Contents
loading

Table of Contents