0X0F) Force Multiple Coils (Write Do Values) - ICPDAS ET-2268 CR User Manual

Ethernet i/o modules
Table of Contents

Advertisement

ET-2200 Series Ethernet I/O Modules
6.2.7

15(0x0F) Force Multiple Coils (Write DO values)

This function code is used to set the status of multiple coils or to write multiple Digital Output
values for the ET-2200 series module.
[Request]
Byte
Description
00
Net ID (Station Number)
01
Function Code
02-03
Starting DO Address
Number of Output Channels
04-05
(Points)
06
Byte count
07
Output value
[Response]
Byte
Description
00
Net ID (Station Number)
01
Function Code
02-03
Starting DO Address
Number of Output Channels
04-05
(Points)
[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
0x0F
Refer to Section
2 Bytes
Table" to find the address.
Byte 02 = high byte ; Byte 03 = low byte
2 Bytes
Byte 04 = high byte ; Byte 05 = low byte
1 Byte
n = (Points +7)/8
A bit corresponds to a channel. A value of 1
for a bit denotes that the channel is ON,
while a value of denotes that the channel is
OFF.
n Bytes
n= 1; Byte 07 = data bit 7 to 0
n= 2; Byte 08 = data bit 15 to 8
.......
n= m; Byte m+6 = data bit (8m-1) to 8 (m-1)
Size
1 Byte
1 to 247
1 Byte
0x0F
2 Bytes
The value is the same as Bytes 02-05 of the
2 Bytes
Request
Size
1 Byte
1to 247
1 Byte
0x8F
Refer to the Modbus Standard Specifications
1 Byte
for more details.
Value
6.3
or
6.4
"Modbus Register
Value
Value
-151 -

Advertisement

Table of Contents
loading

Table of Contents