Difference between revisions of "MC-Basic:SERCOS.NUMBERAXES"

From SoftMC-Wiki
Jump to: navigation, search
m
m
Line 28: Line 28:
  
 
|LIMITATIONS=
 
|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.
+
*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
 
*Not supported in EtherCAT system
  

Revision as of 14:03, 26 March 2014

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