Day of the Week

The Day of the Week function block is used for weekday functions, e.g. Monday, Tuesday.

Direct Day of the Week:

The programmer uses this function to select on which day(s) to activate a task.

If the RTC coincides with a selected day of the week: power will flow through the function block.

If the RTC does not coincide with a selected day of the week: power will not flow through the function block.

To link a Direct Clock function:

  1. Click Clock on the Ladder toolbar.

  1. The Clock drop-down menu opens.

  2. Select Direct Clock Functions.

  3. Select Day Of The Week from the Direct Clock Functions menu.

  4. Move the Day of the Week element to the desired net.

  5. Select the desired days from the Day Of The Week window and click OK.

  6. The selected days appear in blue highlights in the element on the net.

According to the above example, the net result will be true (logic 1) only when MB 6 = 1 and on Monday or Tuesday.

 

 

Indirect Day of the Week:

The Indirect Day of the Week function comprises:

The Indirect Day of the Week function values are entered by the user via the

The Indirect Day of the Week values are entered into a 7-bit bitmap in the linked MI.

According to the above example:

Related topics

Clock Functions

Indirect Clock function example

Direct Clock function example