MC-Basic:element.ENABLE
Language: | English • 中文(简体) |
---|
This property enables or disables the drive. The property encapsulates operation of drive status bit 15, and causes an active disable of the drive when set to 0. The softMC interpreter is held until the requested state is actually achieved on the drive.
0 (OFF) - Drive disable
1 (ON) - Drive enable
For axis - When the drive is disabled, the motion controller of that axis is in a following mode, so the command follows the feedback. A message is generated by the softMC that the axis is now in following mode. Motion commands are not allowed when the drive is disabled.
Short form
<element>.En
Syntax
<element>.Enable = <value>
?<element>.Enable
Availability
All versions
Type
Long
Range
0 or 1
Default
0 (at power on)
Scope
Configuration, Task or Terminal
Limitations
Real axes are enabled and disabled only in SERCOS communication phase 4. Simulated axes are enabled and disabled in SERCOS communication phases 4 and 0. The SYSTEM.ENABLE flag must be ON to enable a drive.
Examples
Axis
A1.enable = 1
Group
G1.enable = 1