[KICKFNCT] Kick function

Function block KICKFNCT generates an output 1 at a configured time using a defined pulse length after a minimum off time expires.

The mechanical parts in pumps and shut-off valves are at risk of blocking after being idle for longer periods. KICKFNCT switches a pump or a valve on a regular basis for brief periods (after a minimum switch-off time) to ensure proper operation.

Functioning

The start time [TiStt] and day of week [DayWeek] set the time of day and the day of week to trigger the kick pulse.

The pulse length [ImpLngt] determines the duration of the kick pulse.

The kick pulse triggers once the following conditions are met:

  • Operating state [OpSta] was 0 for the minimum switch-off time [TiOffMin].
  • The time for triggering the kick impulse is reached and the day of the week [DayWeek] and start time [TiStt] match the system time on the automation station.
  • The function block is enabled ([EnFnct] = 1).

After triggering, the kick pulse is maintained over the entire pulse length [ImpLngt] ([Out] is set to 1). Setting [Reset] to 1 cancels an on-going kick pulse. As a consequence, output [Out] is set to 0 and the internal timer for the minimum switch-off time [TiOffMin] restarts. An on-going kick pulse can be cancelled by setting the enable function [EnFnct] to 0. Monitoring resumes of the operating state [OpSta] after switching off the enable function ([EnFnct] = 0). The minimum switch-off time [TiOffMin] remains active.

Pins

Input

Description

Data type

Default value
Value range

EnFnct

Enable function

Enables the function.

Boolean

1

0 - The function is disabled.
1 - The function is enabled.

Reset

Reset

Boolean

0

0 - Do not reset
1 - Reset

OpSta

Operating state

Boolean

0

0 - Off
1 - On

TiStt

Start time

TimeOfDay

08:00:00.000

DayWeek

Day of week

Integer

1: Monday

1…7

1: Monday
2: Tuesday
3: Wednesday
4: Thursday
5: Friday
6: Saturday
7: Sunday

ImpLngt

Impulse length

Time

5m

TiOffMin

Min.switch-off time

Time

6d

 

Output

Description

Data type

Default value
Value range

Out

Output

Boolean

0