
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-21
DO_GetSafeValue
This function code is used to get the safe value for a specific D/O
channel.
C/C++
Arguments
Return Value
int DO_GetSafeValue ( int hConnection,
BYTE bytSlot,
BYTE bytChannel,
BYTE bytValue);
hConnection: The handle for an I/O connection.
bytSlot: Slot number of the I/O module, from 1 to 32.
This parameter is inactive for the ioLogik
E2000 and R2000.
bytChannel: The desired channel.
bytValue: Stores the safe value of the desired D/O channel.
1 represents ON, 0 represents OFF.
Succeed MXIO_OK.
Fail Refer
oRe
u
nCodes.
DO_SetSafeValue
This function code is used to set the safe value for a specific D/O
channel.
C/C++
Arguments
Return Value
int DO_SetSafeValue ( int hConnection,
BYTE bytSlot,
BYTE bytChannel,
BYTE bytValue);
hConnection: The handle for an I/O connection.
bytSlot: Slot number of the I/O module, from 1 to 32.
This parameter is inactive for the ioLogik
E2000 and R2000.
bytChannel: The desired channel.
bytValue: Stores the safe value of the desired channel. 1
represents ON, 0 represents OFF.
Succeed MXIO_OK.
Fail Refer
oRe
u
nCodes.
Kommentare zu diesen Handbüchern