EasyManua.ls Logo

Siemens FM 450-1 - Page 42

Siemens FM 450-1
118 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Name Declaration type Data type Meaning The user... The block...
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 "com‐
parison value 1"
sets queries and resets
this
T_CMP_V2 IN-OUT BOOL Transfer trigger bit for "com‐
parison value 2"
sets queries and resets
this
RES_SYNC IN-OUT BOOL Delete "synchronization" sta‐
tus bit
sets queries and resets
this
RES_ZERO IN-OUT BOOL Reset status bits for zero
crossing, over󹪞ow, under‐
󹪞ow and comparator or
measurement end
sets queries and resets
this
Processing jobs
You initiate a job for the FM 450-1 by means of the L_DIRECT, L_PREPAR, T_CMP_V1, T_CMP_V2,
RES_SYNC, RES_ZERO, OT_ERR_A and GATE_STP FC parameters.
Depending on the job you must enter the load value or a comparison value into the instance DB
prior to the calling the FC.
A set in/out parameter (L_DIRECT, L_PREPAR, T_CMP_V1, T_CMP_V2, RES_SYNC and RES_ZERO)
is deleted again by the FC CNT_CTRL after the job has been completed. This enables you to
recognize that the job has been completely executed by the FM 450-1 and, if necessary, to
evaluate this information in the user program.
Startup characteristics
As soon as the FC CNT_CTRL identi󹪝es a startup (CPU or FM startup), a pending job is deferred
and the startup is acknowledged. Any job you have already initiated is carried out once the
startup is 󹪝nished and is therefore not lost.
Error Messages
If an operator error occurred when the FC is called, it is reported in the OT_ERR parameter. You
can read the error information in the DB 1 (variable OT_ERR_B). Thereafter you can acknowledge
the operator error with the OT_ERR_A parameter. No new operator error will be reported until
you have acknowledged the previous one.
Program
6.2 The FC CNT_CTRL function
Counter module FM 450-1
42 Equipment Manual, 03/2022, A5E03648739-AC

Table of Contents

Related product manuals