0X0F) Writing Multiple Coils - ICP DAS USA ZT-2017 User Manual

Table of Contents

Advertisement

6.3.9

15 (0x0F) Writing Multiple Coils

Description
This function code is used to write the digital output value for the ZT-2000 I/O
module.
Request
Byte
Description
00
Address
01
Function Code
Starting Cchannel
02~03
Number
Output Channel
04~05
Number
06
Byte Count
07
Output Value
Response
Byte
Description
00
Address
01
Function Code
Starting Channel
02~03
Number
Input Channel
04~05
Number
Error Response
Byte
Description
00
Address
01
Function Code
ICP DAS, ZT-2017 and ZT-2017C AI Series User Manual, Version 1.0.1
Copyright © 2012 by ICP DAS Co., Ltd. All Rights Reserved.
Length Value
1
1 to 247
1
0x0F
2
See Section 6.3.1 for details
2
0x0001 to 0x0020
1
B=(Bit Count + 7)/8
A bit corresponds to a channel. When the bit
is '1', it denotes that the configuration of the
2
channel that was set is ON or Enable. If the
bit is '0', it denotes that the configuration of
the channel that was set is OFF or Disable.
Length Value
1
1 to 247
1
0x0F
The value is the same as bytes 02 and 03 of
2
the Request
2
0x0001 ~ 0x0020
Length Value
1
1 to 247
1
0x8F
Page 115

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zt-2017c

Table of Contents