List components functionality, List components functionality 8, L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 1020

Advertising
background image

L-force | PLC Designer

Programming Reference

1018

DMS 4.1 EN 03/2011 TD29

operator OR operator

Is TRUE if one of the operators are TRUE
Example:
Precondition: POU "PLC_PRG1" is used in applications App1
and App2, POU CheckBounds is only available in App1:

{IF defined (pou: PLC_PRG1) OR (defined (pou:
CheckBounds))}
(*the following code line will be processed in applications
App1 and App2, because both contain at least one of the
POUs "PLC_PRG1" and "CheckBounds"*)
bORTest := TRUE;
{END_IF}

(operator)

braces the operator

16.1.27

List Components Functionality
The text input is supported noticing standard IEC 61131-3. The 'IEC 61131-3 Text
Editor' plug-in provides a kind of "List Components" functionality, which can be
activated or deactivated in a project in the Text Editor options.
"List Components" helps to insert a correct identifier:
• If you - at any place, where a global identifier can be inserted - insert a dot "."

instead of the identifier, a selection box will appear, listing all currently available
global variables. You can choose one of these elements and press <Return> to
insert it behind the dot. You can also insert the element by a doubleclick on the list
entry.

• If you enter a function block instance or a structure variable followed by a dot, then

a selection box listing all input and output variables of the corresponding function
block resp. listing the structure components will appear, where you can choose the
desired element and enter it by pressing <Return>or by a doubleclick.

Advertising