L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual
Page 286
Advertising
L-force | PLC Designer
Editors in PLC Designer
284
DMS 3.2 EN 02/2011 TD29
7.4.5
Calling POUs with output parameters in text editors
The output parameters of a called POU can be directly assigned upon being called in
the text languages IL and ST.
Example:
Output parameter out1 of afbinst is assigned variable a.
IL: CAL afbinst(in1:=1, out1=>a)
ST: afbinst(in1:=1, out1=>a);
If the POU is inserted via input assistant (<F2>) with option 'With arguments' in the
implementation window of a ST or IL POU, it will automatically be displayed with all
parameters in this syntax. However you are not forced to assign these parameters.
Advertising