ApplicationTemplate - Lenze standard: S00_CYCLIC is called twice in a task cycle (corrected from V3.9)

Corrected from:
PLC Designer V3.9
ApplicationTemplate project template V3.9 

Response of the new version:
Regardless of the state change of the state machine, the "S00_CYCLIC" action will only be processed once per task cycle.
What happens?
The "S00_CYCLIC" action contained in every module application (MAP) of a machine module is called twice in a task cycle.
 
When does this behaviour occur?
Every time the state of the machine module's state machine changes (e.g. from READY to AUTOMATIC), the "S00_CYCLIC" action is called twice in a task cycle.
 
Which products are affected?
PLC Designer V3.8
ApplicationTemplate project template V3.8
 
Short-term measures:
Move the call of the "S00_CYCLIC" action from the "SMDispatcher" method to the module application (MAP_NameOfMachineModule_Appx) directly after the"SMDispatcherCaller()" method call.
 
Evaluation/recommendations:
In the module application, the S00_CYCLIC action is cyclically processed regardless of the state machine of the machine module. Due to the above function restriction, the action will be called twice in a task cycle in the case of a state change. Depending on the blocks called in the action, this may lead to maloperation.

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