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

From SoftMC-Wiki
Jump to: navigation, search
m
Line 11: Line 11:
 
|DESCRIPTION=
 
|DESCRIPTION=
 
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.
 
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.
 
{{Note/Important| '''THIS COMMAND IS OBSOLETE'''}}
 
  
 
|TYPE=
 
|TYPE=
Line 30: 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 MC.
 +
*Not supported in EtherCAT system
  
 
|EXAMPLE=
 
|EXAMPLE=

Revision as of 11:33, 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 MC.
  • Not supported in EtherCAT system

Examples

If sercos.NumberAxes <> 5 Then ...

See Also