beautypg.com

Linking steps – Delta MMC120 User Manual

Page 97

background image

MMC120 Linear Motion Control Module

Appendix B: Event Control

Delta Computer Systems, Inc 360/254-8688

97

Linking Steps

Link Next

Link Next is the number of the Step to be executed in the sequence as soon as the conditions specified by Link
Type and Link Value are met. Its range is 0 to 255.

Link Type and Link Value

Link Type and Link Value specify the condition which causes the MMC120 to execute the next Step in a
sequence. There are two link types: Basic and Enhanced. The Basic Link Types issue commands to an axis
based on its own position, speed, or status. The Extended Link Types issue commands to an axis based on the
position, speed, or status of the other axis. The Basic link types are case-significant ASCII values, while the
Extended link types are specified with a hex number in which the bits specify the axis number and link type.

Basic Link Types

Link Type

Description

Link Value

Range

0 (zero)

End of chain

None

None

B

Status bits set

Bit pattern

Any bits

b

Status bits cleared

Bit pattern

Any bits

D

Delay

Time in milliseconds

0 to 65,535

L

Programmable Limit switch
(Target Position set-point)

Position in Position Units

0 to 65,535

l

Actual position

Position in Position Units

0 to 65,535

N

Relative from Command
Position

Position in Position Units

0 to 65,535

n

Relative from Actual Position

Position in Position Units

0 to 65,535

R

Target Position relative from
Start

Position in Position Units

0 to 65,535

r

Actual Position relative from
Start

Position in Position Units

0 to 65,535

S

Target Speed

Speed in Position Units per
second

0 to 65,535

s

Actual Speed

Speed in Position Units per
second

0 to 65,535

Link Type 0 (zero) - End of sequence

When this Link Type is encountered the sequence of steps is terminated. No additional steps are executed
unless they are started as a new sequence.

Link Type B - Status bit on

This Link Type causes the MMC120 to execute the next Step in the sequence as soon as one of the selected
status bits is set to 1. The Link Value for Link Type B is a bit pattern expressed in hexadecimal. For example,
bit pattern 0000 0000 0001 0000 binary is 0010 hex, and specifies bit 12 (State Bit A, indicating acceleration).
If this bit is set the next Step will execute.