[SWI_2P] On/off switch with adjustable switch-on and switch-off point

Function block SWI_2P generates a binary output signal based on a comparison of the input signal and the switch-on and switch-off point.

SWI_2P generates a binary output signal based on a comparison of the input signal and the switch-on and switch-off point.

Functioning

SWI_2P generates the binary output signal [Out] based on a comparison of the input signal [In] and the switch-on point [SwiOnPt] and the switch-off point [SwiOffPt].

Enabling and disabling the function

The function can be enabled/disabled via [EnFnct].

Direction of control action

The relative mutual position of the switch-on point [SwiOnPt] and the switch-off point [SwiOffPt] defines the direction of control action.

Direct

Reverse

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.

In

Input

Real

0.0

SwiOnPt

Switch-on point

Real

0.0

The direction of control action is direct if [SwiOnPt] ≥ [SwiOffPt].
The direction of control action is reverse if [SwiOnPt] < [SwiOffPt].

SwiOffPt

Switch-off point

Real

0.0

The direction of control action is direct if [SwiOnPt] ≥ [SwiOffPt].
The direction of control action is reverse if [SwiOnPt] < [SwiOffPt].

 

Output

Description

Data type

Default value
Value range

Out

Output

Boolean

0

0 - No
1 - Yes

Application
  • Heating and cooling control to disable (add or remove) components.
  • Execution of switching functions with known and settable switch-on and switch-off point.
info

If a setpoint with any settable position relative to the switch-on and switch-off point for two-position switches/controllers is a known or adjustable variable, SWI_2PH is used.

Process response

SWI_2P is processed starting with the first process cycle using the values pending at the inputs. If value [In] is between the switch-on and switch-off point during start-up, the output is set to [Out] = Off.