EasyManua.ls Logo

Hitachi WJ C1 Series

Hitachi WJ C1 Series
494 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 11 RS485 Communication
11-2-4
11.2.3 Write Coil [05h]
How to write single coil status on Modbus communication?
Write single coil. The coil status change is shown in the table below.
Data
Coil: OFF to ON
Coil: ON to OFF
Change data (High)
FFh
00h
Change data (Low)
00h
00h
The following shows an example of RUN command for slave-address 1 inverter.
In order to operate with a command from Modbus communication, "RUN command input source
selection, 1st-motor [A002]" must be set to "Modbus communication (03)" in advance. The coil
number for RUN command is 0001h.
Query
No.
Field name
Example
(HEX)
1
Slave address
*1
01
2
Function code
05
3
Coil address (High)
*2
00
Coil start No. = (Coil No.) - 1
4
Coil address (Low)
*2
00
5
Change data (High)
FF
OFF to ON:FF00h
6
Change data (Low)
00
7
CRC-16 (High)
8C
8
CRC-16 (Low)
3A
Response
No.
Field name
Example
(HEX)
1
Slave address
*1
01
2
Function code
05
3
Coil address (High)
*2
00
4
Coil address (Low)
*2
00
5
Change data (High)
FF
6
Change data (Low)
00
7
CRC-16 (High)
8C
8
CRC-16 (Low)
3A
*1. For broadcast, there is no response.
*2. Note that the starting number is 1 less than the actual register number. Specify a number of
"(Register No.) - 1".
A
Q

Table of Contents

Related product manuals