Moxa M-1401 Manual Pagina 104

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 129
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 103
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-67
RTD_ReadRaws
This function code is used to read the temperatures for contiguous
channels in raw data format.
C/C++
Arguments
Return Value
int RTD_ReadRaws ( int hConnection,
BYTE bytSlot,
BYTE bytStartChannel,
BYTE bytCount,
WORD wValue[ ]);
hConnection: The handle for an I/O server 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 read.
wValue: An array that stores the temperature values of
the contiguous channels in raw data format.
wValue [0] represents the start channel.
When wValue is 0x8000, it means the sensor is
not wired correctly, or the measured value is
out of range.
When using the RTD module for Resistance
Input 1~2000
, 100 m
/1count.
When using the RTD module for Resistance
Input 1~327
, 10 m
/1count.
When using the RTD module for Resistance
Input 1~620
, 20 m
/1count.
When the operating mode is temperature
sensor, 0.1°C (°F)/1count, 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 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 128 129

Comentarios a estos manuales

Sin comentarios