EasyManuals Logo

Advantech ADAM-5000/TCP Series User Manual

Advantech ADAM-5000/TCP Series
341 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #86 background imageLoading...
Page #86 background image
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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Advantech ADAM-5000/TCP Series and is the answer not in the manual?

Advantech ADAM-5000/TCP Series Specifications

General IconGeneral
BrandAdvantech
ModelADAM-5000/TCP Series
CategoryI/O Systems
LanguageEnglish

Related product manuals