Advantech ADAM-5000/TCP Series Manual page 83

Distributed da&c system based on ethernet
Table of Contents

Advertisement

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

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-5000l/tcp

Table of Contents