Moxa ioPAC 8020-9-RJ45-C-T [21/66] Mx_ai_max_raw_get

Moxa ioPAC 8020-5-RJ45-C-T [21/66] Mx_ai_max_raw_get
Developer's Guide for Moxa RTU Controllers Programmer's Guide
2-13
MX_AI_Range_Setting_Get
UINT32 MX_AI_Range_Setting_Get(UINT32 slot, UINT32 start, UINT32 count, UINT32 *buf);
Reads a given AI channel range. The channel range will be written to the buf parameter.
Input Parameters
slot
Slot index of the AI module (zero based). For ioLogik W5348, the slot index is always “0”
start
The first queried AI channel (zero based)
count
The number of queried AI channels
Output Parameters
buf
Return Value
To get the complete IO_ERR code list, please refer to the header file libmoxa_pgm.h
MX_AI_Min_RAW_Get
UINT32 MX_AI_Min_RAW_Get(UINT32 slot, UINT32 start, UINT32 count, INT32 *buf);
Reads min raw values of appointed AI channels. These min raw values will be written to the buf parameter.
Input Parameters
slot
Slot index of the AI module (zero based). For ioLogik W5348, the slot index is always “0”
start
The first queried AI channel (zero based)
count
The number of queried AI channels
Output Parameters
buf
Return Value
To get the complete IO_ERR code list, please refer to the header file libmoxa_pgm.h
MX_AI_Max_RAW_Get
UINT32 MX_AI_Max_RAW_Get(UINT32 slot, UINT32 start, UINT32 count, INT32 *buf);
Reads max raw values of appointed AI channels. These min raw values will be written to the buf parameter.
Input Parameters
slot
Slot index of the AI module (zero based). For ioLogik W5348, the slot index is always “0”
start
The first queried AI channel (zero based)
count
The number of queried AI channels
Output Parameters
buf
Return Value
To get the complete IO_ERR code list, please refer to the header file libmoxa_pgm.h

Содержание

Скачать