Malfunction of the status signal 'Target position reached (g_bInTarget)'

Which products are affected?
Positioner Software Package V3.1
Positioner Template

What happens?
The status signal 'Target position reached' (g_bInTarget) does not change to TRUE although the current position is within the window which has been parameterised via C3034.

When does the problem occur?
When reaching the target position in the positioning mode 'Modulo' or 'ModuloTPRelative'.

Possible diagnostics?
The status signal 'Target position reached' (g_bInTarget) can be traced by using the GD oscilloscope.
The current position (g_dnActualPositionInternal_p) and the valid target position (g_dnActualTargetPosition_p) should also be recorded for comparison purposes.

Short-term measures/recommendations?
The status signal 'Target position reached' (g_bInTarget) should not be used as a transition (requirement for starting a new profile).

Evaluation:
The message 'Positioning has been executed' (g_bProfileDone) can be used alternatively to the status signal 'Target position reached' (g_bInTarget). The variable g_wMotionProfileNumber = Done should be evaluated as transition (requirement for starting a new profile).
This is done so in all examples.

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