L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 48

Advertising
background image

L-force | PLC Designer

What is What in PLC Designer

46

DMS 3.2 EN 02/2011 TD29



Examples for calls of the above described action from another POU:

Declaration for all examples:

PROGRAM PLC_PRG
VAR
Inst : Counter;
END_VAR

Call of action 'Reset' in another POU, which is programmed in IL:

CAL Inst.Reset(In := FALSE)
LD Inst.out
ST ERG

Call of action 'Reset' in another POU, which is programmed in ST:

Inst.Reset(In := FALSE);
Erg := Inst.out;

Call of action 'Reset' in another POU, which is programmed in FBD:

Note!

Actions play an important role in blocks in sequential function charts, see
Sequential Function Chart.
The IEC standard does not recognise actions other than actions of the sequential
function chart.

Advertising