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

From SoftMC-Wiki
Jump to: navigation, search
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{Languages|MC-Basic:axis.DRIVEADDRESS}}
 
{{MC-Basic
 
{{MC-Basic
 
|SHORT FORM=
 
|SHORT FORM=
Line 14: Line 15:
 
'''* SERCOS:'''<br>
 
'''* SERCOS:'''<br>
 
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.<br>
 
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.<br>
'''* CANOpen:'''<br>
+
'''* CANopen:'''<br>
 
This property associates an axis with a drive. Usually address is set by a DIP/Rotary switch (located at device/node!) or stored in node's nonvolatile memory.<br>
 
This property associates an axis with a drive. Usually address is set by a DIP/Rotary switch (located at device/node!) or stored in node's nonvolatile memory.<br>
 
The association is set explicitly, using this property. Value reflects 7 LSBs in TPDO/RPDO COBID.<br>
 
The association is set explicitly, using this property. Value reflects 7 LSBs in TPDO/RPDO COBID.<br>
 
softMC will start sending/receiving PDOs only when this property is not zero.<br>  
 
softMC will start sending/receiving PDOs only when this property is not zero.<br>  
see [[:Category:CANOpen:Setup|CAN_SETUP]] for details<br>
+
see [[:Category:CANopen:Setup|CAN_SETUP]] for details<br>
 
'''* EtherCAT:'''<br>
 
'''* EtherCAT:'''<br>
 
This property associates an axis with a drive. Reflects physical (topology) position  of the device (node) on the network, that's, first device has address 1, second is 2 and so on.<br>
 
This property associates an axis with a drive. Reflects physical (topology) position  of the device (node) on the network, that's, first device has address 1, second is 2 and so on.<br>
Line 24: Line 25:
 
The association is set explicitly, using this property.<br>
 
The association is set explicitly, using this property.<br>
  
see [[:Category:EtherCAT:SETUP-EC|EC_SETUP]] for details
+
see [[:Category:EtherCAT:EC SETUP|EC_SETUP]] for details
 +
 
 +
{{Note/Important|
 +
Property can be set only when Ax.NodeID is set to zero. This is restriction rises from safety considerations}}<br>
 +
{{Note/Important|
 +
Ax.NodeID MUST be set to a value different from zero in order to enable the axis}}<br>
 
|TYPE=
 
|TYPE=
 
Long
 
Long
Line 45: Line 51:
 
'''* EtherCAT:'''<br>
 
'''* EtherCAT:'''<br>
 
Property can be set only in PREOP mode.
 
Property can be set only in PREOP mode.
 +
Property can be set only when Ax.NodeID is set to zero. This is restriction rises from safety considerations
 
|EXAMPLE=
 
|EXAMPLE=
 
a1.dadd = 10
 
a1.dadd = 10
  
 
|SEE ALSO=
 
|SEE ALSO=
 +
* [[MC-Basic:axis.NODEID|axis.NODEID]]
 
* [[MC-Basic:axis.SIMULATED|axis.SIMULATED]]
 
* [[MC-Basic:axis.SIMULATED|axis.SIMULATED]]
  
  
 
}}
 
}}

Latest revision as of 08:07, 7 August 2018

Language: English  • 中文(简体)‎

* SERCOS:
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.
* CANopen:
This property associates an axis with a drive. Usually address is set by a DIP/Rotary switch (located at device/node!) or stored in node's nonvolatile memory.
The association is set explicitly, using this property. Value reflects 7 LSBs in TPDO/RPDO COBID.
softMC will start sending/receiving PDOs only when this property is not zero.
see CAN_SETUP for details
* EtherCAT:
This property associates an axis with a drive. Reflects physical (topology) position of the device (node) on the network, that's, first device has address 1, second is 2 and so on.
Fist device is the device that is connected to the softMC EtherCAT port.
The association is set explicitly, using this property.

see EC_SETUP for details

IMPORTANT.svgIMPORTANT
Property can be set only when Ax.NodeID is set to zero. This is restriction rises from safety considerations

IMPORTANT.svgIMPORTANT
Ax.NodeID MUST be set to a value different from zero in order to enable the axis

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

* SERCOS:
The physical address is explicitly set only during communication phase 0.
* EtherCAT:
Property can be set only in PREOP mode. Property can be set only when Ax.NodeID is set to zero. This is restriction rises from safety considerations

Examples

a1.dadd = 10

See Also