
Modes, settings, parameters and commands
8.12 Initiating a process interrupt
Counter module FM 450-1
76
Manual, 02/2014, A5E03648739-02
8.8
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.
Enabling the outputs
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.
Output
...is enabled by
Q0
CTRL_DQ0
Q1
CTRL_DQ1
Status of the outputs
You can identify the state of the two outputs from the green status LEDs and the relevant
bits in the DB.
Output status
LED status
Bit status
1Q0 (2Q0) is set
CH 1 OUT 0 (CH2 OUT 0) is alight
STS_COMP1 is set
1Q0 (2Q0) is reset
CH 1 OUT 0 (CH2 OUT 0) is dark
STS_COMP1 is reset
1Q1 (2Q1) is set
CH 1 OUT 1 (CH2 OUT 1) is alight
STS_COMP2 is set
1Q1 (2Q1) is reset
CH 1 OUT 1 (CH2 OUT 1) is dark
STS_COMP2 is reset
Содержание simatic s7-400 FM 450-1
Страница 8: ...Table of contents Counter module FM 450 1 8 Manual 02 2014 A5E03648739 02 ...
Страница 18: ...Product Overview 1 5 The FM 450 1 software Counter module FM 450 1 18 Manual 02 2014 A5E03648739 02 ...
Страница 40: ...Wiring 4 4 Module status after power is switched on Counter module FM 450 1 40 Manual 02 2014 A5E03648739 02 ...
Страница 54: ...Program 6 5 Technical specifications of the blocks Counter module FM 450 1 54 Manual 02 2014 A5E03648739 02 ...
Страница 102: ...Encoder signals and their evaluation 9 5 Signal evaluation Counter module FM 450 1 102 Manual 02 2014 A5E03648739 02 ...
Страница 114: ...Errors and diagnostics 11 5 Operator error Counter module FM 450 1 114 Manual 02 2014 A5E03648739 02 ...
Страница 120: ...Spare parts Counter module FM 450 1 120 Manual 02 2014 A5E03648739 02 ...
Страница 122: ...References Counter module FM 450 1 122 Manual 02 2014 A5E03648739 02 ...
Страница 126: ...Glossary Counter module FM 450 1 126 Manual 02 2014 A5E03648739 02 ...
Страница 130: ...Index Counter module FM 450 1 130 Manual 02 2014 A5E03648739 02 ...