Moxa M-1401 Handbuch Seite 82

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 129
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 81
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-45
AI2K_ReadMinRaws
This function code is used to read the minimize raw data values of
contiguous A/I channels.
C/C++
Arguments
Return Value
int AI2K_ReadMinRaws ( 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 minimize raw data
values of the contiguous A/I channels;
wValue[0] represents the value of the starting
channel.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
AI2K_ResetMins
This function code is used to reset the minimize values of
contiguous A/I channels.
C/C++
Arguments
Return Value
int AI2K_ResetMins ( 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 be reset.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
AI2K_ReadMin
This function code is used to read the minimize value for a
specific A/I channel.
C/C++
Arguments
Return Value
int AI2K_ReadMin ( int hConnection,
BYTE bytChannel,
double * dValue);
hConnection: The handle for an I/O connection.
bytChannel: The desired channel.
dValue: A pointer to the minimize value of the desired
A/I channel. The unit is VDC for the voltage
module, and mA for the current module.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Seitenansicht 81
1 2 ... 77 78 79 80 81 82 83 84 85 86 87 ... 128 129

Kommentare zu diesen Handbüchern

Keine Kommentare