
ioLogik MXIO DLL API Reference System Commands Sets
4-7
MXIO_Restart
This function is used to restart the I/O.
C/C++
Arguments
Return Value
int MXIO_Restart ( int hConnection);
hConnection: I/O handle for a connection.
Succeed MXIO_OK.
Fail Refer to Return Codes.
MXIO_Reset
This function is used to reset the I/O.
C/C++
Arguments
Return Value
int MXIO_Reset ( int hConnection);
hConnection: I/O handle for a connection.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Special Commands for ioLogik E2000, R2000
Module2K_GetSafeStatus
This function code is used to get the safe status of an ioLogik
E2000 or R2000 I/O.
C/C++
Arguments
Return Value
int Module2K_GetSafeStatus ( int hConnection,
WORD * wStatus);
hConnection: The handle for a connection.
wStatus: A pointer to the specific module’s safe
status. The values are:
0: Normal.
1: Safe mode.
Succeed MXIO_OK.
Fail Refer
oRe
u
nCodes.
Module2K_ClearSafeStatus
This function code is used to get the safe status of an ioLogik
E2000 or R2000 I/O.
C/C++
Arguments
Return Value
int Module2K_ClearSafeStatus ( int hConnection);
hConnection: The handle for a connection.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Special Commands for ioLogik 4000
Adp4K_ReadFirmwareRevi
sion
This function code is used to read the firmware revision.
C/C++
Arguments
Return Value
int Adp4K_ReadFirmwareRevision ( int hConnection,
WORD * wRevision);
hConnection: The handle for an I/O connection.
wRevision: Stores the firmware revision. For revision
1.01, the value will be 0X0101.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Komentarze do niniejszej Instrukcji