![TDK-Lambda GXE600 Series Communications Manual Download Page 14](http://html2.mh-extra.com/html/tdk-lambda/gxe600-series/gxe600-series_communications-manual_4197170014.webp)
COMMUNICATION MANUAL
GXE600 SERIES
TDKLambda
<Page>
14/79
・Message exchange example
The Write data 0x0001 to the Holding register at start address 5d (0x0005)
Query
Response
Field
Field
Function code
Function code
Start address Hi
Start address Hi
Start address Lo
Start address Lo
Register data Hi
Register data Hi
Register data Lo
Register data Lo
It means the following contents was updated from above response data
Remote On / Off (Non-Volatile) Register address : 0x0005
Remote On request : 0x0001
3.3.4 FC : 16 (0x10) Write multi Holding register
The Updates the contents of consecutive Holding registers.
If the specified register is supported non-volatile memory, it is updated as non-volatile data.
Broadcast is valid.
・Request PDU
Function code
0x10
Starting Address
Refer to 4.Register list
Quantity of Registers
1 ~ 16 (0x0010)
*
Number of data bytes
2 x N
Register data
Write data
N = Number of registers specified in Qty.
* It is necessary to specify according to the actual register arrangement
・Response PDU
Function code
0x10
Starting Address
Refer to 4.Register list
Registers value
1 ~ 16 (0x0010)
・Error PDU
Function code
0x90
Exception code
Refer to 3.2.2
It can be used to update data of multi-register block or consecutive register block.
If a reserved address is included in the specified register address section [start address ~ (start a
number of registers - 1)], an exception response [Exception code 0x02: ILLEGAL DATA ADDRESS] is returned.
Even if the start address or the number of registers is invalid, an exception response [Exception code
0x02: ILLEGAL DATA ADDRESS] is returned. Exception response [Exception code 0x03: ILLEGAL DATA VALUE]
is returned if the Request PDU size is not a valid size.
When an exception response occurs, non-volatile memory is not updated.
However, if an exception response cause occurs during data update, the value of the register whose write processing
was completed before the cause occurred will be updated. (The register value is not restored.)
[HEX]
[HEX]
0x05
0x05
0x00
0x00
0x06
0x06
0x00
0x00
0x01
0x01
Field
Number of bytes
Field value
Field
Number of bytes
Field value
1
2
2
1
2
2
1
N x 2
1
1
Field
Number of bytes
Field value