SetSwitchEnable

SetSwitchEnable 1:

This method is used to define the rules for the switchover. See below for more information.

Syntax:

METHOD SetSwitchEnable : HRESULT
VAR_INPUT
bSwitchOnPressure: BOOL;
bSwitchOnTravel: BOOL;
bSwitchOnTime: BOOL;
END_VAR

SetSwitchEnable 2: Inputs

Name

Type

Description

bSwitchOnPressure

BOOL

A TRUE enables the switchover by exceeding the pressure threshold.

bSwitchOnTravel

BOOL

A TRUE enables the switchover by falling below a position threshold.

bSwitchOnTime

BOOL

A TRUE enables the switchover by reaching a time threshold.