Detailed description
2.12 Block descriptions
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-173
GP_AuxFunction : ARRAY[1..10] OF BOOL; //Channel-oriented for //auxiliary
functions
GP_FMBlock : ARRAY[1..10] OF BOOL; //Channel-oriented for block
//transfer to FM (available soon)
//Further local user data may be defined from this point onwards
END_VAR
BEGIN
CALL FC 3;
//INSERT USER PROGRAM HERE
END_ORGANIZATION_BLOCK
2.12.13 FC 5: GP_DIAG basic program, diagnostic alarm, and module failure
Description of functions
Description of functions
Module defects and module failures are detected in this section of the basic program.
The FC5 block parameter can be used to define whether the PLC is to be placed in STOP
mode. The PLC is placed in STOP mode only for incoming events. The PROFIBUS MCPs
assigned on FB1 are excluded from stopping the PLC.
Declaration
FUNCTION FC 5: VOID
VAR_INPUT
PlcStop: BOOL := True;
END_VAR