MC-Basic:axis.IN2

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

Returns the state of the drive digital input 2 as defined by <axis>.IN2MODE.

0 – off
1 – on

Syntax

<axis>.In2

Availability

All versions

Type

Long

Range

0 or 1

Scope

Task or Terminal

Limitations

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

Examples

?a1.In2

See Also