
Modes, settings, parameters and commands
8.12 Initiating a process interrupt
Counter module FM 450-1
Manual, 02/2014, A5E03648739-02
83
8.11
Command: Set counter
Overview
If you want to start or continue the counting process of a counter from a specific value (the
load value), you must assign parameters for the signal with which the counter is to be set to
the load value. You can set the counter as follows:
●
With the L_DIRECT input parameter of the FC_CNT_CTRL
●
With an external signal either via input 1I2 (2I2) or via the input in conjunction with the
zero mark of the encoder.
This section describes the different methods and the time sequence for setting a counter.
Load value
Any number within the count range can be set for the load value.
The load value is interpreted according to the selected count range. If, for example, you
specify FFFF FFFF H as the load value, this is interpreted as 4 294 967 295 within the count
range 0 to +32 bit and as -1 within the count range -31 to +31 bit.
The load value is entered in the DB of the FC°CNT_CTRL.
Setting the counter via the user program
Regardless of the external events, you can set a counter with the FC°CNT_CTRL by means
of the L_DIRECT input parameter. This is also possible while a count is in progress.
The input parameter L_DIRECT is reset by FC CNT_CTRL once the job is successful
completed.
If you set the counter via the FC_CNT_CTRL call, setting cannot trigger a hardware interrupt.
Содержание 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 ...