Automatic forwarding of errors (severities) to parent modules
Automatic error extension mechanisms to parent modules already exist for central component types.
Within a "MachineModule" / "GeneralMachineModule
If an axis, technology module or GeneralApplicationModule is used as a child in a MachineModule / GeneralMachineModule, these automatically forward the severity to the MachineModule / GeneralMachine.
The machine module then automatically has exactly this severity when viewed from the outside.
If no error handling of the subordinate machine modules is to take place in a machine module, but all this status information is simply to be passed on to the uppermost module, this can be realised simply by calling FB L_IE1P_ForwardSeverity in the respective machine module.
Two further FB'S are available for this purpose: L_IE1P_ForwardSeverity and L_IE1P_ReadActualSeverity: