W5K_Exp_Status

 

This function code is used to read the status of the ioLogik W5000 Module..

 

C/C++

int W5K_Exp_Status( int hConnection,

WORD *wState);

 

Visual Basic

Declare Function W5K_Exp_Status Lib "MXIO.dll" (ByVal hConnection As Long, wState As Integer) As Long

 

Arguments:

hConnection

The handle for an I/O device connection.

wState

Stores the Bus status in numerical format. The values are

0: Expansion module offline

1: Expansion module online

2: Expansion module unmatch type

3: module returns modbus exception

4: network err