Difference between revisions of "MC-Basic:axis.MASTERSOURCE"
m (Text replace - "''<axis>''" to "<''axis''>") |
|||
| Line 12: | Line 12: | ||
|DESCRIPTION= | |DESCRIPTION= | ||
| − | Defines the source of an axis when it is in a slave mode (Gear or | + | 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. |
|TYPE= | |TYPE= | ||
| Line 26: | Line 26: | ||
* System clock at 1 Sercos cycle resolution as '''TIMEPULSE''' | * System clock at 1 Sercos cycle resolution as '''TIMEPULSE''' | ||
| − | * Torque | + | * Torque command value (affects the slave's TCMD and not PCMD) <''axis''>'''.TORQUECOMMAND''' (TCMD) |
| − | * Torque | + | * Torque feedback value (affects the slave's TCMD and not PCMD) <''axis''>'''.TORQUEFEEDBACK''' (TFB) |
| − | * Torque | + | * Torque additive command value (affects the slave's TCMD and not PCMD) <''axis''>'''.TORQUEADDITIVECOMMAND''' (TADDCMD) |
| − | * Torque | + | * Torque drive command value (affects the slave's TCMD and not PCMD) <''axis''>'''.TORQUEDRIVECOMMAND (TDCMD) |
| − | * Reset ( | + | * Reset (deletes the previous setting) '''NONE''' |
| − | {{Note| '' | + | {{Note| ''Firmware versions prior to 4.5.0).''<br> |
| − | + | 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| '' | + | {{Note| ''Version 4.5.21 and higher.''<br> |
| − | + | For chained master/slave axes: Before changing any axis MasterSource setting, the previous one must be reset by setting MasterSource to NONE.}} | |
Revision as of 12:16, 18 March 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
Versions 3.6.20 and higher
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 (SERVOSTAR 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 can't be used as a string. To get the master name as a string use axis.MasterSource.Name query. |
Examples
Xaxis.Mastersource=Yaxis.pfb