Reversal of direction of rotation when using Pos library

Question:

 

The function blocks contained in the library LenzeMotionControlV3.lib such as L_MCProfileGenerator do not support the reversal of the direction of rotation (e.g. left attachment of the motor). How can a simple reversal be achieved using this library?

Answer:

At the corresponding function block (e.g. function block L_MCProfileGenerator from the library LenzeMotionControlV3.lib) two input and two output signals must be negated each:

a) Input signals: L_MCProfileGenerator.nNAct_v, L_MCProfileGenerator.dnFollowingError_p

b) Output signals: L_MCProfileGenerator.nNSet_a, L_MCProfileGenerator.dnDeltaPos_p

When the function block L_MCProfileGenerator is used, it must be taken into consideration that this function block requires a longer computing time when the touch probe function and/or overriding into a subsequent profile is performed. If the solution shown below should not be possible (task overrun) using the SEL function blocks, jump instructions with an IF-THEN decision can be used (these do not take as much computing capacity).

In the following example the reversal is achieved via the digital input E3 (programmed in CFS here).


URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/20038214/1/
Contact form