FuBa B - Confirmation of the Readout of a Production Order

This function block acknowledges the successful receipt of a production order by setting the status of the order to T. This removes the production order from the system's list of production orders to be sent.

Variable Name Type Content
General
IF_NUMBER String order number
IF_STATUS String T=received successfully
Variable Name Type Content
General
EV_Error String X=error occurred

The return value is AA_FEHLERTEXT, a variable of data type String. It contains more detailed information about the error in case of an error. If EV_ERROR does not show an error, other status messages can also be located here. Therefore EV_ERROR must be evaluated for error checking and not only AA_FEHLERTEXT.