Starting a sequence – Delta MMC120 User Manual

Page 100

Advertising
background image

Appendix B: Event Control

MMC120 Linear Motion Control Module

100

Delta Computer Systems, Inc 360/254-8688

Example

In the following example three steps are executed. They cause the axis to make a move, wait, and then make
another move:

Step 15

Step 16

Step 17

Mode

00001

00001

00001

Accel

100

100

100

Decel

100

100

100

Speed

10000

10000

10000

Command Value

15500

10000

3000

Command

G

G

Link Type

B

D

0

Link Value

00001

500

0

Link Next

16

17

0

Step 15 issues a “Go” command to 15.5 inches (15500). The link type is B with a link value of 00001, which
causes the MMC120 to look for the least significant bit in the status word (the In Position bit). When the In
Position bit turns on, indicating the move is complete, Step 16 (Link Next - 16) is executed.

Step 16 has no command entered, so no command is issued. The link type is a Delay with a value of 500
milliseconds. After 500 milliseconds pass, Step 17 executes.

Step 17 issues a “Go” to 3 inches. The Link Type 0 (zero) causes the axis to terminate the sequence.

Starting a Sequence

Triggering Events

To trigger or start an event sequence, place the Step number you want to execute (0 to 255) in the Command
Value field, then issue an 'E' command.

Mode

00001

Not used (can be any value)

Accel

100

Not used (can be any value)

Decel

100

Not used (can be any value)

Speed

10000

Not used (can be any value)

Command Value

4

Execution will begin at Step 4

Command

E

69 Decimal (45 Hex)

Ending a sequence

A Halt, Quit, or Kill command will cause the axis to stop executing Steps. A Quit or Kill command also sets
the Step # to 0, and a Kill command also puts the axis in the emergency stop state. The preferred way to end a
sequence is with a Link Type 0.

Advertising