ICP DAS USA ET-2242 User Manual page 85

Ethernet i/o modules
Hide thumbs Also See for ET-2242:
Table of Contents

Advertisement

ГК Атлант Инжиниринг – официальный представитель в РФ и СНГ
+7(495)109-02-08 sales@bbrc.ru www.bbrc.ru
ET-2200 Series Ethernet I/O Modules
Example: Function 05 (0x05), Write DO
Sets channel DO1 to ON
[Leading 6 bytes]
Command:
01 02 00 00 00 06
[Leading 6 bytes]
Response:
01 02 00 00 00 06
A description of the command and response is as follows:
Command:
[Leading 6 bytes]
Bytes 00-03
Bytes 04-05
[Request]
Byte 00
Byte 01
Byte 02-03
Byte 04-05
Response:
[Leading 6 bytes]
Bytes 00-03
Bytes 04-05
[Response]
Byte 00
Byte 01
Byte 02-03
Byte 04-05
Copyright © 2016 ICP DAS CO., Ltd. All Rights Reserved.
[Request]
01 05 00 01 FF 00
[Response]
01 05 00 01 FF 00
01 02 00 00
(Message Number)
00 06
(Number of bytes remaining in this frame)
01
(Net ID)
05
(Function Code)
00 01
(DO Address)
FF 00
(Sets the output to ON)
01 02 00 00
(Message Number)
00 06
(Number of bytes remaining in this frame)
01
(Net ID)
05
(Function Code)
00 01
(DO Address)
FF 00
(Indicates that the DO has been set to ON)
- 85 -

Advertisement

Table of Contents
loading

Table of Contents