MC-Basic:SERCOS.NUMBERAXES

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

This property allows you to query the actual number of SERCOS drives detected on the ring. This value is generated during communication phase 1, when the SERCOS driver scans the ring for drives (or when the the drive addresses are explicitly set). This property is used in expressions.

Short form

Ser.NAxes

Syntax

?Sercos.NumberAxes

Availability

All versions

Type

Long

Range

0 to 63

Scope

Configuration, Task or Terminal

Limitations

  • This read-only property is executed in all SERCOS communication phases, but returns zero if executed in communication phase 1. The number of drives is less than or equal to the number supported by the particular softMC.
  • Not supported in EtherCAT system

Examples

If sercos.NumberAxes <> 5 Then ...

See Also