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 #83 background imageLoading...
Page #83 background image
Chapter 6
Planning Your Application Program
ADAM5KTCP_WriteReg
Description: Write the holding register value at a specified range
described in parameters.
Syntax: int ADAM5KTCP_WriteReg(char szIP[], WORD
wID, WORD wStartAddress, WORD
wCount, WORD wData[]);
Parameter:
szIP[in]: the IP Address of the ADAM-5000/TCP that to be
connected
wID[in]: the specific device ID for an Modbus/TCP device.
The ADAM-5000/TCP is always assigned as 1
wStartAddress[in]: the starting address that to be written
wCount[in]: how many holdings register to be written
wData[out]: a unsigned 16 bits array that stored the value write
to holding value
Return: Please refer to Chapter 6-2-4 “Return Codes” for more
detail information
6-16 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