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

From SoftMC-Wiki
Jump to: navigation, search
m (Miborich moved page Axystems:MC-Basic:axis.DRIVEADDRESS to MC-Basic:axis.DRIVEADDRESS: Global renaming of Axystems: namespace into (Main):)
Line 36: Line 36:
  
 
|SEE ALSO=
 
|SEE ALSO=
* [[Axystems:MC-Basic:axis.SIMULATED|axis.SIMULATED]]
+
* [[MC-Basic:axis.SIMULATED|axis.SIMULATED]]
  
  
 
}}
 
}}

Revision as of 08:47, 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