7-9
Chapter 7
About the Modbus TCP
7.2.7
Write single coil [05h]
This function code is used to write a single output
to either ON or OFF.
[Request]
The request specifies the address of the coil to be
forced.
(Exapmle)
Configure the code number "0001h (operation
command)" to "ON (driving)".
[Response]
The normal response is an echo of the request,
returned after the coil state has been written.
Hi: high order
Lo: low order
Configure the inveter parameter [AA111] to "03
(RS485)" in order to drive actually.
Data
Coil status
To be ON
To be OFF
Output value (Hi)
FFh
00h
Output value (Lo)
00h
00h
Address
Blocks
Items
Code
0
Modbus TCP
header part
Transaction ID (Hi)
15h
1
Transaction ID (Lo)
01h
2
Protocol ID (Hi)
00h
3
Protocol ID (Lo)
00h
4
Data size (Hi)
00h
In the case, 6 byte lengths
(address 6 through 11).
5
Data size (Lo)
06h
6
Unit ID
FFh
7
Modbus
data part
Function code
05h
8
Starting adderess (Hi)
00h
In the case, "0000h"
("0001h" minus 1).
9
Starting adderess (Lo)
00h
10
Output value (Hi)
FFh
"FF00h" (to be ON)
11
Output value (Lo)
00h
Address
Blocks
Items
Code
0
Modbus TCP
header part
Transaction ID (Hi)
15h
1
Transaction ID (Lo)
01h
2
Protocol ID (Hi)
00h
3
Protocol ID (Lo)
00h
4
Data size (Hi)
00h
In the case, 6 byte lengths
(address 6 through 11).
5
Data size (Lo)
06h
6
Unit ID
FFh
7
Modbus
data part
Function code
05h
8
Starting adderess (Hi)
00h
In the case, "0000h"
("0001h" minus 1).
9
Starting adderess (Lo)
00h
10
Output value (Hi)
FFh
"FF00h" (to be ON)
11
Output value (Lo)
00h
Summary of Contents for SJ-P1 Series
Page 9: ...C 3 Table of Contents Memo ...
Page 17: ...1 8 Chapter 1 Safety Precautions Memo ...
Page 21: ...2 4 Chapter 2 Overview Memo ...
Page 25: ...3 4 Chapter 3 About the P1 EN Memo ...
Page 29: ...4 4 Chapter 4 Enclosed Items Memo ...
Page 45: ...6 8 Chapter 6 Inverter Settings Memo ...