Uploading and downloading of profiles – Despatch Protocol 3 Modbus Communications User Manual
Page 35

ADDRESS LIST
Modbus Programming Manual
35
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.
Parameter Name
Modbus
Address
(Dec)
Modbus
Address
(Hex)
Access
R/W
Notes
Profile Control
8245
0x2035
R/W
0 = Do Nothing
1 = Run the selected profile
2 = Hold the currently running profile
3 = Abort the currently running profile
4 = Jump to the next segment
5 = Release a held profile
6 = Exit the profile control once the profile has
completed and is holding the last setpoint
Active Profile
Name
8259
0x2043
R
The currently selected profile name
Profile Status
8241
0x2031
R
0 = Stopped
1 = Running
2 = Held
3 = Delayed
4 = Error
5 = Aborted
6 = Ended
2.9. Uploading and Downloading of Profiles
The information in this section is intended for advanced users writing their own software code.
Most users will create or edit profiles using the instrument keypad or via BlueControl. Either
method allows quick and easy editing of profiles.
Advanced users can setup or edit profiles by writing to the Profile Configuration parameter at
address 8198 (0x2006). This can only be accessed by using Modbus function code 23 (0x17). The
instrument replies with a status message.
When creating a new profile the steps below must be followed exactly, either to create a profile at
the next available position, or at a position that you specify.
Each message in the sequence includes a 2 byte Command Code that tells the instrument the
purpose of the message, and therefore the meaning of the data contained in it.
The command codes support by this instrument are:
Command Code
Value Decimal
Value Hex
Function
CP
17232
0x4350
Create Profile
EP
17744
0x4550
Edit Profile
WP
22352
0x5750
Write Profile
WS
22355
0x5753
Create Segment
IS
18771
0x4953
Insert Segment
ES
17747
0x4553
Edit a Segment
DP
17488
0x4450
Delete a Profile
DA
17473
0x4441
Delete all profiles
DS
17491
0x4453
Delete a Segment
SR
21330
0x5352
Get the number of segments remaining
RP
21072
0x5250
Read Profile Header