Moxa M-1401 Manuel Page 92

  • 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 91
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-55
AO_SetSafeValues
This function code is used to set the safe values for contiguous
A/O channels.
C/C++
Arguments
Return Value
int AO_SetSafeValues ( int hConnection,
BYTE bytSlot,
BYTE bytStartChannel,
BYTE bytCount,
Double dValue[ ]);
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.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to set.
dValue: An array that stores the safe values for the
contiguous A/O channels. dValue[0]
represents the value of the starting analog
output channel. The unit is VDC for the
voltage channel and mA for the current
channel.
Succeed MXIO_OK.
Fail Refer to Return Codes.
AO_GetSafeValue
This function code is used to get the safe value for a specific A/O
channel.
C/C++
Arguments
Return Value
int AO_GetSafeValue ( int hConnection,
BYTE bytSlot,
BYTE bytChannel,
double * dValue);
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.
dValue: A pointer to the safe value of 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.
Vue de la page 91
1 2 ... 87 88 89 90 91 92 93 94 95 96 97 ... 128 129

Commentaires sur ces manuels

Pas de commentaire