
Program
6.5 Technical specifications of the blocks
Counter module FM 450-1
52
Manual, 02/2014, A5E03648739-02
Description of the symbols
The tables lists the symbols used in the example. You specify your own symbol assignments
in the S7 symbol table.
Table 6- 1
Symbols in the user program
Symbols used
Absolute (example)
Comment
CHANNEL1
DB 1
Data block for FC°CNT_CTRL
CHANNEL1.LOAD_VAL
DB1.DBB14
Counter value specified in DB 1
INITIATE
M 10.0
Initiation bit generated to meet technological requirements
LOAD_DIRECT
M 20.0
Accept counter value directly
START
M 20.1
Start counter
GATE_STOP
M 20.2
Close counter gate
ERR_ACKN
M 20.3
Acknowledge operator error
LOAD_INDIRECT
M 20.4
Load counter value in preparation
COMP1_LOAD
M 20.5
Load comparison value 1
COMP2_LOAD
M 20.6
Load comparison value 2
RES_SYNCHRON
M 20.7
Reset synchronization status bit
RES_ZERO
M 21.0
Reset zero crossing, overflow and underflow status bit
OPERATOR_ERROR
M 21.1
Operator error occurred
CHANNEL 1.OT_ERR_B
DB1.DBX40.0
Operator error information in DB 1
Description of the sequence
Prerequisite:
The value to be transferred must have been entered in the DB°1.
The load value is transferred and started:
When the FC is called, the load value of a channel is transferred to the FM 450-1. Calling the
FC°CNT_CTRL selects either the L_DIRECT parameter or the L_PREPAR parameter. The
L_DIRECT selection bit specifies that the load value will be loaded directly onto the counter
(L_DIRECT=1). The L_PREPAR selection bit specifies that the load value is to be stored in
the load register (L_PREPAR=1). The load value in the load register is then loaded onto the
counter when the counter is next set. L_PREPAR=1 prepares a new counter value. Load
value transfer lasts a minimum of 3 FC calls.
The FC must be called until it has reset the selected initiation bit (L_DIRECT or L_PREPAR).
While the job is in progress the I/O parameter remains set. The FC°CNT_CTRL does not
output an error message regarding data exchange with the FM.
If the FC CNT_CTRL resets the parameter you had set, the FM 450-1 has accepted the load
value. The read-back load value stored in the DB°1 is updated by the FC°CNT_CTRL.
You must generate the "initiation" bit to comply with your technological requirement. This bit
may be set at "1" for one cycle only. Please note, that the FC must be called until the I/O
parameter of the FC CNT_CTRL 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 ...