Sample Program Program PLC_PRG, First Expansion Level, Instruction Part Now we have to finish programming the individual steps. If you doubleclick on the field of a step, then you open a dialog to open a new action. In our case we will use IL (Instruction list). 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 is as follows: Action Init Switch1 changes the State of TRAFFICSIGNAL1 to 2 (yellow), and that of TRAFFICSIGNAL2 to 4 (yellow- red). In addition, a time delay of 2000 milli-seconds is now set. The action is now as follows:
TX1200 37 Version: 1.3