Creating the machine

Top  Previous  Next

 

1.) Generate linear mover

Select the tabsheet 'Actuators' and generate a linear mover by catching the corresponding symbol with the mouse (keep pressing the left mouse button). Move the mouse about to the middle of the graphic window and release the mouse button.

 

2.) Generate box

Just do the same thing in order to generate a box (tabsheet Misc). Position it a bit above the linear mover.

 

Now you have to determine that the box shall be fixed to the linear mover.

Therefore open the element tree . Click on the box and keep the left mouse button pressed. Then drag the box in the element tree onto the linear mover.

 

Open the edit mask of the linear mover by clicking on the line with the right mouse button. Please note that you click not before the cursor has been changed into a hand. Shift the edit mask aside so that you can see the linear mover and the box.

Shift the slide controller beneath the field Hotspot a little to the right. This will cause the hotspot of the linear mover and the box to move to the right. Close the edit mask by OK.

 

3.) Generate limit switch

Generate a limit switch (tabsheet Sensors). Position it a little to the left near the box. Make sure that it will be as near to the box that it will still reach it when the linear mover moves to the left.

Open the edit mask of the limit switch by clicking on the right mouse button. Click on the arrow near the input field Master (tabsheet VAR) and select the box. That is how the limit switch will know that it should be activated by the box. Enter “limit switch left” into the field Name.

 

Do just the same thing in order to generate another limit switch, which you position right beside the box. Name itlimit switch right”.

 

In case the labels disturb you, drag them to another position by the left mouse button, or open the edit masks and inactivate the check box Label.

 

4.) Generate start-button

Generate a NO-pushbutton (tabsheet Controls) and place it somewhere in the window. Open the edit mask and name it “Start”.

 

5.) Save

Now the machine is completed and you should save it: Project|Save all. You can either name the project yourself or accept the proposal “Project01”.

 

Writing the PLC-Program

 

 

Writing the PLC-Program