Moxa M-1401 Manual Pagina 103

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 129
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 102
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-66
RTD_Read
This function code is used to read the temperature value for a
specific channel.
C/C++
Arguments
Return Value
int RTD_Read ( 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 temperature value of the
desired channel.
When dValue is 0x8000, it means the sensor is
not correctly wired or the measured value is
out of range.
When using the RTD module for Resistance
Input, the unit is Ohm. When the operating
mode is temperature sensor, the unit is C or F,
depending on the setting. Use the ioAdmin
utility to check the current settings for the
desired channels.
Succeed MXIO_OK.
Fail Refer to Return Codes.
Vista de pagina 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 128 129

Comentarios a estos manuales

Sin comentarios