Murata Electronics North America XDM2140 사용자 설명서

다운로드
페이지 37
 
9.2.5  Commands 0x87 and 0x88 - Set Parameter Request/Response 
 
The Set Parameter command allows the setting of a number of configuration parameters in the 
XDM2140. When the Set Parameter Request command is sent, the response to the request is sent 
within the diag_ack_timeout . The command structure for individual Parameter Types and can be found 
in Section 9.3. The length of payload (n) is dependant on the Parameter type. 
 
Command 0x87 Format Details 
 
Message Byte 
Description 
Data Type 
Value 
Command type 
unsigned char 
0x87 
Parameter type 
unsigned char 
Parameter type (see Section 9.3) 
Data 
 
First byte of data  
...3+n 
Data 
 
Up to n-1 additional bytes of data 
 
Table 22 
 
Response 0x88 Format Details 
 
Message Byte 
Description 
Data Type 
Value 
Command type 
unsigned char 
0x88 
Parameter type 
unsigned char 
Parameter type (see Section 9.3) 
Error code 
unsigned char 
Error code 
Data length 
unsigned char 
0x00 
 
Table 23 
 
9.2.6  Commands 0x89 and 0x8A - Get Parameter Request/Response 
 
The Get Parameter command allows a number of configuration parameters in the XDM2140 to be read 
by the serial port. When a Get Parameter Request command is sent, the response to the request is sent 
within the diag_ack_timeout. The command structure for individual parameter types can be found in 
Section 9.3. The length of payload (n) depends on the parameter type. If the error code is not equal to 
zero, no data is returned in the response. Error codes are described in Table 38. 
 
Command 0x89 Format Details 
 
Message Byte 
Description 
Data Type 
Value 
Command type 
unsigned char 
0x89 
Parameter type 
unsigned char 
Parameter type (see Section 9.3) 
Data 
 
First byte of data  
...3+n 
Data 
 
Up to n-1 additional bytes of data 
 
Table 24 
 
Response 0x8A Format Details 
 
Message Byte 
Description 
Data Type 
Value 
Command type 
unsigned char 
0x8A 
Parameter type 
unsigned char 
Parameter type (see Section 9.3) 
Error code 
unsigned char 
Error code (see Table 38) 
Data length 
unsigned char 
Data 
 
First byte of data 
...5+n 
Data 
 
Up to n-1 additional bytes of data 
 
Table 25