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

From SoftMC-Wiki
Jump to: navigation, search
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 CAM). The slave axis follows the command generated by that source.
+
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 Command value (then the slave's TCMD is affected and not PCMD) <''axis''>'''.TORQUECOMMAND''' (TCMD)
+
* Torque command value (affects the slave's TCMD and not PCMD) <''axis''>'''.TORQUECOMMAND''' (TCMD)
  
* Torque Feedback value (then the slave's TCMD is affected and not PCMD) <''axis''>'''.TORQUEFEEDBACK''' (TFB)
+
* Torque feedback value (affects the slave's TCMD and not PCMD) <''axis''>'''.TORQUEFEEDBACK''' (TFB)
  
* Torque Additive Command value (then the slave's TCMD is affected and not PCMD) <''axis''>'''.TORQUEADDITIVECOMMAND''' (TADDCMD)
+
* Torque additive command value (affects the slave's TCMD and not PCMD) <''axis''>'''.TORQUEADDITIVECOMMAND''' (TADDCMD)
  
* Torque Drive's Command value (then the slave's TCMD is affected and not PCMD) <''axis''>'''.TORQUEDRIVECOMMAND (TDCMD)
+
* Torque drive command value (affects the slave's TCMD and not PCMD) <''axis''>'''.TORQUEDRIVECOMMAND (TDCMD)
  
* Reset (delete the previous setting) '''NONE'''
+
* Reset (deletes the previous setting) '''NONE'''
  
{{Note| ''In old firmware versions (before 4.5.0).''
+
{{Note| ''Firmware versions prior to 4.5.0).''<br>
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.
+
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| ''In Version 4.5.21 and higher.''<br>
+
{{Note| ''Version 4.5.21 and higher.''<br>
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 ).}}
+
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-Info.svgNOTE
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-Info.svgNOTE
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-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