Actions and transition conditions, L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 88

Advertising
background image

L-force | PLC Designer

We Write a Little Program

86

DMS 3.2 EN 02/2011 TD29



5.1.15

Actions and transition conditions

In the action of the step Init the variables are initialized, the STATUS of
TRAFFICSIGNAL1 should be 1 (green). The state of TRAFFICSIGNAL2 should be 3 (red).
The action Init then looks like in the following image:

Action Init

Switch1 changes the sate of TRAFFICSIGNAL1 to 2 (yellow), and that of
TRAFFICSIGNAL2 to 4 (yellow-red). In addition, a time delay of 2000 milliseconds is set.

The action is now as follows:

Action Switch1

With Green2 TRAFFICSIGNAL1 is red (STATUS:=3), TRAFFICSIGNAL2 green (STATUS:=1),
and the delay time is 5000 milliseconds.

Action Green2

Advertising