Moxa M-1401 Handbuch Seite 123

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 129
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 122
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-86
TC_ReadRaw
This function code is used to read the temperature value of a
specific channel in raw data format.
C/C++
Arguments
Return Value
int TC_ReadRaw ( int hConnection,
BYTE bytSlot,
BYTE bytChannel,
WORD * wValue);
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.
wValue: A pointer to the temperature value to read.
When wValue is 0x8000, it means the sensor is
not correctly wired. When the operating mode
is temperature sensor, 0.1°C (°F). When the
operating mode of the TC module is -78.0 ~
78.0 mV, 10uV/count. When the operating
mode of the TC module is -32.7 ~ 32.7 mV,
1uV/count. When the operating mode of the TC
module is -65.5 ~ 65.5 mV, 2uV/count. Use
ioAdmin to check the I/O module settings.
Succeed MXIO_OK.
Fail Refer
t
oRe
t
u
r
nCodes.
Seitenansicht 122

Kommentare zu diesen Handbüchern

Keine Kommentare