Hitachi EH-150 Series Applications Manual page 110

Table of Contents

Advertisement

Chapter 6 Communication Mode
 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.)
Y u s
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
Field name
Slave address
Function code
Coil head address (upper)
Coil head address (lower)
Change data (upper)
Change data (lower)
Error check
When a query is executed properly, the response and the query become the same.
Change to a hexadecimal number
Remains as is
Remains as is
Example
(HEX)
1 5
0 5
1 0
1 5
F F
0 0
[CRC]
6 - 68
Response
Field name
Slave address
Function code
Coil head address (upper)
Coil head address (lower)
Change data (upper)
Change data (lower)
Error check
Example
(HEX)
1 5
0 5
1 0
2 1
F F
0 0
[CRC]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ehv seriesHx series

Table of Contents