MC-Basic:axis.DRIVEADDRESS

From SoftMC-Wiki
Revision as of 16:10, 13 December 2010 by Arwiebe (talk | contribs) (1 revision)
Jump to: navigation, search

This property associates an axis with a drive. The actual drive address is set by a DIP switch on the drive. If an axis is to be simulated, the drive address of that axis is set to zero. The association may be set explicitly, using this property, or the association may be set during SERCOS communication phase 1, when the SERCOS driver scans the ring for drives. You must explicitly ask that the ring to be scanned for drives, using the SERCOS.SCAN property.

Short form

<axis>.DAdd

Syntax

<axis>.DriveAddress = <drive address>

?<axis>.DriveAddress

Availability

All versions

Type

Long

Range

0 to 254

Default

0

Scope

Task or Terminal

Limitations

The physical address is explicitly set only during communication phase 0.

Examples

a1.dadd = 10

See Also