Advantech ADAM-5000/TCP Series Manual page 105

Distributed da&c system based on ethernet
Table of Contents

Advertisement

Chapter 6
Planning Your Application Program
Function Code 16 (10 hex) Preset values into a
sequence of holding registers. Request message
format for function code 16:
Station
Function
Address
Code
Example:
Response message format for function code 16:
The normal responses return the station address, function code, start
address, and requested number of registers preset.
Station
Address
Example:
6-38
ADAM-5000/TCP User's Manual
Start
Address
Address
High Byte Low Byte
Preset constant #1 (address 40009) to 100.0 in ADAM-5000/TCP.
01 10 00 09 00 02 04 42 C8 00 00
Start
Function
Address
Code
High Byte
01 10 00 09 00 02
Command Body
Requested
Start
Number of
Register
High Byte
Command Body
Start
Address
Register High
Low Byte
Requested
Number of
Byte
Register
Count
Low Byte
Requested
Requested
Numberof
Numberof
Register Low
Byte
Data
Byte

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-5000l/tcp

Table of Contents