
Reference Data
A-10
SIMATIC 505 PROFIBUS-FMS CP User Manual
Mapping of FMS Variables onto 505 Memory (continued)
Figure
A-3
shows how variable arrays are mapped in SIMA
TIC 505 memory
.
12345678910111213141516
******
X1
Array[10]
of Boolean
An
array of Boolean is rounded up to an even byte length, but the extra bits are not transferred.
12345678910111213141516
X1
Array[2]
of Integer16
12345678910111213141516
X1
Array[3] of Unsigned8
An
odd-length array of Unsigned8 is rounded up to an even length, but the extra byte is not
transferred.
12345678910111213141516
X1
Array[2] of Octet String5
An
odd-length Octet String is treated as the next larger even-length Octet String.
X1
X1 X1
X1 X1
Note:
*
represents bits or bytes skipped for alignment purposes. When the variable array is
read, this data is not transmitted; when the array is written, this data is written to the value 0.
X represents data values.
X2X3X4X5X6X7X8 X9X10
X2
X3
*
X2
X2 X2
X2 X2
X2 X2
12345678910111213141516
05 05
X1 X1
X1 X1
X1
*
Array[2] of V
isible String5
1
1
The
FMS CP does not allow the use of this data type in the definition of a local variable; however
,
data
of this type can be transferred to and from a
remote station if that station uses this data type.
05 05
X2 X2
X2 X2
X2
*
12345678910111213141516
******
X1
Array[4]
of Boolean
A
Boolean array of 4 requires two bytes (one word), but the extra bits are not transferred.
X2X3X4
**** **
Figur
e A-3
Mapping
of V
ariable Arrays in 505 Memory
V
ariable Arrays
Comentarios a estos manuales