Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width50%
Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn the page:

Table of Contents

Column



General information

Macro is a tool intended for configuring used to configure system responses to certain events. System response may involve can include one or several different actionsactions. For example, when a fire is detected—to activate voice notification, when a camera is disarmed—to send an email notification and initiate an alarm, and so on.

Note
titleAttention!

You can apply macros within a single Axxon domain only. Macro conditions and actions cannot include objects from another Axxon domain.

You can create and edit macros in the Programming tab.
Image Removed

Macros can be of 3 types:

Macros work only within the same Axxon-domain. 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

Image Added

There are three types of macros:

Types of macrosDescription
Event rules
  • These macros can run automatically on receiving the specified events or initiated manually by the operator.
  • When an event is received, the actions

...

  • in the macro are executed once

...

Automatic

...

rules
Cycle rules
  • These macros can run automatically after a specified period of time, or at a random time within a specified interval.
  • Cycle

...

  • macros are run on the first

...

  • server in the Axxon-domain

...

  • in alphabetical order

...

  • available at the time of

...

  • starting the macro.

...

  • Cycle macros are executed immediately after you save them in the system, unless they have been created outside the time schedule

...

  • .
  • After completing all

...

  • actions,

...

  • macro is automatically restarted.

...

  • Additionally, a

...

  • cycle macro can be

...

  • started automatically in a specified time interval, or at a random moment within the specified time interval.

...

Note
titleAttention!

If an event occurs while the cyclic macro is busy, it is skipped.  

If an event occurs while the event-driven macro is busy, it is processed as configured.

...

  • In this case, all actions in the macro are executed once