
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-63
AO2K_SetPowerOnRaw
This function code is used to set the power on value of a specific
analog output channel in raw data format.
C/C++
Arguments
Return Value
int AO2K_SetPowerOnRaw ( int hConnection,
BYTE bytChannel,
WORD wValue);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
wValue: Stores the power on value for the desired
channel in raw data format.
Succeed MXIO_OK.
Fail Refe
oRe
u
nCodes.
Analog Output Commands for ioLogik 4000
AO4K_GetSafeActions
This function code is used to get the safe actions of contiguous
A/O channels.
C/C++
Arguments
Return Value
int AO4K_GetSafeActions ( int hConnection,
BYTE bytSlot,
BYTE bytStartChannel,
BYTE bytCount,
WORD wAction[ ]);
hConnection: The handle for an I/O connection. bytSlot:
Slot number of the I/O module, from 1 to 32.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to read.
wAction: An array that stores the safe actions of the
contiguous A/O channels. wAction[0]
represents the value of the starting channel. The
values are:
0: Safe value
1: Hold last state
2: Low Limit
3: High Limit
Succeed MXIO_OK.
Comentarios a estos manuales