Go to documentation repository
Page History
Section | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
General information
Macro is a tool used to configure system responses to certain events. System response can include one or several different actions. You can configure Axxon One to perform certain actions if any events occur in the system. For example, when a fire is detected—to activate voice notification, when the a camera is disarmed—to send an email notification and initiate an alarm, and so on. To perform such actions, you need macros.
Note | ||
---|---|---|
| ||
Macros work only within a single the same Axxon-domain only. Macro conditions and actions cannot include objects from You cannot use objects belonging to another Axxon-domain in start conditions (see Configuring start conditions) and in macro actions (see The Domain object). |
Types of macros
There are three types of macros:
Types of macros | Description |
---|---|
Event rules |
...
|
...
|
...
|
...
Automatic rules |
...
|
...
|
...
|
Cycle rules |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
|
...
Note | ||
---|---|---|
| ||
If, during the response of a cycle macro to a certain event, another event that must also be processed by this macro occurs, it will be skipped. If another event occurs during an event-driven macro response, this event is processed according to the specified parameters. |
Unless the macro has wait commands (see Wait for event, Wait for timeout, Wait till previous action finishes), all actions are performed simultaneously.
Tip |
---|
Configuring macros
You can create and configure macros on the Programming tab (see Create Macros).
To configure macros, do the following:
Specify the Start conditions (1). These are the events in the system that start a macro (see Configuring start conditions).
- Specify the system actions (2). These are the actions that the system must perform after an event occurs (see Settings specific to actions). Several system actions can be configured.
There is also a setting section in cycle macros. It specifies the system wait time between the actions. For more information on configuring the cycle macros, see Cycle macros.
...