Output Block Functions
Original instructions
Output Function Blocks
Every channel in the counting module has two programmable output blocks that operate with the comparison status register and affect the behavior of physical outputs Q0 and Q1.
There are two ways to control the output:
The following figure shows the output function block Q0:
Use of the Function Block
Every physical output is controlled by two bits:
The output_block_0(1)_enable bit enables the operation of the function block 0(1) to be authorized when it is set to 1. When the bit is set to 0, Bit output_block_0(1) is maintained at 0.
The output_0(1) bit is applied at the logic output Q0(1) and must be set to 0 when the function block is used. When the bit is set to 1, the output is forced to 1.
In the operational modes where the block generates a pulse, the pulse width can be configured thanks to the configuration screen.
Output Programming
The table below shows the configurable functions:
Function code
Programming
0
Disabled = no direct action (Default value)
1
Low counter.
The output is high if the counter value is less than the low threshold.
2
Counter in a window
The output is high if the counter value is between the upper and lower thresholds or equal to one of the two thresholds.
3
High counter.
The output is high if the counter value is greater than the upper threshold.
4
Pulse less than the lower threshold.
The output pulse starts when the counter value decreases and crosses the lower threshold value -1.
5
Pulse greater than the lower threshold.
The output pulse starts when the counter value increases and crosses the lower threshold value +1.
6
Pulse less than the upper threshold.
The output pulse starts when the counter value decreases and crosses the upper threshold value -1.
7
Pulse greater than the upper threshold.
The output pulse starts when the counter value increases and crosses the upper threshold value +1.
8
Counter stopped (only in one shot counter mode).
The output changes to high if the counter is stopped.
9
Counter running (only in one shot counter mode).
The output changes to high if the counter is running.
10
Capture 0 low value.
The output is high if the capture 0 value is less than the lower threshold.
11
Capture 0 value in a window.
The output is high if the capture 0 value is between the upper and lower thresholds or equal to one of the two thresholds.
12
Capture 0 high value.
The output is high if the capture 0 value is greater than the upper threshold.
13
Capture1 low value.
The output is high if the capture1 value is less than the lower threshold.
14
Capture1 value in a window.
The output is high if the capture1 value is between the upper and lower thresholds or equal to one of the two thresholds.
15
Capture1 high value.
The output is high if the capture1 value is greater than the upper threshold.
NOTE: The output 0 function block is inactive when using the counter in pulse width modulation mode.
Output Performances
In general, these reflex actions act with a delay less than 0.6 ms. The repeatability is about +/- 0.3 ms.
Special boost functions:
Delay is less than 0.2 ms. The repeatability is about +/- 1 s.
Output Properties
The counting module BMX EHC 0200 enables output signals to be exchanged with two 24VCC field actuators.
It is possible to configure the following parameters for each output:
These three parameters are described in the following pages.
Fault Recovery response
Outputs Q0 and Q1 are current limited (0.5 A maximum).
A thermal shutdown protects each output.
When a short-circuit is detected on one of the output channels, the counting module enables one of the two following actions according to the configuration:
In case of the fault recovery parameter is configured to latched off, if an output channel has been latched off because of short-circuit detection, the counting module recovers the fault upon the following sequence is processed:
In case of the fault recovery parameter is configured to auto recovery, an output channel that has been turned off because of error detection starts operating again as soon as the error is corrected. No user intervention is required to reset the channels.
NOTE: A minimum delay of 10 s occurs before the error is cleared in both latched off and auto recovery modes.
Output Polarity Programming
It is possible to configure the polarity parameter for each output during the channel configuration:
By default, the two output channels are in positive polarity.
Output Fallback Modes
The fallback modes are the predefined states to which the output channels revert when the channel is not controlled by the processor (when communications are lost or when the processor is stopped for example).
The fallback mode of each output channel can be configured as one of the following modes:
NOTE: By default, the fallback mode of the 2 output channels is with and the fallback value parameter is 0.