ActionLimit1, ActionLimit2 columns

Top  Previous  Next

The ActionLimit1 and ActionLimit2 columns define the actions that are to be executed when the value is out of the range defined by Limit1 and Limit2.

The ActionLimit1 and ActionLimit2 columns define the actions that are to be executed when the value range defined by Limit1 and Limit2 is overshot. These limit actions are supported by all objects with numerical data types.

 

The following limit actions are supported by all objects with numerical data types:

ActionLimit1 / ActionLimit2

Description

Alarm:set=<no>

Alarm:[<alarmtype>].set=<no>

Inserts alarm with <no> into alarmhistory. If the value is exceeds the limit. If the value changes to inside the limits again, the timestamp "off" is set.

 

Has no effect the any control bits in the alarm buffer!

 

#Page=<name>

The page with the name <name> is opened

Backcolor=<color>

The background color is changed to <color>, for which <color> must be a constant color.

Close

The last window opened is closed

Close=<name>

The window with the name <name> is closed

Color=<color>

The foreground color is changed to <color>, for which <color> must be a constant color.

Exit

The application is closed and the user returns back to the operating system

FastFlash

The object flashes at a frequency of 1 Hz  (0.5s on/off)

Flash

The object flashes at a frequency of 0.5 Hz (1s on/off)

Language=<name>

Language selection to language <name>. (see also Definition of languages)

SetVar=<constant>

SetVar=<variable>

...The constant <constant> is assigned to the variable VarValue

...The variable <variable> is assigned to the variable VarValue.

Icon-Hinweis<variable> must be of the same type as VarValue, i.e. VarType!

SetVar:<variable1>=<constant>

SetVar:<variable1>=<variable2>

...The <variable1> is assigned the constant <constant>.

The <variable1> is assigned <variable2>.

Icon-Hinweis<variable1> and <variable2> must be of the same data type!

SetVar=Limit1

The variable in the VarValue field receives the value of the Limit1 column

SetVar=Limit2

The variable in the VarValue field receives the value of the Limit2 column

System=<executable> [[options]]

Any executable file including parameters can be an <executable>.

Paths with blanks must be set between double quotation marks.

 

The following options can be stated between square brackets:

-d <working directory>

 

Example:

system="c:\Program files\viewer\viewer.exe" myfile [-d d:\my documents]

VarPool:sysvarsave

Saves the persistent system variables as <HOST>.INI in the directory PATH_INI.

Difference to EPAM3

The following Limit actions are currently not supported: (see also Actions)
Backlight=<x> replaced by SetVar=<x> to /S/APP/Backlight
Contrast=<x> no longer required (only for passive LCDs)
Language=s_mysysvar replaced by SetVar=/S/USR/mysysvar to /S/APP/Language
Msg=<x> replaced by SetVar:<variable>=<x>
Load=<x>