Modes, settings, parameters and commands
8.12 Initiating a process interrupt
Counter module FM 450-1
76 Manual, 02/2014, A5E03648739-02
Setting: Behavior of the digital outputs
Introduction
You can store two comparison values (comparison value 1 and 2) for the counters on the
module; these are assigned to the respective digital outputs (comparison value°1: 1Q0 and
2Q0, comparison value 2: 1Q1 and 2Q1). The comparison values are compared to the
current counter status. When the counter status reaches a comparison value, the relevant
output can be set.
Comparison values 1 and 2
You enter the two comparison values in the DB of the FC CNT_CTRL (CMP_V1, CMP_V2)
and transfer them to the FM 450-1 by setting the bits T_CMP_V1 or T_CMP_V2 (see the
section "Assignment of the DB (Page 103)"). The count is not affected by this.
The comparison values must be within the limits of the respective count range. The
comparison value is interpreted according to the selected count range. If you give
FFFF FFFF H, for example, as the comparison value, the value is interpreted as
4 294 967 295 within the 0 to +32 bit count range, and as -1 within the -31 to +31 bit count
range.
Before you can activate the outputs, you must first enable them by setting the appropriate
bits in the DB (see the section Assignment of the DB (Page 103)). If you reset one of these
bits, the associated output is disabled immediately even if you have assigned a pulse
duration for them.
You can identify the state of the two outputs from the green status LEDs and the relevant
bits in the DB.
CH 1 OUT 0 (CH2 OUT 0) is alight
CH 1 OUT 0 (CH2 OUT 0) is dark
CH 1 OUT 1 (CH2 OUT 1) is alight
CH 1 OUT 1 (CH2 OUT 1) is dark