Chapter 6 Communication Mode
6 - 68
Mod
b
u
s S
lav
e
Function code 0x05 (Force Single Coil)
For EH-SIO, this function code means “Write 1 point output (Y)”. In case of broadcasting, the same output in each
slave will be written.
(1) Query
The query message data field is H0000 for output ON, and HFF00 for output OFF. In case of a broadcast, please set
the slave address field as 00.
« Note »
It is necessary to change the bit number to hexadecimal number. (When using I/O mapping, the bit No. in a module
are hexadecimal number.)
For example, when Y3910 (u-3, s-9, bit No.-10 inside module) is ON, the head address becomes H390A.
(2) Response
When a 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 output, exception response will be returned.
(3) Example
Set ON to Y1021 in the slave 21.
Query
Response
Field name
Example
(HEX)
Field name
Example
(HEX)
Slave address
1 5
Slave address
1 5
Function code
0 5
Function code
0 5
Coil head address (upper)
1 0
Coil head address (upper)
1 0
Coil head address (lower)
1 5
Coil head address (lower)
2 1
Change data (upper)
F F
Change data (upper)
F F
Change data (lower)
0 0
Change data (lower)
0 0
Error check
[CRC]
Error check
[CRC]
When a query is executed properly, the response and the query become the same.
Y u s
Change to a hexadecimal number
Remains as is
Remains as is
Содержание EH-150 Series
Страница 1: ...HITACHI PROGRAMMABLE CONTROLLER Serial Communication Module EH SIO APPLICATION MANUAL NJI 443F X ...
Страница 2: ......
Страница 10: ...M E M O ...
Страница 30: ...Chapter 4 Installation 4 10 M E M O ...
Страница 156: ...Chapter 7 System setup 7 12 M E M O ...
Страница 164: ...Chapter 8 Daily and Periodic Inspection 8 8 M E M O ...