Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
201
Note
In DB2, a "1" signal must be present for several OB1 cycles to ensure that a message can
also be displayed on the operator interface.
Declaration of the function
STL representation
FUNCTION FC 10:
VOID
// NAME: AL_MSG
VAR_INPUT
ToUserIF : BOOL ;
Ack : BOOL ;
END_VAR
END_FUNCTION
Description of formal parameters
The table below lists all formal parameters of the AL-MSG function.
Signal I/O Type Value range Remark
ToUserIF I BOOL 1 = Transfer signals to user interface
every cycle
Ack I BOOL 1 = Acknowledge error messages.
Call example
CALL FC 10 (
//Error and operational messages
ToUserIF := TRUE, //Signals from DB 2 are transferred to
//interface
Ack := I6.1); //Acknowledging the error message is done via
//Input E6.1