GlobalUtilities

The Global Utilities are part of the PLC that controls the system:

  • causes an output to blink continuously when required, e.g. to make an emergency-stop-reset lamp blink.

  • activates a siren when a zone starts automatically

  • Provides an output that can be used to test all lamps.

This section is located in the global segment of the PLC program. Since it is logic for global conditions, it is used only once in the entire PLC program.

The variables in these nets are used in most/all sequences.

Copy

PROGRAM GlobalUtilities
VAR
   iIndex: INT;
   aStartUpSirenMatrix: ARRAY[0..0] OF BOOL;
   aLampTestMatrix: ARRAY[0..0] OF BOOL;
   aAutoRelMatrix: ARRAY[0..1] OF BOOL;
   aResetMatrix: ARRAY[0..0] OF BOOL;
   fbFlashOn: TOF;
   fbFlashOff: TON;
END_VAR

Last updated

Was this helpful?