MC-Basic:axis.HOMEACCELERATION

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

This property specifies the requested acceleration or deceleration to be used during the HOME procedure.

Short form

<axis>.Hacc

Syntax

<axis>.HomeAcceleration = <value>

Availability

All versions

Type

Double

Range

Greater than 0 (limited by the drive)

Units

User acceleration units

Default

Dependent on the drive

Scope

Task or Terminal

Limitations

  • Limited by the drive
  • Valid in communications phase 2 or higher.
  • To set the value within a task, the axis must be attached to that task (using the ATTACH command).
  • Not supported in EtherCAT system

Examples

a1.hacc = 1000

If (a1.hacc<2000) Then
       <code>

End If

See Also