Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Next »

Exercise: Setting the function of a vending machine with the Scheduler feature

a) Create three [BOOL] tags named ‘Vending’, ‘Light’, ‘Washer’.

b) Click [Tools] - [Script Editor], then press the (blue star) icon and select [Create New Action List]. The user will need to create three action lists that write a value of '1' to the previously created tags.

c) Click [Tools] - [Scheduler] to open the [Scheduler] window.

d) Add a new schedule by pressing the (blue star) icon. The user will need to create three schedules. The configuration for each schedule can be found below. If the user would like to observe the operation

e) Create three text boxes and link the ‘Vending’, ‘Washer’, and ‘Light’ tags to the [Text] property of their respective text boxes.

f) To observe the operation of the scheduler, adjust the scheduled start times to occur within the next 5 minutes and run the simulator. Monitor the tag values present on the page, at the scheduled start time of their respective schedule the tag values should update with a '1'.

  • No labels