Chapter 6
Planning Your Application Program
6-2-4 Return Codes
Using these function libraries, you can read
the error message and the against response from the returning codes.
ADAM5KTCP_NoError (0)
ADAM5KTCP_StartupFailure (-1)
ADAM5KTCP_SocketFailure (-2)
ADAM5KTCP_UdpSocketFailure (-3)
ADAM5KTCP_SetTimeoutFailure (-4)
ADAM5KTCP_SendFailure (-5)
ADAM5KTCP_ReceiveFailure (-6)
ADAM5KTCP_ExceedMaxFailure (-7)
ADAM5KTCP_CreateWsaEventFailure (-8)
ADAM5KTCP_ReadStreamDataFailure (-9)
ADAM5KTCP_InvalidIP (-10)
ADAM5KTCP_ThisIPNotConnected (-11)
ADAM5KTCP_AlarmInfoEmpty (-12)
6-30
ADAM-5000/TCP
User’s Manual
Summary of Contents for ADAM-5000/TCP Series
Page 1: ......
Page 23: ......
Page 44: ...4 I O modules...
Page 148: ......
Page 183: ......
Page 218: ......
Page 300: ...Appendix A Design Worksheets...
Page 307: ...Appendix A Design Worksheets A 8 ADAM 5000 TCP User s Manual...
Page 308: ...Appendix B Data Formats and I O Ranges...
Page 323: ...Appendix B Data Formats and I O Ranges B 13 ADAM 5000 TCP User s Manual...
Page 324: ...Appendix C Grounding Reference...
Page 331: ...Appendix C Grounding Reference Figure C 6 wire impedancC C 8 ADAM 5000 TCP User s Manual...