Reading a profile header (command code rp) – Despatch Protocol 3 Modbus Communications User Manual
Page 46

A
DDRESS LIST
Modbus Programming Manual
46
Version 2
Copyright © 2012 by Despatch Industries.
All rights reserved. No part of the contents of this manual may be reproduced, copied or transmitted in any form or by any
means including graphic, electronic, or mechanical methods or photocopying, recording, or information storage and
retrieval systems without the written permission of Despatch Industries, unless for purchaser's personal use.
Command Response Name
Two Byte Response
Description
type defined
Auto Hold Type Invalid
0xF0
0x0E
The auto hold type is not recognized
Auto Hold Value Invalid
0xF0
0x0F
The auto hold value is not within input span
Events Value Invalid
0xF0
0x10
The events are not within range
No Segments Remaining
0xF0
0x11
There are no more segments available
Write Length Invalid
0xF0
0x12
The number of parameters to be written are invalid for
the function requested
Segment Setpoint Clamped
0xF0
0x13
The setpoint value entered was out of bounds. It has
been clamped within the units setpoint limits.
2.9.5.10. Reading a Profile Header (Command Code RP)
Read A Profile Header - Request (to instrument)
Field Name
Data
Comments
(Dec)
(Hex)
Unit Address
A/R
A/R
The ID address of the instrument
Function Code
23
17
Requires the multi read/write function
Read Start Address High Byte
32
20
Read Start Address Low Byte
06
06
Read Quantity Of Registers High Byte
00
00
Read Quantity Of Registers Low Byte
18
12
Write Start Address High Byte
32
20
Write Start Address Low Byte
06
06
Write Quantity Of Registers High Byte
00
00
Write Quantity Of Registers Low Byte
02
02
Byte Count
04
04
Command Code High Byte
82
52
Command Code Low Byte
80
50
Profile Number High Byte
A/R
A/R
Number of the profile to read
Profile Number Low Byte
A/R
A/R
CRC High Byte
A/R
A/R
CRC Low Byte
A/R
A/R
The instrument replies to the Read A Profile Header request as follows:
Read Profile Header - Response (from instrument)
Field Name
Data
Comments
(Dec)
(Hex)
Unit Address
A/R
A/R
The ID address of the instrument
Function Code
23
17
The multi read/write function
Byte Count
36
24
Profile Name Character 1
A/R
A/R
The ASCII codes equivalent to each of the
16 characters of the profile name, e.g. :
A = 65dec / 0x41, B = 66dec / 0x42 etc
a = 97dec / 0x61, b = 98dec / 0x62
The space character (32dec / 0x20hex) is
Profile Name Character 2
A/R
A/R
Profile Name Character 3
A/R
A/R
Profile Name Character 4
A/R
A/R
Profile Name Character 5
A/R
A/R
Profile Name Character 6
A/R
A/R