
Program
6.5 Technical specifications of the blocks
Counter module FM 450-1
48
Manual, 02/2014, A5E03648739-02
Call
The FC CNT_CTRL can be called once per counter either cyclically or in a time-controlled
program. Calling in the interrupt program is not permissible.
Calling the FC CNT_CTRL in the STL and LAD representations is rendered below.
Figure 6-1
Calling the FC CNt_CTRL
Parameters of the FC CNT_CTRL
Name
Declaration type
Data type
Meaning
The user...
The block...
DB_NO
INPUT
BLOCK_DB
Number of the data block
with the counter data
enters this
queries this
SW_GATE
INPUT
BOOL
"SW gate (start/stop)"
counter control bit
sets and resets
this
queries this
GATE_STP
INPUT
BOOL
"Stop gate" counter control
bit
sets and resets
this
queries this
OT_ERR_A
INPUT
BOOL
Acknowledge operator error sets and resets
this
queries this
OT_ERR
OUTPUT
BOOL
Operator error occurred
queries this
sets and resets
this
L_DIRECT
IN-OUT
BOOL
Trigger bit for "direct
loading" of a counter
sets
queries and
resets this
L_PREPAR
IN-OUT
BOOL
Trigger bit for "preparatory
loading" of a counter
sets
queries and
resets this
T_CMP_V1
IN-OUT
BOOL
Transfer trigger bit for
"comparison value 1"
sets
queries and
resets this
T_CMP_V2
IN-OUT
BOOL
Transfer trigger bit for
"comparison value 2"
sets
queries and
resets this
Summary of Contents for simatic s7-400 FM 450-1
Page 8: ...Table of contents Counter module FM 450 1 8 Manual 02 2014 A5E03648739 02 ...
Page 120: ...Spare parts Counter module FM 450 1 120 Manual 02 2014 A5E03648739 02 ...
Page 122: ...References Counter module FM 450 1 122 Manual 02 2014 A5E03648739 02 ...
Page 126: ...Glossary Counter module FM 450 1 126 Manual 02 2014 A5E03648739 02 ...
Page 130: ...Index Counter module FM 450 1 130 Manual 02 2014 A5E03648739 02 ...