Programmable Controllers

Programmable Logic Controllers

Pico Controllers

PicoGFX Time Functions

Year Time Switch HY Functional Description

Year Time Switch HY
Symbol in the function
block diagram

The devices provide 32 year time switches HY01...HY32 for a total of 128 switch times. Each time switch is provided with four channels, A, B, C and D. These channels all act jointly on the contact Q1 of the year time switch that you include in the circuit diagram.

The year time switch can switch ranges, individual days, months, years or combinations of all three.

Note: The on year must not be greater than the off year. Otherwise, the year time switch will not function.

Entering the year

ON: 2002, OFF: 2010 means:

Switch on at 00:00 on 01.01.2002 and switch off when the OFF year has elapsed at 00:00 on 01.01.2011.

Entering the month

ON: 04, OFF: 10 means:

Switch on at 00:00 on 01 April and switch off after the OFF month has elapsed at 00:00 on November 1.

Entering the days

ON: 02, OFF: 25 means:

Switch on at 00:00 on day 2 and switch off when the OFF day has elapsed at 00:00 on day 26.

Rule for the year time switch

The contact switches in the defined years (ON to OFF), the defined months (ON to OFF) and in the days entered (ON to OFF).

Note: Time ranges must always be entered using a channel pair . In one channel you enter the ON values and in the other channel the OFF values.

On and off date of the output Q1 depend on the channel that switches first. The first ON date switches on and the first OFF date switches off. If the on and off date are the same, the output Q1 is switched to 0.

Note: Avoid making incomplete entries. These may cause malfunctions.

Examples

Example 1: Select year range

The year time switch HY01 is required to switch on at 00:00 on 1 January 2002 and switch off at 23:59 on 31 December 2006.

The HY year time switch must be assigned the following parameters:

Select year range
Figure: entry screen in the programming software

Example2: Select month ranges

The year time switch HY01 is required to switch on at 00:00 on 1 March and switch off at 23:59 on 31 October.

The HY year time switch must be assigned the following parameters:

Select month range
Figure: entry screen in the programming software

Example 3: Select day ranges

The year time switch HY01 is required to switch on at 00:00 on day 1 of each month and switch off at 23:59 on day 28 of each month.

The HY year time switch must be assigned the following parameters:

Select day range
Figure: entry screen in the programming software

Example 4: Select public holidays

The year time switch HY01 is required to switch on at 00:00 on December 25 of each year and switch off at 23:59 on December 27 of each year.

The HY year time switch must be assigned the following parameters:

Public Holidays range
Figure: entry screen in the programming software

Example 5: Select time range

The year time switch HY01 is required to switch on at 00:00 on May 1 of each year and switch off at 23:59 on November 1 of each year.

The HY year time switch must be assigned the following parameters:

Select time range
Figure: entry screen in the programming software

Example 6: Specific days of specific months

The year time switch HY01 is required to switch on at 0:00 on day 9 of months 6, 7, 8, 9, 10 and switch off at 23:59 on day 16 of the month.

The HY year time switch must be assigned the following parameters:

Specific days of specific months
Figure: entry screen in the programming software

Example 7: Overlapping ranges

Channel A of the year time switch HY01 switches on at 00:00 on day 3 of months 5, 6, 7, 8, 9, 10 and switches off at 23:59 on day 26 of the same months.

Channel B of the year time switch HY01 switches on at 00:00 on day 2 of months 6, 7, 8, 9, 10, 11, 12 and switches off at 23:59 on day 18 of the same months.

The HY year time switch must be assigned the following parameters:

Overlapping ranges
Figure: entry screen in the programming software

Total number of channels and behavior of contact HY01Q1:The time switch comes on at 00:00 on May 3 and goes off at 23:59 on day 26 of the same month. The time switch comes on at 00:00 on day 2 of the months June, July, August, September, October, and goes off at 23:59 on day 18 of the same months. The time switch comes on at 00:00 on day 2 of the months November and December, and goes off at 23:59 on day 18 of the same months.

The Function Block and its Parameters

Contact (bit output)

Q1 — Status 1 if the on condition is fulfilled.

Parameter set

Call enabled — Function block parameters can be viewed on the device.

Simulation

Possible

Note: The on and off time for each of the four channels (A, B, C and D) on a visualization device from version number 05 can be changed during operation via the year time switch entry element.

Memory Requirement

The year time switch function block requires 68 bytes of memory + 4 bytes per channel used.