Short undefined state after power-up

Which products are affected?
ESP-SPAC-CAM1 – Software Package Cam V1.1 (template cam)

What happens?
The Servo PLC sporadically stops when template cam is used during the initialisation phase (the PLC program does not start).

When does the problem occur?
The problem occurs sporadically. It is due to an undefined state of the template variable g_byOperationState. If the variable g_byOperationState is accessed during the initialisation phase of the Servo PLC and g_byOperationState does not have a valid value (see below table) an undefined memory access occurs in the Servo PLC because there is no value assignment for the value 0:

1     Trouble => Fault
10   StandBy => Standby
20   ManJog => Inching mode/manual operation
30   Homing => Homing
40   Pos => Positioning
50   CamOperation => Cam operation
51   LockToCamBusy => Positioning to profile value
100 Init => Initialisation of template cam

Possible diagnostics?
The PLC program in the Servo PLC sporadically does not start if the memory area of the template variable g_byOperationState is accessed during the initialisation phase.

Short-term measures/recommendations?
None.

Evaluation:
Due to this function restriction, the PLC program does not start. The function restriction occurs only sporadically if several conditions are met at the same time (timing behaviour of the Servo PLC).

URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/200404009/1/
Kontaktformular