![background image](http://html1.mh-extra.com/html/advantech/adam-5000-tcp-series/adam-5000-tcp-series_manual_2857301105.webp)
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:
Command Body
Requested
Requested
Station
Address
Function
Code
Start
Address
Start
Address
Number of
Register
Number of
Register
Byte
Count
Data
High Byte Low Byte
High Byte
Low Byte
Example:
Preset constant #1 (address 40009) to 100.0 in ADAM-5000/TCP.
01 10 00 09 00 02 04 42 C8 00 00
Response message format for function code 16:
The normal responses return the station address, function code, start
address, and requested number of registers preset.
Command Body
Requested
Requested
Station
Address
Function
Code
Start
Address
High Byte
Start
Address
Low Byte
Numberof
Register High
Byte
Numberof
Register Low
Byte
Example:
01 10 00 09 00 02
6-38
ADAM-5000/TCP
User’s Manual
Summary of Contents for ADAM-5000/TCP Series
Page 1: ......
Page 23: ......
Page 44: ...4 I O modules...
Page 148: ......
Page 183: ......
Page 218: ......
Page 300: ...Appendix A Design Worksheets...
Page 307: ...Appendix A Design Worksheets A 8 ADAM 5000 TCP User s Manual...
Page 308: ...Appendix B Data Formats and I O Ranges...
Page 323: ...Appendix B Data Formats and I O Ranges B 13 ADAM 5000 TCP User s Manual...
Page 324: ...Appendix C Grounding Reference...
Page 331: ...Appendix C Grounding Reference Figure C 6 wire impedancC C 8 ADAM 5000 TCP User s Manual...