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