Moxa ioPAC 8500-9-M12-C-T [24/66] Misc i o

Moxa ioPAC 8020-5-M12-C-T [24/66] Misc i o
Developer's Guide for Moxa RTU Controllers Programmer's Guide
2-16
MX_AI_BurnOut_Value_Get
UINT32 MX_AI_BurnOut_Value_Get(UINT32 slot, UINT32 start, UINT32 count, float *buf);
To get 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.
Misc I/O
MX_DIO_Map_Get
UINT32 MX_DIO_Map_Get(UINT32 slot, UINT32 *num);
Gets the current status of DIO channels.
Input Parameters
slot
0 = IOLOGIK W5348-C SERIES
n = Expansion Devices
Output Parameters
num
Return Value
Result of the call
Notes
ioLogik W5348-C series only
MX_Total_Slots_Get
UINT32 MX_Total_Slots_Get(UINT32 *num);
Gets the number of slots.
Output Parameters
num
Return Value
Result of the call
Notes
ioPAC 8020-C series only

Содержание

Скачать