Moxa M-1401 Manuel Page 99

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 129
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 98
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-62
AO2K_GetPowerOnRaws
This function code is used to get the power on values of
contiguous A/O channels in raw data format.
C/C++
Arguments
Return Value
int AO2K_GetPowerOnRaws ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
WORD wValue[ ]);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to read.
wValue: An array that stores the power on values of the
contiguous A/O channels in raw data format.
wValue[0] represents the value of the starting
channel.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
AO2K_SetPowerOnRaws
This function code is used to set the power on values of
contiguous A/O channels in raw data format.
C/C++
Arguments
Return Value
int AO2K_SetPowerOnRaws ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
WORD wValue[ ]);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to set.
wValue: An array that stores the power on values of
contiguous A/O channels in raw data format.
wValue [0] represents the value of the starting
channel.
Succeed MXIO_OK.
Fail
Refer
t
o
Ret
ur
n
ode
s
.
AO2K_GetPowerOnRaw
This function code is used to get the power on value of a specific
analog output channel in raw data format.
C/C++
Arguments
Return Value
int AO2K_GetPowerOnRaw ( int hConnection,
BYTE bytChannel,
WORD * wValue);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
wValue: A pointer to the power on value for the desired
channel in raw data format.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Vue de la page 98
1 2 ... 94 95 96 97 98 99 100 101 102 103 104 ... 128 129

Commentaires sur ces manuels

Pas de commentaire