Lite-On Technology Corp.
Industrial Automation
197
Response command:
Initial data
location
(2 bytes)
02H (high bit set)
00H (low bit set)
12H (high bit set)
34H (low bit set)
Note: In the RTU mode, a standstill period for 10 ms is required before and after transmission.
Example 3, Function Code 10H, Multiple Word Writing:
For the example below, the master passes down the writing command to Slave No. 127 (7FH) for writing
two words EF01H and 2345H to the home address 0012H. In other words, Location 0012H is written to
EF01H and Location 0013H is written to 2345H. Up to 10 entries allowed to be read at once. The slave
replies the master after writing is complete.
Request command: Response command:
Request command:
Initial data
location
(2 bytes)
00H (high bit set)
12H (low bit set)
Number of data
entries
(Unit: word)
(2 bytes)
00H (high bit set)
02H (low bit set)
Number of data
entries
(Unit: byte)
(1 byte)
First data written
to Location 0012H
Second data
written to
Location 0013H