EasyManua.ls Logo

Siemens simatic s7-400 FM 450-1 - Assignment of the DB; DB for the FC_CNT_CTRL

Siemens simatic s7-400 FM 450-1
130 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...
Counter module FM 450-1
Manual, 02/2014, A5E03648739-02
103
Assignment of the DB
10
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 45)"):
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 45)"). The DB assignments resulting from this are shown
below.
Table 10- 1 Assignment of the DB
Address
Variable
Data type
Initial value
Comment
0.0
AR1_BUFFER
DWORD
DW#16#0
AR1 buffer
4.0
FP
BYTE
B#16#0
Flag byte
5.0
RESERVED
BYTE
B#16#0
Reserved
6.0
MOD_ADR
WORD
W#16#0
Module address
8.0
CH_ADR
DWORD
DW#16#0
Channel address
12.0
U_D_LGTH
BYTE
B#16#0
User data length
13.0
A_BYTE_0
BYTE
B#16#0
Reserved
14.0
LOAD_VAL
1
DINT
L#0
New load value (write user)
18.0
CMP_V1
1
DINT
L#0
New comparison value 1 (write user)
22.0
CMP_V2
1
DINT
L#0
New comparison value 2 (write user)
26.0
A_BIT0_0
BOOL
FALSE
Reserved
26.1
TFB
BOOL
FALSE
Test enabled
26.2
A_BIT0_2
BOOL
FALSE
Reserved
26.3
A_BIT0_3
BOOL
FALSE
Reserved
26.4
A_BIT0_4
BOOL
FALSE
Reserved
26.5
A_BIT0_5
BOOL
FALSE
Reserved
26.6
A_BIT0_6
BOOL
FALSE
Reserved
26.7 A_BIT0_7 BOOL FALSE Reserved
27.0
ENSET_UP
1
BOOL
FALSE
Enable setting in up direction (write user)
27.1
ENSET_DN
1
BOOL
FALSE
Enable setting in down direction (write user)

Table of Contents

Related product manuals