![Siemens SIMATIC S7-300 FM 350-1 Скачать руководство пользователя страница 169](http://html.mh-extra.com/html/siemens/simatic-s7-300-fm-350-1/simatic-s7-300-fm-350-1_manual_1265384169.webp)
FM 350-1 Counter module
Manual, 05/2011, A5E03648639-01
169
DB assignments
9
DB for FC CNT_CTL1
All data belonging to a module channel are stored in the DB of FC CNT_CTL1. The data
structure and length of the DB are defined by UDT2. You must assign the valid data listed
below to the DB before assigning module parameters.
●
Module address (address 6.0)
●
Channel start address (address 8.0)
●
User data length (address 12.0)
The DB was generated based on UDT2 as DB of a corresponding user-specific data type.
The resultant DB assignments are shown below.
Table 9- 1
DB assignments
Address
Variable
Data type
Start value
Comment
Count
Measuring
FC parameters, addresses
0.0
AR1_BUFFER
DWORD
DW#16#0
AR1 buffer
AR1 buffer
4.0
FP
BYTE
B#16#0
Flag byte
Flag byte
5.0
RESERVED
BYTE
B#16#0
Reserved
Reserved
6.0
MOD_ADR
WORD
W#16#0
Module address
Module address
8.0
CH_ADR
DWORD
DW#16#0
Channel address
Channel address
12.0
U_D_LGTH
BYTE
B#16#0
User data length
User data length
13.0
A_BYTE_0
BYTE
B#16#0
Reserved
Reserved
Transfer area for write values
14.0
LOAD_VAL
1
DINT
L#0
New load value
(write user)
Low limit
(write user)
18.0
CMP_V1
1
DINT
L#0
New comparison value 1
(write user)
High limit
(write user)
22.0
CMP_V2
1
DINT
L#0
New comparison value 2
(write user)
Update time
(write user)
Содержание SIMATIC S7-300 FM 350-1
Страница 8: ...Table of contents FM 350 1 Counter module 8 Manual 05 2011 A5E03648639 01 ...
Страница 168: ...Encoder signals and their evaluation 8 4 Signal evaluation FM 350 1 Counter module 168 Manual 05 2011 A5E03648639 01 ...
Страница 186: ...Technical data 11 2 Technical data FM 350 1 Counter module 186 Manual 05 2011 A5E03648639 01 ...
Страница 188: ...Replacement parts FM 350 1 Counter module 188 Manual 05 2011 A5E03648639 01 ...
Страница 190: ...References FM 350 1 Counter module 190 Manual 05 2011 A5E03648639 01 ...
Страница 194: ...Glossary FM 350 1 Counter module 194 Manual 05 2011 A5E03648639 01 ...