In the MVis_scMachineModuleName_PackML structure in the Structs folder of the machine module, for each module application (MAP), a separate "dwAlarmActiveAppx" variable is defined which displays the state of the active alarms.
What happens? The "dwAlarmActive" variable is declared in the MVis structure of the machine modules in the PackML project template. This variable is connected with the outputs of the instances of the L_EATP_Alarm_PackML function block in the "SetAlarms" method. Contrary to the documentation, the bits of the "dwAlarmActive" variable do not return the state of the active alarms.
When does this behaviour occur?
The above-described behaviour occurs if several module applications (MAP) of the same machine module are used.
In the MVis structure, for each module application (MAP), a separate variable must be declared which displays the state of the active alarms in the module application. For this, proceed as follows:
Go to the MVis_scMachineModuleName_PackML structure in the Structs folder of the machine module and replace the declaration: // VisData - App1 dwAlarmsActive : DWORD;
Then go to the "SetAlarms" method in the BasicFunction folder of the corresponding module application and connect the variable declared under 1. to the outputs of the instances of the L_EATP_Alarm_PackML function block.
Evaluation/recommendations:
With the "dwAlarmActive" variable, external visualisation systems shall be in a position to visualise the current alarm state for every machine module. Due to the above function restriction, this is not possible if several module applications of the same machine module are used. This function restriction does not concern the visualisation of the PLC Designer.
Taxonomy:
AT StartUp Project PackML
,
AT StartUp Project Standard
,
Lib L_EATP_ApplicationTemplate
,
Application Templates
AKB-ID:
201400272
Last update:
2023/09/13
Category:
Version Informations
Lenze reserves the right to change information on this page at any time. Any liability for the accuracy of the information is excluded.