![TDK-Lambda GXE600 Series Скачать руководство пользователя страница 17](http://html2.mh-extra.com/html/tdk-lambda/gxe600-series/gxe600-series_communications-manual_4197170017.webp)
COMMUNICATION MANUAL
GXE600 SERIES
TDKLambda
<Page>
17/79
3.4 GXE support diagnosis function
GXE supports some of the diagnostic functions specified by the MODBUS protocol.
Diagnostic functions are Function code(FC) 0x08 query and actual functions are specified in sub code(SC).
The list of diagnostic functions supported is shown below.
Function name
0
Echo back
1
Communication reinitialization
4
Receive only mode
3.4.1 SC : 0 (0x0000) / Echo back
It is returned the response that echoed the query for the query whose data field is 1 word or more and 29 words
or
less.
・Request PDU
Value
0x08
0x0000
Data
Query data
N : Number of 16bit data
・Response PDU
Same to Request PDU
3.4.2 SC : 1 (0x0001) / Communication reinitialization
Initialize the GXE communication port according to the setting register value currently held.
The Response is done with existing communication settings before communication port initialization processing.
(In receive only mode, the response is not returned)
By sending this query, it is possible to change only the communication settings while maintaining the connection
status with GXE.
・Request PDU
Field
Value
FC
0x08
SC
0x0001
Data
0x0000 or 0xFF00
*A query other than the described data becomes an exception response.
・Response PDU
Same to Request PDU
0x08
(0x0000)
(0x0001)
(0x0004)
FC
SC
N x 2
Number of bytes
Field
Number of bytes
FC
1
1
2
2
SC
2
SFD
ADR
FC
D0
D1
…
Dn-1
Dn
EFD
T3.5>
08
MSB
LSB
…
LSB
MSB T3.5>
PDU : Protcol Data Unit
ADU : serial line Appication Data Unit
SC
CRC16