MC-Basic:SERCOS.NUMBERAXES

From SoftMC-Wiki
Revision as of 11:50, 11 March 2014 by Nurit (talk | contribs)
Jump to: navigation, search

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.

IMPORTANT.svgIMPORTANT
THIS COMMAND IS OBSOLETE

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

Examples

If sercos.NumberAxes <> 5 Then ...

See Also