HMIWorks API Reference version 1.11 Last Revised: September 2011 Page: 4
Copyrig
ht ©
2011
ICP DAS Co.,
Ltd.
A
ll Rights Reserved
. E-ma
il: servic
[email protected]
3.3. hmi_TCPListen ........................................................................................................................................ 35
3.4. hmi_TCPOpen.......................................................................................................................................... 37
3.5. hmi_TCPClose ......................................................................................................................................... 39
3.6. hmi_TCPGetLocalPort ......................................................................................................................... 40
3.7. hmi_TCPGetRemotePort .................................................................................................................... 41
3.8. hmi_TCPState .......................................................................................................................................... 42
3.9. hmi_TCPWrite .......................................................................................................................................... 44
3.10. hmi_TCPOutput .................................................................................................................................... 46
3.11. hmi_TCPRead ....................................................................................................................................... 48
3.12. hmi_TCPSendCmd ............................................................................................................................. 50
4. MODBUS TCP MASTER API ........................................................................................... 52
4.1. mbm_Register .......................................................................................................................................... 53
4.2. mbm_Unregister ...................................................................................................................................... 55
4.3. mbm_WriteDO .......................................................................................................................................... 56
4.4. mbm_ReadDO ......................................................................................................................................... 58
4.5. mbm_ReadDI ............................................................................................................................................ 60
4.6. mbm_WriteAO .......................................................................................................................................... 62
4.7. mbm_ReadAO.......................................................................................................................................... 64
4.8. mbm_ReadAI ............................................................................................................................................ 66
5. MODBUS RTU MASTER API ........................................................................................... 68
5.1. mrm_WriteDO ..................................................................................................................................... 69
5.2. mrm_ReadDO ..................................................................................................................................... 71
5.3. mrm_ReadDI ....................................................................................................................................... 73
5.4. mrm_WriteAO ..................................................................................................................................... 75