Sm - stop move, Command details, Parameter details – Applied Motion RS-232 User Manual

Page 203: Examples

Advertising
background image

203

920-0002 Rev. I

2/2013

Host Command Reference

SM - Stop Move

Compatibility: Q drives only
See also:

AM, DE, JL, SK, ST, QK commands

Stops any type of move in progress* such as FL or CJ. This command acts like the ST (Stop) command except it
will not stop a wait operation (like WD, WI, WP, or WT) and it can be part of a stored Q program. The contents of
the queue are not affected by the SM command

* = Exception: SH

NOTE: Requires Multi-Tasking to be enabled (MT1). By default Motion-Tasking is disabled, which means the
current move must complete before any subsequent buffered command (such as SM) can execute. With Multi-
Tasking enabled, subsequent commands may be processed while a move is in progress and the SM command
will execute properly.

Command Details:

Structure

SM(Parameter #1)

Type

BUFFERED

Usage

WRITE ONLY

Non-Volatile

NO

Register Access

None

Parameter Details:

Parameter #1

Deceleration rate

- units

letter

- range

D = deceleration rate set by DE command or JL command
(if jogging)
M = deceleration rate set by AM command

Examples:

Command

Drive sends

Notes

SMD

-

Stop motion immediately using the deceleration rate set by the DE

command or the JL command (if jogging)

SMM

-

Stop motion immediately using the deceleration rate set by the AM

command

Advertising
This manual is related to the following products: