Difference between revisions of "MC-Basic:axis.MASTERSOURCE"
m (Miborich moved page Axystems:MC-Basic:axis.MASTERSOURCE to MC-Basic:axis.MASTERSOURCE: Global renaming of Axystems: namespace into (Main):) |
|||
| Line 63: | Line 63: | ||
{{Note| | {{Note| | ||
| − | This query is a non-defined expression so it cannot be used as a string. To get the master name as a string use [[ | + | This query is a non-defined expression so it cannot be used as a string. To get the master name as a string use [[MC-Basic:axis.MasterSource.Name|axis.MasterSource.Name]] query.}} |
|EXAMPLE= | |EXAMPLE= | ||
| Line 71: | Line 71: | ||
* [[Axystems:MC-Basic:axis.SLAVE|axis.SLAVE]] | * [[Axystems:MC-Basic:axis.SLAVE|axis.SLAVE]] | ||
* [[MC-Basic:axis.GEARRATIO|axis.GEARRATIO]] | * [[MC-Basic:axis.GEARRATIO|axis.GEARRATIO]] | ||
| − | * [[ | + | * [[MC-Basic:axis.MasterSource.Name|axis.MasterSource.Name]] |
}} | }} | ||
Revision as of 08:46, 22 May 2014
Defines the source of an axis when it is in a slave mode (Gear or Cam). The slave axis follows the command generated by that source.
Short form
<axis>.MSour
Syntax
<axis>.MasterSource = <source>
?<axis>.MasterSource
Availability
Since Version 3.6.20
Range
- Position command of any axis, specified as <axis>.POSITIONCOMMAND
- Position feedback from any axis, specified as <axis>.POSITIONFEEDBACK
- External position (PEXT) from any axis (CDHD drive), specified as <axis>.POSITIONEXTERNAL
- System clock at 1 Sercos cycle resolution as TIMEPULSE
- Torque command value (affects the slave's TCMD and not PCMD) <axis>.TORQUECOMMAND (TCMD)
- Torque feedback value (affects the slave's TCMD and not PCMD) <axis>.TORQUEFEEDBACK (TFB)
- Torque additive command value (affects the slave's TCMD and not PCMD) <axis>.TORQUEADDITIVECOMMAND (TADDCMD)
- Torque drive command value (affects the slave's TCMD and not PCMD) <axis>.TORQUEDRIVECOMMAND (TDCMD)
- Reset (deletes the previous setting) NONE
| NOTE | |
| Firmware versions prior to 4.5.0). Ensure an ascending order of drive addresses that are connected into a master slave chain. The master axis must always have an address that is lower than the slave (<master>.dadd < <slave>.dadd), otherwise a position delay of at least one motion sample will be generated. The referenced master axis must have a lower elementId than the slave in order to avoid additional delays. |
| NOTE | |
| Version 4.5.21 and higher. For chained master/slave axes: Before changing any axis MasterSource setting, the previous one must be reset by setting MasterSource to NONE. |
Units
None
Default
NONE.NONE
Scope
Configuration, Task or Terminal
Limitations
- Cannot be changed while axis is slaved.
- To set the value within a task, the axis must be attached to that task (using the ATTACH command).
| NOTE | |
| This query is a non-defined expression so it cannot be used as a string. To get the master name as a string use axis.MasterSource.Name query. |
Examples
Xaxis.Mastersource=Yaxis.pfb