Moxa ioPAC 8500-2-M12-C-T [39/66] Modbus master api

Moxa ioPAC 8500-2-M12-C-T [39/66] Modbus master api
Developer's Guide for Moxa RTU Controllers Programmer's Guide
2-31
Modbus Master API
MX_Modbus_Master_Init(void);
INT32 MX_Modbus_Master_Init(void);
This function, which must be called before you call any other Modbus master API functions, allocates the
resources needed for the Modbus master library; to release the allocated resources, call
MX_Modbus_Master_Uninit().
Input Parameters
None
Output Parameters
None
Return Value
MODBUS_ERR_OK: Library initialization is done.
MODBUS_ERR_LIB_INIT: Library has been initialized.
MX_Modbus_Master_Uninit(void);
void MX_Modbus_Master_Uninit(void);
Call this function to release the resources allocated by MX_Modbus_Master_Init().
Input Parameters
None
Output Parameters
None
Return Value
None

Содержание

Скачать