Chapter 6 Communication Mode
6 - 71
Mod
b
u
s S
lav
e
Function code 0x10 (Force Multiple Registers)
For EH-SIO, this function code means “Write multiple internal outputs (WR)”. In case of broadcasting, the same
internal output in each slave will be written.
(1) Query
Please make the data field for the status of I/O number. At this time, please make data into the order of a high byte
and a low byte. For example, when setting H1234 to an internal output, the row of data becomes the order of H12
and H13. In case of broadcasting, please set the slave address as 00.
« Note »
A start address should specify I/O number of WR. (For WR3094, the address is specified as H3094.)
(2) Response
When the query is processed normally, the response data will be the same as the query. In broadcasting, no response
will be returned.
« Note »
If requested address is not assigned as internal output (WR), exception response will be returned.
(3) Example
Write following data to WR100 – WR101 (2 words) in the slave 51.
Query
Response
Field name
Example
(HEX)
Field name
Example
(HEX)
Slave address
3 3
Slave address
3 3
Function code
1 0
Function code
1 0
Register head address (upper)
0 1
Register head address (upper)
0 1
Register head address (lower)
0 0
Register head address (lower)
0 0
Number of registers (upper)
0 0
Number of registers (upper)
0 0
Number of registers (lower)
0 2
Number of registers (lower)
0 2
Number of bytes
0 4
Error check
[CRC]
Change data 1 (upper)
F D
Change data 1 (lower)
B 9
Change data 2 (upper)
E C
Change data 2 (lower)
A 8
Error check
[CRC]
When the query is executed properly, data that excludes the number of bytes and data area from the query are
returned.
H F D B 9
WR100
WR101
H E C A 8
Summary of Contents for EH-150 Series
Page 2: ......
Page 10: ...M E M O ...
Page 30: ...Chapter 4 Installation 4 10 M E M O ...
Page 156: ...Chapter 7 System setup 7 12 M E M O ...
Page 164: ...Chapter 8 Daily and Periodic Inspection 8 8 M E M O ...