L_FCNT sets the bEqual_b output although the comparison value is not reached

Which products are affected?
LenzeDrive.lib
LenzeDriveV0201.lib
LenzeDriveV0202.lib

What happens?
The L_FCNT function block sets its bEqual_b output to TRUE even if the comparison value at the nCmpVal_a input does not match the counter content at the nOut_a output. In this case the counter content of the function block can no longer be incremented or decremented via the inputs bClkUp_b and bClkDwn_b.

When does the problem occur?
The response described before occurs if  
  • the Hold (byFunction=2) function of the L_FCNT function block is activated  
  • and
  • the value indicated by the counter (nOut_a output) is greater than or equal to the comparison value at the nCmpVal_a input of the function block.

Possible diagnostics?
None.

Short-term measures/recommendations?
When the L_FCNT function block is used while the Hold function is active, it must be observed that the counter value is always less than the comparison value since otherwise the function block stops counting.

Evaluation:
If the Hold function is activated, the L_FCNT function block does not count as described in the documentation. This function restriction will be detected during commissioning at the latest.

 

 

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