0X0F) Force Multiple Coils (Write Do Values) - ICP DAS USA iNS-308 User Manual

8-port 10/100base-tx iot switch
Table of Contents

Advertisement

iNS-308 User Manual

7.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 iNS-308
[Request]
Byte
Description
00
Net ID (Station Number)
01
Function Code
Starting
02-03
DO Address
04-05
Output Value
Byte count
06
Output value
07
[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 © 2022 ICP DAS CO., Ltd. All Rights Reserved.
Size
1 Byte
1 to 247
1 Byte
0x0F
Byte 02 = high byte
2 Byte
Byte 03 = Low byte
Byte 04 = high byte
2 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 Byte
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 Byte
The value is the same as Bytes 02-05 of the
Request
2 Byte
Size
1 Byte
1 to 247
1 Byte
0x8F
Refer to the Modbus Standard
1 Byte
Specifications for more details
Value
Value
Value
- 42 -

Advertisement

Table of Contents
loading

Table of Contents