EasyManua.ls Logo

Siemens FM 450-1 - Page 41

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...
STL
T FM450_DB_K1.CH_ADR // Transfer of the channel address for channel 1
L 32 // User data interface length = 32
T FM450_DB_K1.U_D_LGTH // Transfer of the user data interface length
Channel 2
L 512 // Module address = 512
T FM450_DB_K2.MOD_ADR // Transfer of module address
L P# 544.0 // Module address + 32 in pointer format
T FM450_DB_K2.CH_ADR // Transfer of the channel address for channel 2
L 32 // User data interface length = 32
T FM450_DB_K2.U_D_LGTH // Transfer of the user data interface length
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.
&17B&75/
'%B12
 
6:B*$7(
 
*$7(B673
 
 
27B(55B$
 
 
 
 
27B(55
/B',5(&7
/B35(3$5
7B&03B9
7B&03B9
 
 
&$//
&17B&75/
(1
(12
'%B12
27B(55
6:B*$7(
*$7(B673
27B(55B$
/B',5(&7
/B35(3$5
7B&03B9
7B&03B9
5(6B6<1&
5(6B=(52
5(6B6<1&
5(6B=(52
 
67/UHSUHVHQWDWLRQ
/$'UHSUHVHQWDWLRQ
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)" coun‐
ter 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
Program
6.2 The FC CNT_CTRL function
Counter module FM 450-1
Equipment Manual, 03/2022, A5E03648739-AC 41

Table of Contents

Related product manuals