Read a profile name (command code pn) – Despatch Protocol 3 Modbus Communications User Manual
Page 49

Modbus Programming Manual
A
DDRESS LIST
Version 2
49
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.
Read A Segment - Response (from instrument)
Field Name
Data
Comments
(Dec)
(Hex)
Auto Hold Value (Byte 4 - High)
Floating point number
Auto Hold Value (Byte 3)
Auto Hold Value (Byte 2)
Auto Hold Value (Byte 1 - Low)
Events High Byte
00
00
The status of the five events are defined by
the lowest 5 bits of the low byte. A bit value
of 1 signifies the event is on.
Bit 0 = event 1, bit 1 = event 2, bit 3 = event
4 and bit 5 = event 4.
Events Low Byte
A/R
A/R
CRC High Byte
A/R
A/R
CRC Low Byte
A/R
A/R
Segment Data
The Segment Data is included in the response to a Read Segment request. It is provided in two
parts (Segment Info A and B).
The meaning of the data contained in Segment Info A and B depends on the type of segment it
relates to. Null is shown for unused data, this can be any value.
Segment Type
Segment Info
Description
A
B
Ramp Time
Time (in seconds)
Target setpoint
Ramp to
the target setpoint “B” in the time “A”
Ramp Rate
Ramp rate
Target setpoint
Ramp to the target setpoint “B” at the ramp rate “A”
Step
Null
Target setpoint
Step to a target setpoint “B”
Dwell
Dwell time (in seconds)
Null
Stay at the current setpoint for
a period of time “A”
Hold
0 = Operator
Null
Wait for the operator to release the hold
1 = Time of day
Start Time
Wait until time of the day “B” in seconds since
midnight.
Loop
Number of times to
repeat 1 to 9999
Segment number
Loop to the
specified segment number “B” from this
point. Repeat this “A” times. Only segments below the
current segment can be entered. Two loops must not
cross each other.
Join
Null
Profile number
On completion of this profile jump run profile “B”
End
0 = Control off
Null
Turn off all control outputs.
1 = Maintain profile
setpoint
Null
Stay at the final setpoint of the profile
2 = Control off with
events
Null
Turn off the outputs but maintain the events.
Repeat
Sequence Then
End
0 = Outputs off
Number of times to
repeat sequence
Repeat the profile sequence number “B” times, then
turn off the control outputs
1 = Maintain profile
setpoint
Repeat the profile sequence number “B” times, then
hold the last profile setpoint.
2 = Control off with
events
Turn off the outputs but maintain the events.
2.9.5.12. Read a profile Name (Command Code PN)
This command returns the name of the profile defined by the profile number requested.