This module generates cyclical setpoint positions in user units and can execute additional positioning in conjunction with technology modules such as TB_SyncRot or TB_SyncLin.
The module generates setpoint positions based on a master position. The movement starts from a rest as soon as the master position (di_xPos) is the same as the start position (di_xOffs). The movement of the axis (di_yFact) is executed while the master path covers di_xFact. A velocity profile without a velocity plateau is generated.
Recommended task: |
Event |
Libraries used: |
ARITHMETIC_xxbd00 or higher |
InOut Parameter
Input Parameter
Marking: |
Data type: |
Description: |
x_Enable |
BOOL |
TRUE: Enabling of the module. |
di_xPos |
DINT |
Current master position in user units. |
di_xOffs |
DINT |
Start position of the master axis for movement in user units. |
di_xFact |
DINT |
Path of the master axis for movement in user units. |
di_yFact |
DINT |
Travel range of the axis in user units. |
Output Parameter
Marking: |
Data type: |
Description: |
x_Active |
BOOL |
TRUE: Module is active and waits until the master position reaches the start position di_xOffs. |
x_CamActive |
BOOL |
TRUE: Movement execution is started. The axis movement is dependent on the master movement. |
di_yPos |
DINT |
Setpoint position of the axis in 1/100th user units. This position can be connected directly to the di_yPosAdd input of the technology module TB_SyncLin or TB_SyncRot, for example. |