Function library lenzeiosystem.lib, Application examples – Lenze DDS Function library IOSystem User Manual
Page 12
3.1
Modular decentralised I/O system
Function library LenzeIOSystem.lib
Application examples
3−2
L
LenzeIOSystem.lib EN 1.7
Then the Parameter program that must be generated in the SFC editor follows. With the invocation
of the function block instance, the step Parameter_data has the action generated in the FBD editor.
Note!
·
Enter a minimum time of ten seconds for step Init via the menu command Extras
ÞStep
attibutes.... Correct entry: T#10s
Make sure that step Parameter_data is not executed before the initialisation phase of the I/O system
is complete. This is achieved with a minimum time of ten seconds.
As this POU must be processed cyclically, the program is invoked in the PLC_PRG (main program).
The sequential function chart ensures a cyclic task.
The parameterisation process is started via the initial action in step Parameter_data.
Once the parameterisation is complete, the final action in step Parameter_data sets input bExecute
to FALSE and variable bStart to TRUE.
Variable bStart ensures that step Parameter_data is executed
·
on switching on
·
on reset and subsequent starting.
When the parameterisation is complete, the PLC_PRG (main program) stops in step Init. It does not
impose an extra burden on the target system during subsequent program operation.