Despatch Protocol 3 Modbus Communications User Manual

Page 39

Advertising
background image

Modbus Programming Manual

A

DDRESS LIST

Version 2

39

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.

2.9.5.2. Editing/Creating a profile header at a location (Command Code EP

or WP)

Creating Or Editing A Profile Header at a specific location - 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

01

01

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

21

15

Byte Count

42

2A

42dec / 0x2Ahex if creating a profile at a
specified location, or editing a profile.

Command Code High Byte

69 or 87

45 or 57

Edit Profile (EP) = 17744dec / 0x4550hex
Write Profile (WP) = 23352dec / 0x5750hex

Command Code Low Byte

80

50

Profile Number High Byte

A/R

A/R

The profile number can be anything between
0 and 64

Profile Number Low Byte

A/R

A/R

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 etc

Note: Only valid characters from the
instruments supported character set
should be used

The space character (32dec / 0x20hex) is
used to fill any unused characters at the end
of the name

Characters 9 to 16 are not supported and
should be written to 32dec / 0x20hex

.

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

Profile Name Character 7

A/R

A/R

Profile Name Character 8

A/R

A/R

Profile Name Character 9

32

20

Profile Name Character 10

32

20

Profile Name Character 11

32

20

Profile Name Character 12

32

20

Profile Name Character 13

32

20

Profile Name Character 14

32

20

Profile Name Character 15

32

20

Profile Name Character 16

32

20

Profile Start Signal High Byte

00

00

0 = No delay, 1 = After delay, 2 = At
Time/day

Profile Start Signal Low Byte

A/R

A/R

Profile Start Time (Byte 4 - High)

Floating point number

Profile Start Time (Byte 3)

Profile Start Time (Byte 2)

Profile Start Time (Byte 1 - Low)

Profile Start Day High Byte

00

00

1 = Monday, 2 = Tuesday, 3 = Wednesday,
4 = Thursday, 5 = Friday, 6 = Saturday,
7 = Sunday, 8 = Monday to Friday,
9 = Monday to Saturday,
10 = Saturday And Sunday, 11= All Week

Profile Start Day Low Byte

A/R

A/R

Profile Starting Setpoint High

00

00

1 = Current Process Variable Value

Advertising