Moxa M-1401 Manuel Page 98

  • 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 97
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-61
AO2K_SetPowerOnValues
This function code is used to set the power on values of
contiguous A/O channels.
C/C++
Arguments
Return Value
int AO2K_SetPowerOnValues ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
double dValue[ ]);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to set.
dValue: An array that stores the power on valuse for the
contiguous A/O channels. dValue[0] represents
the value of the starting channel. The unit is
Vdc for the voltage channel and mA for the
current channel.
Succeed MXIO_OK.
Fail Refer to Return Codes.
AO2K_GetPowerOnValue
This function code is used to get the power on value for a specific
channel.
C/C++
Arguments
Return Value
int AO2K_GetPowerOnValue ( int hConnection,
BYTE bytChannel,
double * dValue);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
dValue: A pointer to the power on value for the desired
A/O channel. The unit is Vdc for the voltage
channel and mA for the current channel.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
AO2K_SetPowerOnValue
This function code is used to set the power on value for a specific
channel.
C/C++
Arguments
Return Value
int AO2K_SetPowerOnValue ( int hConnection,
BYTE bytChannel,
double dValue);
hConnection: The handle for an I/O server connection.
bytChannel: The desired channel.
dValue: Stores the power on value for the desired A/O
channel. The unit is Vdc for the voltage
channel and mA for the current channel.
Succeed MXIO_OK.
Fail
Refer
t
o
Ret
ur
n
ode
s
.
Vue de la page 97
1 2 ... 93 94 95 96 97 98 99 100 101 102 103 ... 128 129

Commentaires sur ces manuels

Pas de commentaire