Other Functions; Process Screen Functions - JUMO LOGOSCREEN 601 Manual

Paperless recorder, st editor
Hide thumbs Also See for LOGOSCREEN 601:
Table of Contents

Advertisement

8 Functions
8.9

Other functions

These are specific functions that are not part of the DIN IEC 61131-3 standard.
IS_VALID
Checks the validity of a REAL number. The result is a Boolean value (valid = TRUE, invalid = FALSE).
Values ≥ 1.00E+37 (general error value) are considered as invalid, as are the values "Infinity" (INF) and
"No number" (NaN).
Examples:
bOUT := IS_VALID(1.2); (* bOUT =
SET_DEFAULT
Sets a REAL or a BOOL number to the default value.
Default value REAL: 5.0E+37 (math error value)
Default value BOOL: FALSE
Example:
SET_DEFAULT(bOUT); (* bOUT =
SET_DEFAULT(rOUT); (* rOUT = 5.0E+37 *)
8.9.1

Process screen functions

The following functions can be used to query and change certain properties of process screen objects
(colors, visibility, editability).
NOTE!
In the ST code, the numbering of the process screens and objects begins with 0 (e.g. process screens
0 to 9, objects 0 to 99). In the setup program, numbering starts with 1 (e.g. process screens 1 to 10, ob-
jects 1 to 100).
NOTE!
Instead of the numbers of the process screens and objects, their definitions can also be used.
Arguments of the functions
ProcPicIndex (UINT): Index (number) of the process screen (index 0 = process screen 1)
ObjectIndex (UINT): Index (number) of the object in the process screen (index 0 = object 1)
ColorType (UINT):
0 = Foreground color
1 = Background color
2 = Color for ON state (only for "Bar graph" object)
3 = Color for OFF state (only for "Bar graph" object)
4 = Color for LOW state (only for objects "Digital signal" and "Input digital value")
5 = Color for HIGH state (only for objects "Digital signal" and "Input digital value")
ValueRed (UINT): RGB value of the red portion of the color
ValueGreen (UINT): RGB value of the green portion of the color
ValueBlue (UINT): RGB value of the blue portion of the color
Value (BOOL): visibility or editability (TRUE, FALSE)
SET_OBJECT_COLOR
Sets the color of an object in a process screen.
46
TRUE *)
FALSE *)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Logoscreen 700706521706530

Table of Contents