MC-Basic:SYSTEM.MOTION

From SoftMC-Wiki
Jump to: navigation, search
Language: English  • 中文(简体)‎

SYSTEM.MOTION must be 1 (ON) for any motion command to be executed successfully. The status of motion is terminated by the motion profiler. If MOTION switches to 0 (OFF), any motion currently in progress is stopped and decelerates to zero velocity at the maximum deceleration value, and any motion in the motion buffers is flushed. The motion flag for each axis must also be ON for a motion command to be executed.

Syntax

Sys.Motion = <value>

System.Motion = <value>

?Sys.Motion

?System.Motion

Availability

All versions

Type

Long

Range

0 (OFF)
1 (ON)

Default

1

Scope

Configuration, Task or Terminal

Limitations

The SYSTEM.MOTION flag is set to zero by the default system error handler. When this occurs, the SYSTEM.MOTION flag can be reset to 1 only from the terminal.

Examples

System.Motion = On

See Also