MC-Basic:axis.DRIVEADDRESS

From SoftMC-Wiki
Revision as of 15:21, 16 March 2014 by Lisa (talk | contribs)
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