Difference between revisions of "MC-Basic:axis.DRIVEADDRESS"

From SoftMC-Wiki
Jump to: navigation, search
m (Text replace - "''<drive address>''" to "<''drive address''>")
m (Miborich moved page Axystems:MC-Basic:axis.DRIVEADDRESS to MC-Basic:axis.DRIVEADDRESS: Global renaming of Axystems: namespace into (Main):)
(No difference)

Revision as of 08:45, 22 May 2014

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