Difference between revisions of "MC-Basic:axis.MASTERSOURCE"
Line 1: | Line 1: | ||
+ | {{Languages}} | ||
{{MC-Basic | {{MC-Basic | ||
|SHORT FORM= | |SHORT FORM= |
Revision as of 14:11, 19 April 2017
Language: | [[::MC-Basic:axis.MASTERSOURCE|English]] • [[::MC-Basic:axis.MASTERSOURCE/zh-hans|中文(简体)]] |
---|
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 Motion-Bus 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