Difference between revisions of "MC-Basic:axis.DRIVEADDRESS"
m |
m (Text replace - "''<drive address>''" to "<''drive address''>") |
||
Line 4: | Line 4: | ||
|SYNTAX= | |SYNTAX= | ||
− | <''axis''>.DriveAddress = '' | + | <''axis''>.DriveAddress = <''drive address''><br> |
?<''axis''>.DriveAddress | ?<''axis''>.DriveAddress |
Revision as of 14:47, 17 March 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