MC-Basic:axis.HOMESTATUS

From SoftMC-Wiki
Revision as of 08:32, 19 April 2017 by Chi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language: English  • 中文(简体)‎

This property returns the homing status of the axis.
0 – axis not homed
1 – axis homed
2 – home in progress
3 – error in homing process

Short form

<axis>.Hstat

Syntax

?<axis>.HomeStatus

Availability

All versions

Type

Long

Range

0 to 3

Default

0

Scope

Task or Terminal

Limitations

  • Read only
  • Valid in communications phase 2 or higher
  • Not supported in EtherCAT system

Examples

While (a1.hstat = 2)

<code>

End While

See Also