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

Page 87

Advertising
background image

L-force | PLC Designer

We Write a Little Program



DMS 3.2 EN 02/2011 TD29

85

The first transition switches through when START is TRUE and all others switch
through when DELAY in OK produces TRUE, i.e. when the set time period is finished.

The steps (from top to bottom) receive the names Switch1, Green2, Switch2, Green1,
whereby Init of course keeps its Name. "Switch" should include a yellow phase, at

Green1 TRAFFICSIGNAL1 will be green, at Green2 TRAFFICSIGNAL2 will be green.
Finally change the return address of Init after Switch1. If you have done everything
right, then the diagram should look like in the following image:

Program SEQUENCE, First Expansion Level, Instruction Part

Now we have to finish the programming of the individual steps. If you doubleclick on
the field of a step, then you get a dialog for opening a new action. In our case we will
use IL (Instruction List).

Advertising