beautypg.com

Emerson P/N 400361-00 User Manual

Page 86

background image

72 www.emersonct.com SM-EZMotion Module User Guide

(Index.0.Initiate or Index.0.CompoundInitiate), not the
index itself, determines whether or not the index will
execute a deceleration ramp. For example, Index.0 can be
used multiple times in multiple programs. It can be initiated
at different times using the Index.0.Initiate instruction and
the Index.0.CompoundInitiate instruction.

A comment is automatically inserted after the index
instruction that shows key data about the particular index.
The comment starts with the apostrophe ' character.

Examples:

Index.0.CompoundInitiate

Index.1.CompoundInitiate

Index.2.Initiate

Wait For Index.AnyCommandComplete

Index.0.CompoundInitiate

SPIO.1.OUT=ON

Index.1.CompoundInitiate

SPIO.2.OUT=ON

Index.2.Initiate

SPIO.3.OUT=ON

Wait For Index.AnyCommandComplete

SPIO.1.OUT=OFF

SPIO.2.OUT=OFF

SPIO.3.OUT=OFF

8.4.2.5 Home.Initiate

This program instruction is used to initiate the home.

A comment is automatically inserted after the Home.Initiate
instruction that shows key data about the particular home.
The comment starts with the apostrophe ' character. A
"Wait For Home.AnyCommandComplete" instruction is not
required because the home is actually a program which
already has a "Wait For" instruction.

Examples:

Home.0.Initiate'Sensor,Offset=2.000in,Vel=-10.0in/s

8.4.2.6 Jog.Stop

This program instruction is used to halt jogging using the
deceleration ramp setup for the currently operating jog.

Examples:

Wait For EZInput.2=ON

Jog.0.MinusInitiate

Wait For EZInput.2=OFF

Jog.Stop

Do While(TRUE)

If (EZInput.2=ON) Then
Jog.0.PlusInitiate
Wait For EZInput.2=OFF
Jog.Stop

EndIf

If (EZInput.3=ON) Then
Jog.0.MinusInitiate
Wait For EZInput.3=OFF

Jog.Stop
EndIf

Loop

8.4.2.7 Jog.PlusInitiate

This program instruction is used to initiate jogging in the
positive direction. The Jog.Stop instruction is used to stop
jogging motion.

A comment is automatically inserted after the
Jog.PlusInitiate instruction which shows key data about the
particular jog. The comment starts with the apostrophe '
character.

Examples:

Jog.0.PlusInitiate 'Vel=27.2in/s

Jog.1.PlusInitiate 'Sync,Vel=1.000in/in

8.4.2.8 Jog.MinusInitiate

This program instruction is used to initiate jogging in the
negative direction. The Jog.Stop instruction is used to stop
jogging motion.

A comment is automatically inserted after the
Jog.MinusInitiate instruction which shows key data about
the particular jog. The comment starts with the apostrophe
' character.

Examples:

Jog.0.MinusInitiate 'Vel=27.2in/s

Jog.1.MinusInitiate 'Sync,Vel=1.000in/

in

8.4.2.9 Program.Initiate

This instruction allows the user to start another program
from within a program. This is different from a Call Program
instruction because the program this instruction is in does
not stop when the other program starts. Therefore the
program that is initiated must be on a different task. See
“Program Multi-tasking” on page 74.

Example:

Program.2.Initiate

8.4.2.10 Gear.Stop

Gear Stop will stop gearing motion that has been initiated
from a program.

Example:

Gear.Initiate

Wait for EZInput.2=ON

Gear.Stop

8.4.2.11 Gear.Initiate

Gear Initiate will initiate gearing from a program. Gearing
will remain active until the Gear.Stop command is used.