Segment info a, b information – Despatch Protocol 3 Modbus Communications User Manual

Page 42

Advertising
background image

A

DDRESS LIST

Modbus Programming Manual

42

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.

Editing or Inserting Segments - Request (to instrument)

Field Name

Data

Comments

(Dec)

(Hex)

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

Segment Position High Byte

A/R

A/R

The segment number to edit or insert at

Segment Position Low Byte

A/R

A/R

Segment Type High Byte

00

00

0 = Ramp Time, 1 = Ramp Rate,
2 = Step, 3 = Dwell, 4 = Hold, 5 = Loop
6 = Join, 7 = End, 8 = Repeat sequence
then end

Segment Type Low Byte

A/R

A/R

Segment Info A (Byte 4 - High)

Floating point number

The meaning of the data contained in
Segment Info A depends on the type of
segment it relates to. See section 12.5.5.

Segment Info A (Byte 3)

Segment Info A (Byte 2)

Segment Info A (Byte 1 - Low)

Segment Info B (Byte 4 - High)

Floating point number

The meaning of the data contained in
Segment Info B depends on the type of
segment it relates to. See section 12.5.5.

Segment Info B (Byte 3)

Segment Info B (Byte 2)

Segment Info B (Byte 1 - Low)

Auto Hold Type High Byte

A/R

A/R

0 = Auto-Hold Off, 1 = Hold above SP,
2 = Hold below SP, 3 - Hold above and
below SP

Auto Hold Type Low Byte

A/R

A/R

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

The instrument replies to this message with an Edit Response Message Section 2.9.5.9.

2.9.5.5. Segment Info A, B Information

The Segment Data is included in the command message when creating, editing or inserting
segments (see above). 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, these data values should be set to zero when writing the segment data.

Segment Type

Segment Info

Description

A

B

Ramp Time

Time (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 (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

Advertising