Assignment Of The Db - Siemens FM 450-1 Equipment Manual

Table of Contents

Advertisement

Assignment of the DB

10.1
Assignment of the DB
DB for the FC°CNT_CTRL
All data associated with a channel of the module are located in the DB of FC CNT_CTRL. The data
structure and the length of the DB is determined by the variable declaration in FC CNT_CTRL.
Prior to configuring the module, the DB must have the following valid data assigned to it (see
section "Program (Page 39)"):
• Module address (address 6.0)
• Channel starting address (address 8.0)
• User data length (address 12.0)
The DB was generated from the UDT 1 as a data block with associated, user-specific data type
(see section "Program (Page 39)"). The DB assignments resulting from this are shown below.
Table 10-1
Assignment of the DB
Address
Variable
0.0
AR1_BUFFER
4.0
FP
5.0
RESERVED
6.0
MOD_ADR
8.0
CH_ADR
12.0
U_D_LGTH
13.0
A_BYTE_0
14.0
LOAD_VAL
1
18.0
CMP_V1
1
22.0
CMP_V2
1
26.0
A_BIT0_0
26.1
TFB
26.2
A_BIT0_2
26.3
A_BIT0_3
26.4
A_BIT0_4
26.5
A_BIT0_5
26.6
A_BIT0_6
26.7
A_BIT0_7
27.0
ENSET_UP
1
27.1
ENSET_DN
27.2
A_BIT1_2
27.3
A_BIT1_3
Counter module FM 450-1
Equipment Manual, 03/2022, A5E03648739-AC
Data type
Initial value
DWORD
DW#16#0
BYTE
B#16#0
BYTE
B#16#0
WORD
W#16#0
DWORD
DW#16#0
BYTE
B#16#0
BYTE
B#16#0
DINT
L#0
DINT
L#0
DINT
L#0
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
BOOL
FALSE
1
BOOL
FALSE
BOOL
FALSE
Comment
AR1 buffer
Flag byte
Reserved
Module address
Channel address
User data length
Reserved
New load value (write user)
New comparison value 1 (write user)
New comparison value 2 (write user)
Reserved
Test enabled
Reserved
Reserved
Reserved
Reserved
Reserved
Reserved
Enable setting in up direction (write user)
Enable setting in down direction (write user)
Reserved
Reserved
10
87

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-400

Table of Contents