![background image](http://html1.mh-extra.com/html/advantech/adam-6000-series/adam-6000-series_user-manual_2857302094.webp)
ADAMTCP_SendReceive6KTCPCmd
Description:
This function is specific for 6000 series. It accepts the command in ASCII format string. Then transform
it to follow the Modbus/TCP communication protocol.
Syntax:
int ADAMTCP_SendReceive6KTCPCmd(char szIP[], char szSendToTCP[], char szReceiveFromTCP[]
char szModbusSend[], char szModbusReceive[])
Parameter:
szIP[in]: the IP Address of the target ADAM-6000 module to be connected.
szSendToTCP[in]: the ASCII format string that send to the ADAM-6000.
szReceiveFromTCP[out]: the ASCII format string that response from the ADAM-6000.
szModbusSend[out]: the Modbus/TCP format string that send to the ADAM-6000.
szModbusReceive[out]: the Modbus/TCP format string that response from the ADAM-6000.
Return:
Please refer to Chapter 6-2-3 "Return Codes" for more detail information
Summary of Contents for ADAM-6000 series
Page 21: ...Figure 3 2 Fix ADAM 6000 module on the bracket...
Page 23: ......
Page 24: ...Figure 3 4 Secure ADAM 6000 Module to a DIN rail...
Page 27: ...Figure 3 6 ADAM 6000 I O Module Terminal Block wiring...
Page 32: ...Figure 4 4 ADAM 6017 Digital Output wiring...
Page 36: ...Figure 4 8 ADAM 6050 Digital Output Wiring...
Page 41: ...Figure 4 13 ADAM 6051 Digital Output and Counter Wiring...
Page 46: ...Figure 4 18 ADAM 6060 Relay Output Wiring...
Page 75: ...Figure 5 29 Firmware Upgrade for ADAM 6000 I O Series Modules...
Page 153: ...Appendix A Design Worksheets...