Friday, February 10, 2012

Siemens PLC Control for Automatic Welding

PLC Type Simatic S7-200 Siemens, Name of the Input / Output:

I0.0 ; Emergency Push Button
I0.1 ; Push Button Start
I0.2 ; Safety Sensor
I0.3 ; Limit Switch Clamp Left Reverse
I0.4 ; Limit Switch Clamp Left Middle
I0.5 ; Limit Switch Clamp Left Forward
I0.6 ; Limit Switch Clamp Right Reverse
I0.7 ; Limit Switch Clamp Right Middle
I1.0 ; Limit Switch Clamp Right Forward
I1.1 ; Limit Switch Ejector Up
I1.2 ; Limit Switch Ejector Down
I1.3 ; Limit Switch Nozzle Reverse
I1.4 ; Limit Switch Nozzle Middle
I1.5 ; Limit Switch Nozzle Forward

Q0.0 ; Contactor to Torch Button of MIG Welding
Q0.1 ; Solenoid to Clamp Left Reverse
Q0.2 ; Solenoid to Clamp Left Forward
Q0.3 ; Solenoid to Clamp Right Reverse
Q0.4 ; Solenoid to Clamp Right Forward
Q0.5 ; Solenoid to Ejector Up
Q0.6 ; Solenoid to Ejector Down
Q0.7 ; Solenoid to Nozzle Reverse
Q1.0 ; Solenoid to Nozzle Forward

Download PDF File:
Siemens PLC for Automatic Welding(.pdf)

Please Download Programming for STEP 7 MicroWIN :
Siemens PLC Control for Automatic Welding

Reading Ladder PLC Programming for Automatic Welding Using Standard Sequence Programming:


1.1. Waiting Start=ON
1.1.a.If I0.0=ON OR (M1.0=OFF AND I0.2=OFF) Then M0.0 = ON
1.1.b.If M0.0 = ON Then Reset Input C0 or C0 = 0 (Only STEP0 = ON)

1.2. All Origin=ON
If I0.0=OFF AND I0.2=ON AND I0.3=ON AND I0.6=ON AND I1.1=ON AND I1.3=ON Then M0.1=ON

1.3. Start=ON
If I0.0=OFF AND I0.2=ON AND I0.1=ON Then M0.2=ON


2.1. Waiting Start=ON
2.1.a. If C0 =0 Then M1.0=ON
2.1.b. If M1.0=ON AND M0.1=OFF AND M0.2=OFF Then M1.0=ON

2.2. Waiting Start=OFF, And Movement1=ON
If M1.0=ON AND M0.1=ON AND M0.2=ON Then M0.3=ON, C0 =1, M1.0=OFF, M1.1=ON

2.3. Movement1=ON
2.3.a. If C0 =1 Then M1.1=ON
2.3.b. If M1.1=ON AND M0.6=OFF AND M0.7=OFF Then M1.1=ON

2.4. Movement1=OFF, And Movement2=ON
If M1.1=ON AND M0.6=ON AND M0.7=ON Then M0.3=ON, C0 =2, M1.1=OFF, M1.2=ON

2.5. Movement2=ON
2.5.a. If C0 =2 Then M1.2=ON
2.5.b. If M1.2=ON AND I1.2=OFF Then M1.2=ON

2.6. Movement2=OFF, And Movement3=ON
If M1.2=ON AND I1.2=ON Then M0.3=ON, C0 =3, M1.2=OFF, M1.3=ON

2.7. Movement3=ON
2.7.a. If C0 =3 Then M1.3=ON
2.7.b. If M1.3=ON AND I0.5=OFF AND I1.0=OFF Then M1.3=ON

2.8. Movement3=OFF, And Movement4=ON
If M1.3=ON AND I0.5=ON AND I1.0=ON Then M0.3=ON, C0 =4, M1.3=OFF, M1.4=ON

2.9. Movement4=ON
2.9.a. If C0 =4 Then M1.4=ON
2.9.b. If M1.4=ON AND I1.4=OFF Then M1.4=ON

2.10. Movement4=OFF, And Movement5=ON
If M1.4=ON AND I1.4=ON Then M0.3=ON, C0 =5, M1.4=OFF, M1.5=ON

2.11. Movement5=ON
2.11.a. If C0 =5 Then M1.5=ON
2.11.b. If M1.5=ON AND I1.5=OFF Then M1.5=ON

2.12. Movement5=OFF, And Movement6=ON
If M1.5=ON AND I1.5=ON Then M0.3=ON, C0 =6, M1.5=OFF, M1.6=ON

2.13. Movement6=ON
2.13.a. If C0 =6 Then M1.6=ON
2.13.b. If M1.6=ON AND I1.4=OFF Then M1.6=ON

2.14. Movement6=OFF, And Movement7=ON
If M1.6=ON AND I1.4=ON Then M0.3=ON, C0 =7, M1.6=OFF, M1.7=ON

2.15. Movement7=ON
2.15.a. If C0 =7 Then M1.7=ON
2.15.b. If M1.7=ON AND I1.3=OFF Then M1.7=ON

2.16. Movement7=OFF, And Movement8=ON
If M1.7=ON AND I1.3=ON Then M0.3=ON, C0 =8, M1.7=OFF, M2.0=ON

2.17. Movement8=ON
2.17.a. If C0 =8 Then M2.0=ON
2.17.b. If M2.0=ON AND M0.6=OFF AND M0.7=OFF Then M2.0=ON

