0X05) Force A Single Coil (Write Do Value) - ICPDAS ET-2268 CR User Manual

Ethernet i/o modules
Table of Contents

Advertisement

ET-2200 Series Ethernet I/O Modules
6.2.5

05(0x05) Force a Single Coil (Write DO value)

This function code is used to set the status of a single coil or a single Digital Output value for the
ET-2200 series module.
[Request]
Byte
Description
00
Net ID (Station Number)
01
Function Code
02-03
DO Address
04-05
Output Value
[Response]
Byte
Description
00
Net ID (Station Number)
01
Function Code
02-03
DO Address
04-05
Output Value
[Error Response]
Byte
Description
00
Net ID (Station Number)
01
Function Code
02
Exception Code
Copyright © 2023 ICP DAS CO., Ltd. All Rights Reserved.
Size
1 Byte
1 to 247
1 Byte
0x05
Refer to Section
2 Bytes
Table" to find the address.
Byte 02 = high byte ; Byte 03 = low byte
0xFF 00 sets the output to ON.
0x00 00 sets the output to OFF.
2 Bytes
All other values are invalid and will not affect
the coil.
Byte 04 = high byte ; Byte 05 = low byte
Size
1 Byte
1 to 247
1 Byte
0x05
The value is the same as Bytes 02-03 of the
2 Bytes
Request
The value is the same as Bytes 04-05 of the
2 Bytes
Request
Size
1 Byte
1 to 247
1 Byte
0x85
Refer to the Modbus Standard Specifications
1 Byte
for more details.
Value
6.3
or
6.4
"Modbus Register
Value
Value
-147 -

Advertisement

Table of Contents
loading

Table of Contents