TECHNICAL MANUAL
LARGE DISPLAYS DN109/NB - DN119/NB - DN189/NB - DN129/NB
CHAPTER 24
ETHERNET COMMUNICATION
24-4
•
Write Single Coil:
It is used to assign the ON/OFF state to a Coil.
The structure of this function is presented below:
Request
Function code
1 Byte
05h
Coil Address
2 Bytes
0001h to 0005h
State to write
2 Bytes
0000h(OFF) or FF00h(ON)
Answer
Function Code
1 Byte
05h
Coil address
2 Bytes
0001h to 0005h
State to write
2 Bytes
0000h(OFF) or FF00h(ON)
Error
Error code
1 Byte
85h
Exception code
1 Byte
01 or 02 or 03 or 04
Table 62: "Write Single Coil" function structure.
Example:
You want to activate the 1st Coil. The following frames are sent and received: