LdVirtualMasterP does not initialise to C5012/0 after mains connection

Which products are affected?
The L_LdVirtualMasterP function block from the LenzeLineDrive.lib library in all versions with a lower version than 2.12.1.0.

What happens?

Up to library version 2.12.0.0:
The integrator is loaded to the output value L_LdVirtualMasterP.dnPosOut_p=20000…

From library version 2.12.1.0:
The integrator is loaded to the output value L_LdVirtualMasterP.dnPosOut_p=0…
 
… and not, as expected, to the incremental starting value from C5012/0.
 
When does the problem occur?
If, after restart of the application task, the input signals L_LdVirtualMasterP.bEnable = TRUE and L_LdVirtualMasterP.bLoadStartValue = TRUE are set.

Diagnostics options?
Set C5012/0=123. If L_LdVirtualMasterP.dnPosOut_p=20000 or 0 is then loaded, this clearly indicates the response.
 
Short-term measures/recommendations?
Delay of the L_LdVirtualMasterP.bLoadStartValue input signal at the restart of the
application task by approximately 1s.

Evaluation:
Typically, the virtual master is not loaded directly after mains connection. In the case of the standard position resolution, a value of 20000 increments corresponds approximately 1/3 of a master value revolution.
Usually the response is detected during commissioning.

URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/201400116/1/
Formulario de contacto