MC-Basic:element.MOTION
Language: | English • 中文(简体) |
---|
The MOTION value must be 1 (ON) for any motion command to be executed successfully. In addition, the status of MOTION is terminated by the servo interrupt. If MOTION switches to 0 (OFF), any motion currently in progress is aborted and any motion in the motion buffers is flushed. The drive can be enabled if MOTION is off.
In addition to the <element>.MOTION flag, the SYSTEM.MOTION flag must also be ON in order for motion to be commanded.
Short form
<element>.Motion
Syntax
<element>.Motion = <value>
?<element>.Motion
Availability
All versions
Type
Long
Range
0 (OFF)
1 (ON)
Default
1
Scope
Configuration, Task or Terminal
Limitations
The value must be 1 (ON) for any motion command to be executed successfully.
Examples
Axis
A1.Motion = 1
?A1.Motion </br>
Group
G1.Motion = 1
?G1.Motion