ICP DAS USA ET-2242 User Manual page 77

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 01 (0x01), Readback Dos
Reads the Digital Output value
[Leading 6 bytes]
Command:
01 02 00 00 00 06
[Leading 6 bytes]
Response:
01 02 00 00 00 04
A description of the command and response is as follows:
Command:
Response:
Copyright © 2016 ICP DAS CO., Ltd. All Rights Reserved.
[Leading 6 bytes]
Bytes 00-03
01 02 00 00
Bytes 04-05
00 06
[Request]
Byte 00
01
(Net ID)
Byte 01
01
(Function Code)
Byte 02-03
00 00
Byte 04-05
00 02
[Leading 6 bytes]
Bytes 00-03
01 02 00 00
Bytes 04-05
00 04
[Response]
Byte 00
01
(Net ID)
Byte 01
01
(Function Code)
Byte 02
01
(Byte Count of the Response)
Byte 03
03
(Value for DO0 to DO1)
[Request]
01 01 00 00 00 02
[Response]
01 01 01 03
(Message Number)
(Number of bytes remaining in this frame)
(Starting DO Address)
(Number of Points)
(Message Number)
(Number of bytes remaining in this frame)
- 77 -

Advertisement

Table of Contents
loading

Table of Contents