Moxa M-1401 Manuel Page 44

  • 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 43
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-7
Cnt2K_Clear
This function code is used to clear the counter value of a specific
D/I channel in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_Clear ( int hConnection,
BYTE bytChannel);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Cnt2K_GetOverflows
This function code is used to get the overflow statuses of
contiguous D/I channels in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_GetOverflows ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
DWORD * dwStatus);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to read.
dwStatus: A pointer to the overflow status of the
contiguous channels; each bit holds the status.
A bit value of 0 represents the status of the start
channel. A bit value of 1 represents the second
channel’s status. The values are :
0: Normal
1: Overflow
Succeed MXIO_OK.
Fail Refer to Return Codes.
Cnt2K_ClearOverflows
This function code is used to clear the overflow statuses of
contiguous D/I channels in Counter mode.
C/C++
Arguments
Return Value
int Cnt2K_ClearOverflows ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount);
hConnection: The handle for an I/O connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to clear.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Vue de la page 43
1 2 ... 39 40 41 42 43 44 45 46 47 48 49 ... 128 129

Commentaires sur ces manuels

Pas de commentaire