beautypg.com

Delta RMC151 User Manual

Page 798

background image

RMC70/150 and RMCTools User Manual

Master Scale and Offset

The Master Scale and Master Offset parameters scale or shift the curve master. The X

value used to index into the curve is found using the following formula:

X = ( Master Value + Master Offset ) x Master Scale

This can also be viewed as shifting and expanding or contracting the curve itself along the

X axis. From that perspective, the X value for each point is calculated as follows:

X

new

= (X

original

÷ Master Scale) - Master Offset

The Master Offset applies only to absolute master alignment. The Master Scale applies to

both absolute and relative master alignment.

Status Block

Advanced users may wish to use the Curve Start Advanced command's Status Block,

which provides read-only information on the curve motion. This information is most useful

when manipulating the curve in user programs.
To use the Status Block, you must specify an address from the Variable Table in the

Status Block parameter of the Curve Start Advanced command. The Status Block will

require six registers in the Variable Table, beginning with the specified address. As the

curve motion progresses, the selected registers in the Variable Table will be continuously

updated. The selected variables will not be named automatically; you should give a

descriptive name to each to help you keep track of them.
To prevent confusion, curves that are running simultaneously should not use the same

Status Block address. Non-simultaneous curves can use the same Status Block address.
The Status Block provides the following information:

Status

Block

Offset

Name Data

Type

Description

0

Current

Cycle
Count

REAL

The whole number of cycles of the curve that have been

completed.
For continuous curves (without a fixed number of cycles),

this value will wrap to zero after it reaches 10,000,000 and

then continue incrementing. For curves with a fixed number

of cycles, this value will not go beyond the requested cycle

count.

1

Current

Index

REAL

Indicates the current X value being used for interpolating

through the curve. This value is in the original X scale and

offset with which the curve was defined. This value will wrap

for each cycle.

2

Current

Curve

Scale

REAL

The current Curve Scale of the curve.

3

Current

Curve

Offset

REAL

The current Curve Offset of the curve. This value is calculated

automatically for the Relative Curve Alignment option.

4

Current

Master

Scale

REAL

The current Master Scale of the curve.

5

Current

Master

Offset

REAL

The current Master Offset of the curve. This value is

calculated automatically for the Relative Master Alignment

option.

Running a Curve Backwards

778

Delta Computer Systems, Inc.

This manual is related to the following products: