Murata Electronics North America XDM2140 Benutzerhandbuch
Command 0x81 Format Details
Message Byte
Description
Data Type
Value
1
Command type
unsigned char
0x81
2
(Transparent to XDM2140)
First byte of data
...2+n
(Transparent to XDM2140)
Up to n–1 additional bytes of data
Table 19
9.2.3 Command 0x82 - Acknowledged Serial Payload Received from Serial Port
Acknowledged serial data packets going out of the XDM2140 use command type 0x82. The network
uses this command to send data out through the XDM2140 serial interface. Upon receiving this packet
from the network, the XDM2140 forwards it to the microcontroller and sends an acknowledgement back
to the Gateway. The format of the serial packet payload is transparent to the XDM2140. The maximum
length of the message payload is defined in Section 9.2. The microcontroller receives exactly one copy
of the message that was sent through the network.
uses this command to send data out through the XDM2140 serial interface. Upon receiving this packet
from the network, the XDM2140 forwards it to the microcontroller and sends an acknowledgement back
to the Gateway. The format of the serial packet payload is transparent to the XDM2140. The maximum
length of the message payload is defined in Section 9.2. The microcontroller receives exactly one copy
of the message that was sent through the network.
Command 0x82 Format Details
Message Byte
Description
Data Type
Value
1
Command type
unsigned char
0x82
2
(Transparent to XDM2140)
First byte of data
...2+n
(Transparent to XDM2140)
Up to n–1 additional bytes of data
Table 20
9.2.4 Command 0x84 - Time/State Packet
Time data packets use the command type 0x84. The time packet includes the network time and the
current real time relative to the Gateway. The XDM2140 sends this response when the /TIME pin is
strobed high to low for minimum of t
current real time relative to the Gateway. The XDM2140 sends this response when the /TIME pin is
strobed high to low for minimum of t
min_strobe_length
, as defined in Section 8.4.3. The data returned is
identical to that returned in response to the Get parameter request with time as the parameter.
Command 0x84 Format Details
Message Byte
Description
Data Type
Value
1
Command type
unsigned char
0x84
2-5
The sequential number of the
frame
frame
unsigned long
Cycle
6-9
The offset from start of frame
unsigned long
Offset (µs)
10-11
Frame length
unsigned short
Frame length (slots)
12-15
UTC time
unsigned long
Real time part 1 (s)
16-19
UTC time
unsigned long
Real time part 2 (µs)
20-23
Time from the last XDM2140 reset unsigned long
XDM2140 uptime (s)
24
XDM2140 state
unsigned char
XDM2140 state
25
XDM2140 diagnostics status
unsigned char
XDM2140 diagnostics status
Table 21