Function to synchronize a slave axis to a master axis such that the slave reaches the synchronism quota, with specified speed, at each cycle of the master. The synchronism occurs for a single point.
Syntax |
real mv_synchro (i32 return, stru_synchro stru) |
---|---|
return |
Variable containing information about the status of the function (returns codes) |
stru |
Structure of type stru_synchro containing parameters related to the handling |
Result |
Updated position value of the slave axis returned by the function |
Validity |
Rule |
Note |
Example on oscilloscope of a possible output of the function: For a concrete example see in the RDE environment: Workspace -> Specials -> Examples Library. |