ioPAC RTU Controllers
C/C++ Sample Code Programming Guide
|
Functions | |
MISC_ERR_CODE | MX_RTU_Dual_Power1_Get (UINT8 *state) |
MISC_ERR_CODE | MX_RTU_Dual_Power2_Get (UINT8 *state) |
MODULE_RW_ERR_CODE | MX_RTU_Module_Dual_Power1_Get (UINT8 slot, UINT8 *state) |
MODULE_RW_ERR_CODE | MX_RTU_Module_Dual_Power2_Get (UINT8 slot, UINT8 *state) |
Sample Code:
power.c
MISC_ERR_CODE MX_RTU_Dual_Power1_Get | ( | UINT8 * | state | ) |
[out] | state | 0 is disconnecting and 1 is connecting. |
MISC_ERR_CODE MX_RTU_Dual_Power2_Get | ( | UINT8 * | state | ) |
[out] | state | 0 is disconnecting and 1 is connecting. |
MODULE_RW_ERR_CODE MX_RTU_Module_Dual_Power1_Get | ( | UINT8 | slot, |
UINT8 * | state | ||
) |
[in] | slot | slot 0: Built-in power Ports, slot 1 ~ 12: Expansion power Ports. |
[out] | state | 0 is disconnecting and 1 is connecting. |
MODULE_RW_ERR_CODE MX_RTU_Module_Dual_Power2_Get | ( | UINT8 | slot, |
UINT8 * | state | ||
) |
[in] | slot | slot 0: Built-in power Ports, slot 1 ~ 12: Expansion power Ports. |
[out] | state | 0 is disconnecting and 1 is connecting. |