MULTIGATE-Profibus / multisys 1D3-ESDP
Example 3: 45.354 decimal = 0x42356A7F hex
Address
+0
Format
SEEEEEEE
Binary
0 1 0 0 0 0 1 0
Hex
42
Exponent: 10000100 bin = 132 dec.
Exp.= 132-127=5
Mantissa: S=0
VZ=positive
01101010110101001111111 bin
Decimal point added to the first position of the mantissa
. 01101010110101001111111
Leading 1 before of decimal point
1. 01101010110101001111111
Taking exponent into account (=5)
101101. 010110101001111111
to the left of the decimal point: 101101 bin = 2
to the right of the decimal point: 010110101001111111 bin =
-2
-4
-5
2
+ 2
+ 2
+ 2
Final result: +45.3540001 dec
Time stamp time_t (is transmitted as unsigned long)
The time stamp describes a point in time. The value here is defined as follows:
Seconds since 1.1.1970 0°° hours (with respect to the appropriate time zone)
The values are transmitted via the bus as unsigned long (for byte sequence, see above). All values here are to
be interpreted as standard time (winter time), ie. if you want to set the device clock in Germany to 11 o'clock in
May, then the setting command via the bus must be given, by definition, with winter time 10 o'clock.
The following applies:
All time stamps which are transmitted via the bus are to be interpreted as standard (winter) time.
The device itself must be parametrized here in accordance with country-specific practices.
Possible settings here:
e.g.: Germany -> daylight saving time from end of March to end of October
e.g. China -> daylight saving time not activated
Page - 8 -
+1
EMMMMMMM
0 0 1 1 0 1 0 1
35
Table 7: Example float 45.354
-7
-9
-12
-13
-14
+ 2
+ 2
+ 2
+ 2
+2
MMMMMMMM
0 1 1 0 1 0 1 0
6A
5
3
2
0
+ 2
+ 2
+2
= 45 dez.
-15
-16
-17
-18
+ 2
+ 2
+ 2
+ 2
+3
MMMMMMMM
0 1 1 1 1 1 1 1
7F
= 0.3540001 dec.
Version 1.0
Need help?
Do you have a question about the multisys 1D3-ESDP and is the answer not in the manual?