Overview of Macros
Macros are predefined lists of instructions that enable you to issue a sequence of commands to specified devices with a single action. Some macros can be started manually by the operator, while others may be run automatically by the system as part of automatic reactions.
Macros are configured in Engineering mode. The system also includes some predefined macros that are automatically created at configuration time. In Operating mode, you can view the macros already configured in the system and manually execute (run) or abort (interrupt) them. You can also enable or disable macros.
For instructions, see the step-by-step section.
Macros and reactions system limits
On each Desigo CC server:
- A maximum of 800 macros and/or reactions, in total, can be configured.
- A maximum of 320 macros and/or reactions, in total, can be executed at the same time.
In case of project upgrade, it is recommended to check macros configuration for consistency.
Macro instructions might not be executed after a project upgrade because Desigo CC detects a change of command parameters, and error is logged in the Trace Viewer. To solve this issue, modify the commands configuration as required.
System-Defined Macros
The following subfolders contain predefined special-purpose macros, created by the system:
- Backups (always present): These are macros that create backup copies of the system data. Backup History backs up the history (SQL) database. Backup Online backs up the project database.
- Block Command Macros (present in some configurations). These are macros for broadcasting fire alarm handling commands (such as Acknowledge, Reset, and Silence/Unsilence) to multiple devices at the same time. For details, see the reference section.
Validation for Macros
If the target object of a macro is subject to validation, check that the macro is set with the same validation profile as this object or higher: macro instructions of a target object with a higher validation profile will not be executed.