Moxa ioPAC 8500-9-M12-C-T [28/66] Analog input alarm

Moxa ioPAC 8500-2-M12-C-T [28/66] Analog input alarm
Developer's Guide for Moxa RTU Controllers Programmer's Guide
2-20
Analog Input Alarm
MX_AI_Alarm_Register
int MX_AI_Alarm_Register(int slot, int channel, int len, float value, int condition);
Register an AI channel for monitoring. If the condition is matched, the event will be recorded with status and
time. In addition, each channel can only be registered once.
Input Parameters
slot
channel
len
Buffer Size: 5 to 20 records
value
condition
Return Value
Result of the call or a handle.
Notes
ioLogik W5348-C series only
MX_AI_Alarm_Unregister
int MX_AI_Alarm_Unregister(int handle);
Unregisters an AI channel for monitoring and clears the buffer.
Input Parameters
handle
Return Value
Result of the call
Notes
ioLogik W5348-C series only
MX_AI_Alarm_Get
int MX_AI_Alarm_Get(int handle, struct IO_Alarm_Data *data);
Reads alarm data of the AI channel. This alarm data will be written to the data parameter.
Input Parameters
handle
Output Parameters
data
Return Value
Result of the call
Notes
ioLogik W5348-C series only

Содержание

Скачать