![Advantech ADAM-5000/TCP Series Скачать руководство пользователя страница 86](http://html1.mh-extra.com/html/advantech/adam-5000-tcp-series/adam-5000-tcp-series_manual_2857301086.webp)
Planning Your Application Program
ADAM5KTCP_SendReceive5KTCPCmd
Chapter 6
Description:
This function is designed for user’s convenience,
accepting the ASCII format string as a command.
Then transform it to meet the Modbus/TCP specifi-
cation.
Syntax:
int ADAM5KTCP_SendReceive5KTCPCmd(char
szIP[], char szSendToTCP[], char
szReceiveFromTCP[], char szModbusSend[], char
szModbusReceive[]);
Parameter:
szIP[in]:
the IP Address of the ADAM-5000/TCP that to be
connected
szSendToTCP[in]: the ASCII format string that send to a ADAM-
5000/ TCP
szReceiveFromTCP[out]:
the ASCII format string that response from
a ADAM-5000/TCP
szModbusSend[out]: the Modbus/TCP format string that send
to a
ADAM-5000/TCP
szModbusReceive[out]: the Modbus/TCP format string that
response from a ADAM-5000/TCP
Return:
Please refer to Chapter 6-2-4 “Return Codes” for more
detail information
ADAM-5000/TCP
User’s Manual
6-19
Содержание ADAM-5000/TCP Series
Страница 1: ......
Страница 23: ......
Страница 44: ...4 I O modules...
Страница 148: ......
Страница 183: ......
Страница 218: ......
Страница 300: ...Appendix A Design Worksheets...
Страница 307: ...Appendix A Design Worksheets A 8 ADAM 5000 TCP User s Manual...
Страница 308: ...Appendix B Data Formats and I O Ranges...
Страница 323: ...Appendix B Data Formats and I O Ranges B 13 ADAM 5000 TCP User s Manual...
Страница 324: ...Appendix C Grounding Reference...
Страница 331: ...Appendix C Grounding Reference Figure C 6 wire impedancC C 8 ADAM 5000 TCP User s Manual...