Advantech ADAM-5000/TCP Series Manual page 85

Distributed da&c system based on ethernet
Table of Contents

Advertisement

Chapter 6
ADAM5KTCP_WriteCoil
Description:
Syntax:
Parameter:
szIP[in]:
wID[in]:
wStartAddress[in]: the starting address that to be written
wCount[in]:
byData[out]:
Return:
6-18
ADAM-5000/TCP User's Manual
Planning Your Application Program
Write the coils value at a specified range described
in parameters.
int ADAM5KTCP_WriteCoil(char szIP[], WORD
wID, WORD wStartAddress, WORD wCount, BYTE
byData[]);
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 coils to be written
an unsigned 8 bit array that stored values written to
coil
Please refer to Chapter 6-2-4 "Return Codes" for more
detail information

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-5000l/tcp

Table of Contents