Go to documentation repository
In Axxon One, you can create and configure macros. You can create and configure macros on the Programming tab.
To create and configure macros, you must have access permissions to the programming setup (see Roles).
The Event rules and Cycle rules macros have a common algorithm of creation and configuration. To create a macro, do the following:
| Working mode | Event rules | Cycle rules |
|---|---|---|
| Never | Can only be run manually (see Working with Dialog Board, Macros control) | Disabled, can be run manually (Macros control) |
| Always (default) | Runs always | Runs always |
| Time schedule | Runs within the selected time schedule (see Time zones). Can be run manually at any time | Runs within the selected time schedule |
Attention! If a macro working mode is within a time schedule (see Time zones), and a macro start time is outside this time schedule, a macro isn't started. | ||
Note
Created macros are displayed in the corresponding list. When you select the Never working mode for a macro, it is grayed out.
The Cycle rules macros can be run automatically in a specified time interval, or at a random time within a specified interval. To configure this behavior, do the following:
Set the Random checkbox, if you need to start a macro at a random moment specified by the Heartbeat interval parameter. For example, if the interval is set to 8 hours, then once every 8 hours at a random moment, a macro is started.
To edit a macro, do the following:
Editing a macro is complete.
To copy a macro, do the following:
Macro is copied.
Note
To create an empty macro with no parameters specified, select any of the common macros groups, and click the Create... button.
To remove a macro, do the following:
Macro is removed.