
Reference Data
A-11
SIMATIC 505 PROFIBUS-FMS CP User Manual
Figure
A-4
shows how an example structure of data types is mapped in
SIMA
TIC 505 memory
.
STRUCT
{
(A) Boolean
(B) Boolean
(C) Unsigned8
(D) Unsigned8
(E) Boolean
(F) Integer16
(G) Integer16
(H) Integer32
(I) Unsigned8
(J) Unsigned16
(K) Unsigned32
(L)
Floating Point
(M)
Octet String[6]
}
12345678910111213141516
******
A
F
H
I
*
G
K
MM
MM
MM
Note:
*
represents bits or bytes skipped for alignment purposes. When the structure is read,
this data is not transmitted; when the structure is written, this data is written to the value 0.
X represents data values.
Octet String[5] and Octet String[6] behave identically
. Both transfer 6 bytes on both read and
write.
BC
******
ED
*
J
L
Structure
Figur
e A-4
Mapping
of a Structur
e in 505 Memory
Structures
Komentarze do niniejszej Instrukcji