Macros / Timers

One of the most powerful features of the Centro-8 / 8M is the ability to execute macros, either at specific times, or in response to specific events. An event might be when a digital input is triggered, or when feedback is received from a device.

Configuring Macros

You can add as many macros as you wish to a Centro. After making changes to the macros in the PC software, you must then perform an Upload to Processor operation so that the Centro has the macro information.

To add a macro, select the Macros / Timers option:

Macros / Timers

Each macro has the following:

Complex Macro Execution

(assuming we had a global flag NightTime which is set ON when the sun sets, and OFF when the sun rises, and other variables linked to the alarm / heating system etc)

For all macro execution types apart from manually and x seconds in the future - these are the months that the macro is permitted to run. For example if you have a macro running a 9am each day, and you only want it to run in December, then untick all other months.

For all macro execution types apart from manually and x seconds in the future - these are the days that the macro is permitted to run. For example if you have a macro running a 9am each day, and you only want it to run at the weekend, then untick all days except Saturday and Sunday.

For all macro execution types apart from manually and x seconds in the future - when the macro is about to run, if a dependent flag is selected, it will check the current state of the flag before deciding whether to execute the macro.

A macro is simply a set of one or more actions. Double click the macro entry in the list to be presented with the exact same Action Editor that you see for a Control App button release event. The Centro can do any action that the Control app can, eg sending commands, altering (global) flags etc.

The only exceptions are:

Testing Macros

To test the functions of your macro, simply press the Test Macro button. You have already performed an Upload to Processor operation after adding, or making any changes to any macros, before you are able to test them.