MC-Basic:axis.HOMEDIRECTION

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

This property specifies the direction of the home search movement.
-1 – Moves axis in negative direction
1 – Moves axis in positive direction

Short form

<axis>.Hdir

Syntax

<axis>.HomeDirection = <value>

Availability

All versions

Type

Long

Range

-1 or 1

Default

Dependent on the drive

Scope

Task or Terminal

Limitations

  • 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.hdir = 1

See Also