MC-Basic:SERCOS.SCAN

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

This property indicates to the SERCOS driver whether to scan the ring for drives. If the property is set to a value greater than 0, the ring is scanned during communication phase 1. The scan value indicates the highest drive address for which to scan. For example, if the value is set to 5, the ring is scanned for drives at addresses up to 5.
       0 = Do not scan the ring
       Greater than zero = Scan the ring for drives at addresses up to the value given.

Short form

Ser.Scan

Syntax

Sercos.Scan = <value>

?Sercos.Scan

Availability

All versions

Type

Long

Range

0 to 254

Scope

Configuration, Task or Terminal

Limitations

  • The property only has an effect when set in communication phase 0.
  • Not supported in EtherCAT system

Examples

Sercos.scan = 5                               ‘Scan for drives up to address 5

See Also