MC-Basic:axis.DRIVEENABLE

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

This property allows direct control over control bit 14. When this bit and bit 15 (DRIVEON) are set to 1, the drive is enabled (if all other conditions for enable are met (e.g., no faults, remote enable is high)). Setting this bit to 0 immediately disables the drive and the motor coasts.

Direct use of this bit is usually not necessary. Use the <axis>.ENABLE property to enable and disable the drive.

A query of this property returns the state of this request and not the state of the drive.

Short form

<axis>.DEn

Syntax

<axis>.DriveEnable = <expression>
?<axis>.DriveEnable

Availability

All versions

Type

Long

Range

0 or 1

Scope

Configuration, Task or Terminal

Limitations

  • Executed only in SERCOS communication phase 4
  • Not supported in EtherCAT system

Examples

?a1.den

See Also