Jump to content

How to use the schedule block?


Recommended Posts



Thank you for using our Unitronics Forum.


For the schedule function in UniLogic, you will have to create a "Schedule" struct.  Within the Schedule struct, you will be able to choose the start year, end year, month, day of month, day of week, start hour, and end hour you wish to have your process run.


Please let us know if this helps.

Link to comment
Share on other sites



I would make the "from hour" vector contain a 0 for the seconds, a 0 for the minutes, and a 0 for the hours.  That would allow this schedule block to pass a output at 12:00AM.  Then I would have a set coil after schedule block to set the bit you wish.  


In order for it to work again the next day at 12:00AM you must reset the bit and fill in the "to hour" vector.  In the "to hour" vector, I could set it up to stop at 00:00:01 (12:00:01 AM) since you do not need any logic output from the block once you have set the bit you wanted.


Please let us know if this helps.  

Link to comment
Share on other sites

  • 1 year later...

I am attempting to sort of the same thing with an alarm system. Lack of documentation has hindered me.


I have four digital schedule element on the HMI. One is the time to activate on weekdays, one to deactivate weekdays, one to activate Saturday, and one to deactivate Saturday. I have tried multiple different ways to configure a schedule block on the ladder with none working as I want.


Does a schedule block allow power through between the from hour to the to hour or does it give a pulse at each time to toggle a bit?


How should I preset the days of the week each schedule block will run without any user input? Should I set the power up/initial value to 1 for each day? If years and months remain blank will the block run every month of every year?


I want the "Armed" bit reset Monday through Friday at the time entered in digital schedule element for deactivate weekdays, set Monday - Friday at time set for activate weekdays, reset on Saturday at time for deactivate Saturday, and set Saturday at the time for activate Saturday. I also want to be able to toggle the "Armed" bit with a toggle coil.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...