Hitachi SJ Series User Manual page 504

Hide thumbs Also See for SJ Series:
Table of Contents

Advertisement

Chapter 14
14.4.3
Writing to coil [05h]
• Perform writing to a coil.
Coil states change as shown in the table at the right.
(Example)
To give an operation command to the inverter with slave
address 10.
• You need to set the operation command selection
[AA111] to 03 in advance to operate using a Modbus
command.
• Coil No. for operation command is "1".
Query
Field Name
1
Slave address *1)
2
Function code
3
Coil starting No. (high) *2)
4
Coil starting No. (low) *2)
5
Data to be changed (high)
6
Data to be changed (low)
7
CRC-16 (high)
8
CRC-16 (low)
!
*1) When a broadcasting is performed, a response is not
returned.
*2) Note that the shown value is one less than starting
number. For coil No. 0001, specify 0000(=0001-1).
A
• When a writing to a coil cannot be executed normally,
see "3.9 Exceptional Responses".
Data to be changed (high)
Data to be changed (low)
Response
Example (HEX)
0A
05
00
00
FF
00
8D
41
14-13
RS485 Communication
Field Name
1
Slave address
2
Function code
3
Coil starting No. (high)
4
Coil starting No. (low)
5
Data to be changed (high)
6
Data to be changed (low)
7
CRC-16 (high)
8
CRC-16 (low)
Coil state
OFF→ON
ON→OFF
FFh
00h
00h
00h
Example (HEX)
0A
05
00
00
FF
00
8D
41

Advertisement

Table of Contents
loading

Table of Contents