
Reference Data
A-9
SIMATIC 505 PROFIBUS-FMS CP User Manual
12345678910111213141516
X
T
ime Difference
1
12345678910111213141516
05
V
isible String5
1
A
V
isible String is preceded by two bytes which record the length of the string. The first byte is
the maximum length of the string, and the second is the actual length. When read from the 505,
the string transmitted is always of the maximum length with any unused characters sent as
spaces. All characters of the string must be printable ASCII characters. An odd-length V
isible
String is rounded up to an even length, but the extra byte is not transferred.
05
XX
XX
12345678910111213141516
Year
Date
1
Date values are stored as BCD numbers. The ranges are as follows:
Year
00 – 99
Month
01 – 12
Day
01 – 31
Hour
00 – 23
Minute
00 – 59
Second
00 – 59
Millisecond
000 – 999
Weekday
1 – 7
Month
Day Hour
Note:
*
represents bits or bytes skipped for alignment purposes. When the variable is read,
this data is not transmitted; when the variable is written, this data is written to the value 0.
X represents data values.
X
*
T
ime Dif
ference is stored as a 32-bit number
.
Minimum:
–24 Days
20 Hours
31 Minutes
23 Seconds
648 Milliseconds
8000 0000
Maximum:
24 Days
20 Hours
31 Minutes
23 Seconds
647 Milliseconds
7FFF FFFF
12345678910111213141516
X
Time-of-day
1
T
ime-of-day is stored as a 32-bit number
.
Minimum: 00:00:00.000
0000 0000
Maximum: 23:59:59.999
0526 5BFF
Minute Second
Millisecond Weekday
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.
Figur
e A-2
Mapping
of Simple V
ariables in 505 Memory (continued)
Kommentare zu diesen Handbüchern