Chapter 6
Planning Your Application Program
Response message format for function code 05: The normal response is
an echo of the query, returned after the coil state has been forced.
Station
Function
Coil
Command Body
Coil
Force
Force Data
Address
Code
Address
High Byte
Address
Low Byte
Data High Byte
Low Byte
Function Code 06
Presets integer value into a single register.
Request message format for function code 06:
Command Body
Station
Address
Function
Code
Register
Address
High Byte
Register
Address
Low Byte
Preset
Data High Byte
Preset
Data Low Byte
Example:
Preset register 40002 to 00 04 hex in ADAM-5000/TCP
01 06 00 02 00 04
Response message format for function code 06: The normal response is
an echo of the query, returned after the coil state has been preset.
Command Body
Station
Address
Function
Code
Register
Address
High Byte
Register
Address
Low Byte
Preset
DataHigh Byte
Preset
DataLow Byte
Function Code 08
Echoes received query message. Message can be any length up to half
the length of the data buffer minus 8 bytes. Request message format for
function code 08:
Command Body
Station Address
Function Code
Any data, length limited to approximately half the
length of the data buffer
6-36
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...