![Anybus CompactCom 40 EtherNet/IP Скачать руководство пользователя страница 141](http://html1.mh-extra.com/html/anybus/compactcom-40-ethernet-ip/compactcom-40-ethernet-ip_network-manual_2948758141.webp)
141
Doc.Id. HMSI-27-212
Anybus CompactCom 40 EtherNet/IP
Doc.Rev. 1.5
Command Details: Directory Read
Category
Extended
Details
Command Code:
23h
Valid for:
Instance
Description
This command reads the contents of a directory previously opened for reading.
The command returns information about a single directory entry, which means that the command must
be issued multiple times to retrieve the complete contents of a directory. When the last entry has been
read, the command returns an “empty” response (i.e. a response where the data size is zero).
• Command Details
(no data)
• Response Details
Field
Contents
Comments
CmdExt[0]
(reserved, ignore)
-
CmdExt[1]
MsgData[0]
Size of entry
Low byte, low word
MsgData[1]
-
MsgData[2]
-
MsgData[3]
High byte, high word
MsgData[4]
Flags
Bit:Meaning:
0 Entry is a directory
1 Entry is read-only
2 Entry is hidden
3 Entry is a system entry
MsgData[5... n] Name of entry
-