Moxa ioPAC 8500-2-RJ45-C-T [23/66] Mx_ai_burnout_value_set

Moxa ioPAC 8500-2-M12-C-T [23/66] Mx_ai_burnout_value_set
Developer's Guide for Moxa RTU Controllers Programmer's Guide
2-15
MX_AI_Max_Reset
UINT32 MX_AI_Max_Reset(UINT32 slot, UINT32 start, UINT32 count);
Sets max raw and engineering values to be current values for appointed AI channels.
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
Return Value
To get the complete IO_ERR code list, please refer to the header file libmoxa_pgm.h
MX_AI_Range_Signed
UINT32 MX_AI_Range_Signed(UINT32 range);
Checks if the readings of an AI channel is a positive value or contains positive and negative values.
Input Parameters
range
Return Value
TRUE (positive and negative) or FALSE (positive only).
Notes
ioLogik W5348-C series only
MX_AI_BurnOut_Value_Set
UINT32 MX_AI_BurnOut_Value_Set(UINT32 slot, UINT32 start, UINT32 count, float *buf);
To set the current burn-out value of the AI channels (this function is only available in the module RM-3802-
T,
and only within an AI range of 4-20mA)
Input Parameters
slot
Slot index of the AI module (zero based)
start
count
buf
Return Value
To get the complete IO_ERR code list, please refer to the header file libmoxa_pgm.h.
Notes
This function can only be used for the ioPAC RM-3802-T AI module.
The burn-out value is only applied while the AI channel range is set to 4-20mA.
The valid burn out value is 0.0-4.0 mA
If the AI channel range is set to 0-20mA, the burn-out value will not be applied.

Содержание

Скачать