Structure Of Db For Messages - Siemens SIMATIC C7-613 Manual

Table of Contents

Advertisement

Table C-5
Structure of DB for Messages, continued
Address
Name
141
MESSAGE[0].MSG_VAR[1].
DECIMALS_LENGTH
142.0
MESSAGE[0].MSG_VAR[1].
Reserved
142.1
142.2
MESSAGE[0].MSG_VAR[1].
ATTRIBUTE
142.3
142.4
MESSAGE[0].MSG_VAR[1].
TARGETFORMAT
142.5
142.6
143
MESSAGE[0].MSG_VAR[1].
AREACODE
144
MESSAGE[0].MSG_VAR[1].
BLOCKNO
146
MESSAGE[0].MSG_VAR[1].
BYTENO
148
MESSAGE[0].MSG_VAR[1].
ACCESS
149
MESSAGE[0].MSG_VAR[1].BITNO
C7-613 Control System
A5E00138934-03
Type
Description
BYTE
Length of field and number of decimal
places. For numbers with decimal
places, the length of the field must be at
least two times greater than the number
of decimal places.
Bit 0 to 3 = Length of Field
1 to F (hex)
Bit 4 to 7 = Number of decimal places
0 to D (hex)
Example: 15 hex means:
Length of field = 5
number of decimal places = 1
BOOL
Reserved
BOOL
Type of display/mode of representation
(combination of Bit 2 and Bit 3)
(right bit=Bit 2)
00=Normal
01=Flashing
BOOL
Representational format, combination of
Bit 4, 5 and 6
(right bit=Bit 4)
000=Decimal
001=Hexadecimal
010=Binary
011=ASCII
100 = Unicode
BYTE
Memory area
"P"=I/O
"E"=Input
"A"=Output
"D"=Data block
"M"=Bit memory area
INT
Block number; relevant only if you set
the area ID to "D".
INT
Offset address
Password level 0 to 16383
CHAR
Data Type
"X"=BOOL
"C"=CHAR
"B"=BYTE
"I"=INT
"L"=DINT
"W"=WORD
"D"=DWORD
BYTE
Bit number
0 to 7; must be 0 for all data types
except "X".
Configuration DBs
C-11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents