MC-Basic:axis.MASTERSOURCE

From SoftMC-Wiki
Revision as of 17:42, 16 March 2014 by Lisa (talk | contribs) (Text replace - "''<axis>''" to "<''axis''>")
Jump to: navigation, search

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 (then the slave's TCMD is affected and not PCMD) <axis>.TORQUECOMMAND (TCMD)
  • Torque Feedback value (then the slave's TCMD is affected and not PCMD) <axis>.TORQUEFEEDBACK (TFB)
  • Torque Additive Command value (then the slave's TCMD is affected and not PCMD) <axis>.TORQUEADDITIVECOMMAND (TADDCMD)
  • Torque Drive's Command value (then the slave's TCMD is affected and not PCMD) <axis>.TORQUEDRIVECOMMAND (TDCMD)
  • Reset (delete the previous setting) NONE
NOTE-Info.svgNOTE
In old firmware versions (before 4.5.0).

It is important to take care for the ascending order of drive addresses that are connected into master slave chain. Master axis has to be always with a lower address then slave(<master>.dadd < <slave>.dadd), if opposite a position delay of at least one motion sample wil be generated. Referenced master axis must have lower elementId than slave, if additional delays have to be avoided.

NOTE-Info.svgNOTE
In Version 4.5.21 and higher.
In case of  chained  Master/Slave axes: Before any axis' MasterSource setting change,  the previous one must  be RESET  ( by MasterSource setting back 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-Info.svgNOTE
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

See Also