2.18. Movement8=OFF, And Movement9=ON
If M2.0=ON AND M0.6=ON AND M0.7=ON Then M0.3=ON, C0 =9, M2.0=OFF, M2.1=ON

2.19. Movement9=ON
2.19.a. If C0 =9 Then M2.1=ON
2.19.b. If M2.1=ON AND I0.3=OFF AND I0.6=OFF Then M2.1=ON

2.20. Movement9=OFF, And Movement10=ON
If M2.1=ON AND I0.3=ON AND I0.6=ON Then M0.3=ON, C0 =10, M2.1=OFF, M2.2=ON

2.20. Movement10=ON
2.20.a. If C0 =10 Then M2.2=ON
2.20.b. If M2.2=ON AND I1.1=OFF Then M2.2=ON

2.21. Movement10=OFF, And Waiting Start=ON
If M2.2=ON AND I1.1=ON Then M0.3=ON, C0 =0, M2.2=OFF, M1.0=ON


3.1. Hold ON for Limit Switch Clamp Left Middle
If (M1.1=ON OR M2.0=ON) AND I0.4=ON Then SET M0.6 (M0.6=ON Hold)

3.2. Hold ON for Limit Switch Clamp Right Middle
If (M1.1=ON OR M2.0=ON) AND I0.7=ON Then SET M0.7 (M0.7=ON Hold)

3.2. Hold OFF for Limit Switch Clamp Left/Right Middle
If M1.2=ON OR M2.1=ON OR M1.0=ON Then R M0.6 N=2 (M0.6=OFF), R M0.7 (M0.7=OFF)

3.3. Torch Button of MIG Welding=ON
If M1.5=ON Then Q0.0=ON

3.4. Solenoid to Clamp Left Reverse=ON
If (M2.0=ON AND M0.6=OFF) OR M2.1=ON Then Q0.1=ON

3.5. Solenoid to Clamp Left Forward=ON
If (M1.1=ON AND M0.6=OFF) OR M1.3=ON Then Q0.2=ON

3.6. Solenoid to Clamp Right Reverse=ON
If (M2.0=ON AND M0.7=OFF) OR M2.1=ON Then Q0.3=ON

3.7. Solenoid to Clamp Right Forward=ON
If (M1.1=ON AND M0.7=OFF) OR M1.3=ON Then Q0.4=ON

3.8. Solenoid to Ejector Up=ON
If M2.2=ON Then Q0.5=ON

3.9. Solenoid to Ejector Down=ON
If M1.2=ON Then Q0.6=ON

3.10. Solenoid to Nozzle Reverse=ON
If M1.6=ON OR M1.7=ON Then Q0.7=ON

3.10. Solenoid to Nozzle Forward=ON
If M1.4=ON OR M1.5=ON Then Q1.0=ON


2.1. Waiting Start=ON
2.1.a.If M1.1=OFF AND M1.2=OFF AND M1.3=OFF AND M1.4=OFF AND M1.5=OFF AND M1.6=OFF AND M1.7=OFF Then M0.4=ON
2.1.b.If M0.4=ON AND M2.0=OFF AND M2.1=OFF AND M2.2=OFF Then M0.5=ON
2.1.c.If M0.5=ON AND C0 Not Equal 0(Null) Then Reset Input C0 or C0 = 0 (Only STEP0 = ON)
2.1.d.If C0 =0 Then M1.0=ON

2.2. Trigger to Count of C0
If M0.3 = ON Then Count Up Input C0 = ON (C0 CU = ON)

2.3. Emergency Stop=ON
If M0.0 = ON Then Reset Input C0 or C0 = 0 (Only STEP0 = ON)

2.4. Waiting Start=ON, And Movement1=ON Up to Movement10=ON
2.4.a.If C0 =0 Then M1.0=ON (Waiting Start=ON)
2.4.b.If C0 =1 Then M1.1=ON (Movement1=ON)
2.4.c.If C0 =2 Then M1.2=ON (Movement2=ON)
2.4.d.If C0 =3 Then M1.3=ON (Movement3=ON)
2.4.e.If C0 =4 Then M1.4=ON (Movement4=ON)
2.4.f.If C0 =5 Then M1.5=ON (Movement5=ON)
2.4.g.If C0 =6 Then M1.6=ON (Movement6=ON)
2.4.h.If C0 =7 Then M1.7=ON (Movement7=ON)
2.4.i.If C0 =8 Then M2.0=ON (Movement8=ON)
2.4.j.If C0 =9 Then M2.1=ON (Movement9=ON)
2.4.k.If C0 =10 Then M2.2=ON (Movement10=ON)

Description for the movement:
1. Movement1 : Cylinder Clamp Left AND Right to Middle (Forward)
2. Movement2 : Cylinder Ejector Down
3. Movement3 : Cylinder Clamp Left AND Right to Forward
4. Movement4 : Cylinder Nozzle to Middle (Forward)
5. Movement5 : Cylinder Nozzle to Forward AND Welding Torch=ON
6. Movement6 : Cylinder Nozzle to Middle (Reverse)
7. Movement7 : Cylinder Nozzle to Reverse
8. Movement8 : Cylinder Clamp Left AND Right to Middle (Reverse)
9. Movement9 : Cylinder Clamp Left AND Right to Reverse
10. Movement10 : Cylinder Ejector Up

Back to : Automatic Welding Machine


Newer Post Older Post Home

You may also like these ebook:

Get Free PLC eBook directly sent to your email,
and email subscription to

We hate SPAM. Your information is never sold or shared with anyone.

Your Email Will Be 100% Secured !