background image

Manual ETH-DIO-48 

14 

 

Low Level Interface Information 

The following information is provided for users who cannot or choose to not use 
AIOETHW.dll.  This is necessary in non-windows operating systems. For your reference 
consider reading the source code for AIOETHW.dll provided with your software install.  
More information is available in the HTML API reference installed in your software directory 

Packet Structure 

A packet is a byte-lengthed string; the first byte is the length(in bytes) of the body. A 
packet's body consists of a 4-byte ASCII type and zero or more bytes of payload. 

Defined packet types are as follows: 

Type  Direction  Meaning 

Payload  

ChNW 

M>S 

Change 
network 
settings. 

IP address, subnet mask, and gateway IP address, each in 4-byte 
big-endian format. For example, C0 A8 01 AE FF FF 00 00 C0 A8 
01 01 for 192.168.1.174, 255.255.0.0, and 192.168.1.1. Device 
should reply with 

W_OK

 or 

_Err

.  

ChIP 

M>S 

Change IP 
address. 

4-byte big-endian IP address. For example, C0 A8 01 AE for 
192.168.1.174. Device should reply with 

W_OK

 or 

_Err

.  

ChSN 

M>S 

Change 
subnet mask. 

4-byte big-endian subnet mask. For example, FF FF 00 00 for 
255.255.0.0. Device should reply with 

W_OK

 or 

_Err

.  

ChGW 

M>S 

Change 
gateway IP 
address. 

4-byte big-endian gateway IP address. For example, C0 A8 01 01 
for 192.168.1.1. Device should reply with 

W_OK

 or 

_Err

.  

RSta 

M>S 

Read status. 

No payload defined at this time. Device should reply with 

R_OK

 

or 

_Err

.  

RADI 

M>S 

Read "all" 
DIO data. 

No payload defined at this time. Device should reply with 

R_OK

 

or 

_Err

.  

RPDI 

Reserved for reading partial DIO data.  

WADO 

M>S 

Write "all" 
DIO data. 

1-byte length of DIO data, then DIO data. For example, 06 01 02 
04 08 10 20 to set bit 0 on the first byte of DIO, bit 1 on the next 
byte of DIO, etc. up to bit 5 on the last byte of DIO. Device should 
reply with 

W_OK

 or 

_Err

.  

WPDO 

M>S 

Write partial 
DIO data. 

1-byte length of mask+DIO data, then mask, then DIO data. Each 
bit set in mask corresponds to a bit in DIO data to write. For 
example, 0C 03 00 00 00 00 00 01 00 00 00 00 00 to set bit 0 
high and bit 1 low on the first byte of DIO, without changing bits 2-
7 or any other byte. Device should reply with 

W_OK

 or 

_Err

.  

W_OK 

S>M 

Write 
succeeded. 

1-byte length of written data. For example, 01 to indicate success 
of a 1-byte write.  

R_OK 

S>M 

Read 
succeeded. 

1-byte length of read data, then read data. For example, 03 42 49 
4F to read 42h, 49h, and 4Fh.  

_Err 

S>M 

Transaction 
failed. 

4-byte little-endian Windows error code. For example, 42 00 00 
00 for ERROR_BAD_DEV_TYPE, indicating read from a write-
only device or vice versa.  

 

Table 5-1: Packet Type Definitions

 

Содержание ETH-DIO-48

Страница 1: ...Roselle Street San Diego CA 92121 858 550 9559 FAX 858 550 7322 contactus accesio com www accesio com MODEL ETH DIO 48 AND ETH DIO 24 ETHERNET DIGITAL INPUT OUTPUT MODULES USER MANUAL FILE ETH DIO 48...

Страница 2: ...ACCES nor the rights of others IBM PC PC XT and PC AT are registered trademarks of the International Business Machines Corporation Printed in USA Copyright by ACCES I O Products Inc 10623 Roselle Stre...

Страница 3: ...parts not excluded by warranty Warranty commences with equipment shipment Following Years Throughout your equipment s lifetime ACCES stands ready to provide on site or in plant service at reasonable r...

Страница 4: ...10 Ethernet Connector 10 LED 10 DC Power Jack 10 DC Power Screw Terminals 11 50 Pin Box Headers 11 5V Resettable Fused Outputs 11 Pull Up Pull Down Configuration Jumpers 11 Chapter 4 Ethernet Address...

Страница 5: ...sink current capabilities Jumper selectable I O pulled up to 5V via 10K for contact monitoring pulled down to ground or floating Resettable 0 5A fused 5VDC output per I O connector OEM version board...

Страница 6: ...50 pin connectors For external circuits fused 5VDC power is available at each I O connector on pin 49 There is one resettable fuse for both connectors The resettable fuse is rated at 0 5A All I O lin...

Страница 7: ...is available in a RoHS compliant version Please call for specific pricing then add this suffix to the model number on any purchase orders Special Order Contact factory with your special requirement E...

Страница 8: ...l powder coated enclosure for up to 48 Digital I O Channels STB DIO 48 ETH Plug in Spring Cage Terminal Board for 48 Digital I O Channels used inside enclosure for ETH DIO 48 IIB 24 24 Channel Optical...

Страница 9: ...ousing light blink If you do not see activity check the other end of the Ethernet cable to ensure it is plugged into your LAN switch router gateway hub or directly into your PC This Ethernet module sh...

Страница 10: ...f the manual Figure 3 1 48 Channel Board Option Selection Map Ethernet Connector The Ethernet Connector is an industry standard RJ45 10 100 Base T type with integrated transmit receive LEDs LED The LE...

Страница 11: ...nt level and ambient temperature humidity etc The fuse will remain open until the bi metal elements cool sufficiently at which time the circuit will be restored Pull Up Pull Down Configuration Jumpers...

Страница 12: ...IP address and related network configuration Our Settings program can assist with this process in Windows For your information the device listens on port 51936 for normal operation and listens on 5193...

Страница 13: ...e following is a brief reference of common AIOETHW dll functions AEW_Connect AEW_Connect connects to the specified host device It returns a client reference like a handle that represents the connectio...

Страница 14: ...ateway IP address 4 byte big endian gateway IP address For example C0 A8 01 01 for 192 168 1 1 Device should reply with W_OK or _Err RSta M S Read status No payload defined at this time Device should...

Страница 15: ...UND 25 I O 11 I O 35 26 GROUND 27 I O 10 I O 34 28 GROUND 29 I O 09 I O 33 30 GROUND 31 I O 08 I O 32 32 GROUND 33 I O 07 I O 31 34 GROUND 35 I O 06 I O 30 36 GROUND 37 I O 05 I O 29 38 GROUND 39 I O...

Страница 16: ...Operating Temp 0 C to 70 C Storage Temp 40 C to 85 C Humidity 5 90 RH non condensing Mechanical Board Dimension 3 550 x 3 775 inches Box Dimension 4 00 x 4 00 x 1 7 inches Connectors I O Dual row 0 1...

Страница 17: ...problems with this manual or just want to give us some feedback please email us at manuals accesio com Please detail any errors you find we will reply with manual updates 10623 Roselle Street San Dieg...

Страница 18: ...01 00 Fax 32 0 2 462 01 25 belgium texim europe com Denmark N rregade 15 DK 9240 Nibe Tel 45 88 20 26 30 Fax 45 88 20 26 39 nordic texim europe com The Netherlands Elektrostraat 17 NL 7483 PG Haaksber...

Отзывы: