Command Scheduler

The Command Scheduler resource is a tool that is used to schedule command executions.

The command scheduler is a very useful tool to have in projects that have commands which need to be scheduled to activate in the plant at certain set times and for certain set periods.

The usefulness of this tool is very evident in the time saved when creating projects which have commands that need to be activated in the plant repeatedly at specific set times and periods.

 

The scheduler has been designed to execute commands or list of commands according to preset times based on the PC system's clock.

 

This resource is available in the Movicon 'Project Explorer' window:

 

This resource can contain an unlimited number of commands which can be executed according to preset scheduled times or weekly plans editable through the 'Properties Window'.

 

The Command Scheduler resource offers great operational advantages for all types of applications, especially in those sectors (ie. Building Automation) which normally require commands to be automatically executed at preset times.

A few of the most common uses would be, for example, commands for turning on/off of lights, central heating, etc.

These simple operations can therefore be realized through this purpose-built resource which has designed especially to slim down and speed up the procedures used to set these type of commands.

To add, copy or delete a Scheduler object, please use the standard techniques described in the paragraph on "The Resources".

 

 

 

Adding new Schedulers at runtime

The Hour Selector object allows you to add new Schedulers and to remove them at Runtime when required by using the dedicated command buttons ("Add Scheduler Button", "Remove Scheduler Button"). Please note that the Schedulers created at runtime can only manage the "Commands On": if they are used to manage variable resets, you will need to add the time intervals to reset the variable.

 

 

 

Schedulers retentivity files

Schedulers set as "Daily Plan" will create a retentivity file at runtime with the name of "<ProjectName>_<SchedulerName>.sst" in the "DATA" project folder. The retentivity file stops the ON command from being executed a second time when already executed. If the ON command is modified at project startup by a time interval of the Scheduler that sets the value or the name of the variable associated to the command, the ON command will still be executed.

 

 

See Also