L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 990

Advertising
background image

L-force | PLC Designer

Programming Reference

988

DMS 4.1 EN 03/2011 TD29

Example
Declaration and Implementation in ST-Editor:

VAR
ivar : INT; {info 'TODO: should get another name'}
bvar : BOOL;
arrTest : ARRAY [0..10] OF INT;
i:INT;
END_VAR
arrTest[i] := arrTest[i]+1;
ivar:=ivar+1;
{warning 'This is a warning'}
{text 'Part xy has been compiled completely'}

Output in Messages window:

Advertising