Difference between revisions of "AXY:MC-Basic:axis.ENABLE"

From SoftMC-Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
{{Languages}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=

Revision as of 03:32, 19 April 2017

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.

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.

0 (OFF) - Drive disable
1 (ON) - Drive enable

Short form

<axis>.En

Syntax

<axis>.Enable = <value>

?<axis>.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 in order for a drive to be enabled.

Examples

a1.enable = 1

See Also