page 134
11.2.Setting and resetting of pictures and
messages
Function
TDM_PICTURE
Library TDM.LIB
Function symbol
Purpose
The function sets or resets a plc picture..
Parameter
Function inputs
Function outputs, none
Description
The call TDM_PICTURE sets or resets a plc picture.
To save cycle time the function input ENABLE can block the
execution of the function.
TDM_PICTURE can, but does not have to be called cyclically. A
one-time call of the function with the value TRUE being
allocated to the function input ON sets the picture defined in
input NUMBER. A further call with ON = TRUE has no effect
(but requires cycle time for the check). If ON = FALSE is set and
the function with the corresponding picture number is called, the
picture is reset.
A call if the function with PRIORITY = TRUE marks the plc
picture additionally as priority picture. Priority pictures are
displayed immediately independent of the current unit status of
the display (e.g. preset value entry. All other display activities
are suppressed.
Name Data type Description
ENABLE BOOL TRUE: function is executed
FALSE: function is not executed
NUMBER BYTE tdm picture number
ON BOOL TRUE: picture is displayed (set)
FALSE: picture is not displayed (reset)
PRIORITY BOOL TRUE: picture is displayed (set) as priority
picture