MC-Basic:axis.HOMEPOLARITY

From SoftMC-Wiki
Revision as of 16:10, 13 December 2010 by Arwiebe (talk | contribs) (1 revision)
Jump to: navigation, search

This property specifies the homing switch edge.
       1 – rising edge
       2 – falling edge

Short form

<axis>.Hpol

Syntax

<axis>.HomePolarity = <value>

Availability

All versions

Type

Long

Range

1 or 2

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).

Examples

a1.hpol = 1

See Also