Updating the Summary Bar for Multiple Automation Stations Using a Macro

Scenario: You want to update the alarms on all automation stations with a single command.

  1. In System Browser, select Application View.
  1. Select Applications > Logics > Macros and select the Macro tab.
  1. Click Create and select New Macro.
  1. In the New Object dialog box, enter a name and description.
  1. Click OK.
  • The new macro appears in the Macro tab.
  1. In System Browser, select Management View.
  1. Select Project > Field Networks > [Network name] > Hardware > [Automation station] of the corresponding automation station.
  1. Drag the automation station to the Macro configuration area.
  1. In the Property column, select the option Not defined from the drop-down list.
  1. In the Command column, select the option SynchronizeAlarmStatus from the drop-down list.
  1. Repeat steps 7 to 10 for all automation stations.
  1. Click Save .
  • The macro is defined and all automation station are assigned.

 

Executing a Macro

  1. In System Browser, select Application View.
  1. Select Applications > Logics > Macros > [Macro name].
  1. In the Operation tab, select the Activity Status property.
  1. Click Execute.