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 #79 background imageLoading...
Page #79 background image
Chapter 6
Planning Your Application Program
ADAM5KTCP_Connect
Description: Establish a Windows Sockets connection in a speci-
fied ADAM-5000/TCP system.
Syntax: int ADAM5KTCP_Connect(char szIP[ ], unsigned
short port, int iConnectionTimeout, int iSendTimeout,
int iReceiveTimeout);
Parameter:
szIP[in]: the IP Address of the ADAM-5000/TCP that to be
connected
port[in]: the TCP/IP connection port used with Modbus/TCP,
502 default
iConnectionTimeout[in]: the specified timeout interval for connecting
to the ADAM-5000/TCP
iSendTimeout[in]: the specified timeout interval for sending a
command to the ADAM-5000/TCP
iReceiveTimeout[in]: the specified timeout interval for receiving response
from the ADAM-5000/TCP
Return: Please refer to Chapter 6-2-4 “Return Codes” for more
detail information
6-12 ADAM-5000/TCP User’s Manual

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