Question:
The technology library
LenzeCamControl1.Vxxyy.lib contains a function block
L_CamPosCtrlLin, which is able to execute simple, time-controlled point-to-point positioning with linear ramps. Und which conditions is this function block allowed to be applied?
Answer:
Function block
L_CamPosCtrlLin allows the linear profile generation based on setpoints only. Therefore, the input signal
L_CamPosCtrlLin.dnAct_p is not allowed to be generated from a real actual value, but is has to be executed with basis on the setpoint. Especially it is not allowed to use values as signals for the actual positions, which result from motor- or external position feedback systems. The input
L_CamPosCtrlLin.dnAct_p has to be deviated directly from the output signals of the function block. The easiest and correct way is the feedback of the position output to the actual value input, as shown below.
Note:
When the actual value signal
L_CamPosCtrlLin.dnAct_p is not generated from the output signals of the FB
L_CamPosCtrlLin, there will be oscillations or inaccurancies in positioning. This example is also shown in the product documentation.
