rate sample, the module must be:
-
Configured for pulse or quadrature mode.
-
Configured for Rate Sample mode.
-
Loaded with the Rate Sample time value.
-
Enabled to count, using hardwired input and software control bits.
Count pulses, the module must be:
-
Configured for pulse or quadrature mode.
-
Configured for counter display: two, 16 bit, one, 32 bit, or two, 32 bit counters.
-
Loaded with the maximum count.
-
Enabled to count, using hardwired input and software control bits.
Pulse Count and Turning Outputs On/Off
To count pulses and turn outputs on and off, the module must be:
-
Configured for pulse or quadrature mode.
-
Configured for two, 16 bit or one, 32 bit counter.
-
Configured to assert or not assert outputs at the programmed count values when the module loses communication with the bus (fault condition).
-
Configured to specify if outputs turn on at a set point or maximum count, turn on at those points for a specific amount of time, or remain latched. If latched, outputs can only be reset by a hard wired input.
-
Loaded with set point values, maximum count values, and output assert time.
-
Enabled to count using hardwired input and software control bits.
OUTPUT COIL MODE available values
SETPOINT: ON when set point is reached, back to 0 automatically when the reference is exceeded.
LATCHED SETPOINT: ON when you reach the set point, it remains ON until no hardware reset applied (input).
TERMINAL COUNT: ON when it exceeds the max.
LATCHED TERMINAL: ON when it exceeds the max and will be maintained as long as no hardware reset (input).
TIMED SETPOINT: ON from a set point and held ON during a defined time.
TIMED TERMINAL: ON when it exceeds the max and held ON for a defined time.
Counter Rollover Examples for Pulse Input
The following figure is an example of a counter rollover with pulse input, counting up.
Count is from 0 -> 10 (Maximum Count)
Output A turns on at Setpoint = 5
Output B turns on after Input Count = Maximum (Terminal) Count = 10
The following figure is an example of a counter rollover with pulse input, counting down.
Count is from 10 (Maximum Count) -> 0
Output A turns on at Setpoint = 5
Output B turns on after Input Count = 0
NOTE: Outputs are not latched.
Counter Rollover Examples for Quadrature Input
The following figure is an example of a counter rollover with quadrature input, counting up.
Count is from 0 -> 10 (Maximum Count)
Output A turns on at Setpoint = 5
Output B turns on after Input Count = Maximum (Terminal) Count = 10
The following figure is an example of a counter rollover with quadrature input, counting down.
Count is from 10 (Maximum Count) -> 0
Output A turns on at Setpoint = 5
Output B turns on after Input Count = 0
NOTE: Outputs are not latched.