You are on page 1of 15

SECRET: Standard Sequence Programming for PLC

Standard Sequence Programming for PLC Programming is the original made in program-
plc.blogspot.com and FREE for You

Standard Sequence for PLC Programming consists of :


1. Input Condition
2. Trigger And Sensor Condition
3. Output Condition, And
4. Controller

The following is a diagram of the Input, Trigger, Output and Controller

The following example the use of Standard Sequence Programming (Input, Trigger, Output and
Controller) in ladder diagram :
1. Example Input Condition

Legend:
I-1 : Input Condition 1
I-2 : Input Condition 2
I-3 : Input Condition 3
O-4 : Output Condition 4
S-3 : Sensor 3
C-1 : Output Controller 1
PLC Input : PLC Input from PLC Hardware

2. Example Trigger And Sensor Condition

Legend:
Tr : Trigger to Controller
C-1 : Output Controller 1
C-2 : Output Controller 2
C-3 : Output Controller 3
C-4 : Output Controller 4
S-1 : Sensor 1
S-2 : Sensor 2
S-3 : Sensor 3
S-4 : Sensor 4
I-2 : Input Condition 2
I-3 : Input Condition 3
STEP0 : Waiting Start = ON, Waiting All Origin = ON, etc.
STEP1 : Sequence 1
STEP2 : Sequence 2
STEP3 : Sequence 3

3. Example Output Condition

Legend:
O-1 : Output Condition 1
O-2 : Output Condition 2
O-3 : Output Condition 3
O-4 : Output Condition 4
C-2 : Output Controller 2
C-3 : Output Controller 3
C-4 : Output Controller 4
S-3 : Sensor 3
S-4 : Sensor 4
I-1 : Input Condition 1

4. Example Controller
Legend:
Tr : Trigger from "2. Trigger And Sensor Condition"
C-1 : Output Controller 1
C-2 : Output Controller 2
C-3 : Output Controller 3
C-4 : Output Controller 4
I-1 : Input Condition 1

4.1. Controller for Siemens PLC

4.2. Controller for Allen Bradley PLC


4.3. Controller for Omron PLC

4.4. Controller for Mitsubishi PLC


4.5. Controller for Keyence PLC
4.6. Controller for GE Fanuc PLC
Application for Standard Sequence Programming :
1. Simple Movement/Process :
--> PLC Control for 3 Movement

2. Complex Movement/Process :
--> PLC Control for Automatic Welding Machine

PLC Control For 3 Movement


Simulation : 3 Movement

Remarks :
1. Movement 1 : Cylinder1 Forward
2. Movement 2 : Cylinder2 Forward
3. Movement 3 : Cylinder1 Reverse AND Cylinder2 Reverse

Detail PLC Control for 3 movement

PLC Input and Output Devices:


1.PLC Input:
<-> 1 Input Unit for Push Button Start
<-> 2 Input Unit for Sensor1 Reverse And Sensor1 Forward
<-> 2 Input Unit for Sensor2 Reverse And Sensor2 Forward
<-> 1 Input Unit for Emergency Stop (Push Button)
--> Total PLC Input, minimum of 6 Input.

2.PLC Output:
<-> 2 Output Unit for Cylinder1 Forward And Cylinder1 Reverse
<-> 2 Output Unit for Cylinder2 Forward And Cylinder2 Reverse
--> Total PLC output, minimum of 4 Output.

Sequence PLC Programming for 3 movement / process:

1. INPUT CONDITION :
a. Emergency Stop Condition
b. All Origin Condition
c. Start Condition

2. TRIGGER AND SENSOR CONDITION :


a. STEP0 or Output Controller1 : All Origin Condition AND Start Condition
b. STEP1 or Movement1 or Output Controller2 : Cylinder1 Forward
c. STEP2 or Movement2 or Output Controller3 : Cylinder2 Forward
d. STEP3 or Movement3 or Output Controller4 : Cylinder1 Reverse AND Cylinder2
Reverse

3. OUTPUT CONDITION :
a. STEP 1 or Output Controller 2 for Cylinder1 Forward
b. STEP 2 or Output Controller 3 for Cylinder2 Forward
c. STEP 3 or Output Controller 4 for Cylinder1 Reverse
d. STEP 3 or Output Controller 4 for Cylinder2 Reverse

4. CONTROLLER :
Using 4 Output Controller

Can You make Program Ladder PLC ?


Please using Standard Sequence Programming

If Can't :

GE Fanuc PLC Control for 3 movement

Siemens PLC Control for 3 movement

Allen Bradley PLC Control for 3 movement

Omron PLC Control for 3 movement

Mitsubishi PLC Control for 3 movement

Keyence PLC Control for 3 movement

Omron PLC Control For 3 Movement


PLC Type CP1L, Name Input / Output PLC :

INPUT PLC :
I: 0.00 ; Push Button Start
I: 0.01 ; Sensor1 Reverse
I: 0.02 ; Sensor1 Forward
I: 0.03 ; Sensor2 Reverse
I: 0.04 ; Sensor2 Forward
I: 0.05 ; Emergency Stop (Push Button)

OUTPUT PLC :
Q: 100.00 ; Cylinder1 Forward
Q: 100.01 ; Cylinder1 Reverse
Q: 100.02 ; Cylinder2 Forward
Q: 100.03 ; Cylinder2 Reverse
Download PDF File:
Omron PLC For 3 Movement(.pdf)

Please Download Programming for CX-Programmer v9.1 :


Omron PLC Control for 3 movement

Reading Ladder PLC Programming for 3 movement with Standard Sequence


Programming :

1. INPUT CONDITION
a.If I: 0.05 = ON Then 10.00 = ON
b.If 10.00 = ON Then Reset Input C0 or C0 = 0 (Only STEP0 = ON)
c.If I: 0.01 = ON AND I: 0.03 = ON Then 10.01 = ON ( ALL ORIGIN = ON)
d.If I: 0.00 = ON Then 10.02 = ON (Start = ON)

2. TRIGGER AND SENSOR CONDITION


a.If 11.00 = ON AND 10.01 = ON AND 10.02 = ON Then 10.03 = ON AND 11.01 = ON
(STEP1 = ON)
b.If 11.01 = ON AND I: 0.02 = OFF Then 10.03 = OFF AND Waiting STEP1
c.If 11.01 = ON AND I: 0.02 = ON Then 10.03 = ON AND 11.02 = ON (STEP2 = ON)
d.If 11.02 = ON AND I: 0.04 = OFF Then 10.03 = OFF AND Waiting STEP2
e.If 11.02 = ON AND I: 0.04 = ON Then 10.03 = ON AND 11.03 = ON (STEP3 = ON)
f.If 11.03 = ON AND I: 0.01 = ON AND I: 0.03 = ON Then 11.00 = ON (STEP0 = ON) Else
Waiting STEP3

3. OUTPUT CONDITION
a.If 11.01 = ON Then Q: 100.00 = ON
b.If 11.03 = ON Then Q: 100.01 = ON
c.If 11.02 = ON Then Q: 100.02 = ON
d.If 11.03 = ON Then Q: 100.03 = ON

4. CONTROLLER
a.If 11.01 = OFF AND 11.02 = OFF AND 11.03 = OFF Then 10.04 = ON (Only STEP0 =
ON)
b.If 10.03 = ON (Trigger) Then Count Input CNT0000 = ON
c.If 10.00 = ON (Emergency Stop) Then Reset Input CNT0000 or CNT0000 = 1000 (Only
STEP0 = ON)
d.If 10.04 = ON AND C0 (CNT0000) Not Equal 1000 (#1000) Then Reset Input CNT0000
or CNT0000 = 1000 (Only STEP0 = ON)
e.If C0 (CNT0000) = 1000 (#1000) Then 11.00 = ON (STEP0 = ON)
f.If C0 (CNT0000) = 999 (#999) Then 11.01 = ON (STEP1 = ON)
g.If C0 (CNT0000) = 998 (#998) Then 11.02 = ON (STEP2 = ON)
h.If C0 (CNT0000) = 997 (#997) Then 11.03 = ON (STEP3 = ON)

Omron PLC programming for Control 3 movement


with Standard Sequence Programming
Siemens PLC Control For 3 Movement
PLC Type Simatic S7-200 Siemens, Name of the Input / Output:

PLC Input:
I0.0 ; Push Button Start
I0.1 ; Sensor1 Reverse
I0.2 ; Sensor1 Forward
I0.3 ; Sensor2 Reverse
I0.4 ; Sensor2 Forward
I0.5 ; Emergency Stop (Push Button)

PLC Output:
Q0.0 ; Cylinder1 Forward
Q0.1 ; Cylinder1 Reverse
Q0.2 ; Cylinder2 Forward
Q0.3 ; Cylinder2 Reverse

Download PDF File:


Siemens PLC for 3 Movement(.pdf)

Please Download Programming for STEP 7 MicroWIN :


Siemens PLC Control for 3 movement

Reading Ladder PLC Programming for 3 movement with Standard Sequence


Programming :

1. INPUT CONDITION
a.If I0.5 = ON Then M0.0 = ON
b.If M0.0 = ON Then Reset(R) CTU C0 or CTU C0 = 0 (Only STEP0 = ON)
c.If I0.1 = ON AND I0.3 = ON Then M0.1 = ON ( ALL ORIGIN = ON)
d.If I0.0 = ON Then M0.2 = ON (Start = ON)

2. TRIGGER AND SENSOR CONDITION


a.If M1.0 = ON AND M0.1 = ON AND M0.2 = ON Then M0.3 = ON AND M1.1 = ON
(STEP1 = ON)
b.If M1.1 = ON AND I0.2 = OFF Then M0.3 = OFF AND Waiting STEP1
c.If M1.1 = ON AND I0.2 = ON Then M0.3 = ON AND M1.2 = ON (STEP2 = ON)
d.If M1.2 = ON AND I0.4 = OFF Then M0.3 = OFF AND Waiting STEP2
e.If M1.2 = ON AND I0.4 = ON Then M0.3 = ON AND M1.3 = ON (STEP3 = ON)
f.If M1.3 = ON AND I0.1 = ON AND I0.3 = ON Then M1.0 = ON (STEP0 = ON) Else
Waiting STEP3

3. OUTPUT CONDITION
a.If M1.1 = ON Then Q0.0 = ON
b.If M1.3 = ON Then Q0.1 = ON
c.If M1.2 = ON Then Q0.2 = ON
d.If M1.3 = ON Then Q0.3 = ON

4. CONTROLLER
a.If M1.1 = OFF AND M1.2 = OFF AND M1.3 = OFF Then M0.4 = ON (Only STEP0 = ON)
b.If M0.3 = ON (Trigger) Then Count Up (CU) CTU C0
c.If M0.0 = ON (Emergency Stop) Then Reset(R) CTU C0 or CTU C0 = 0 (Only STEP0 =
ON)
d.If M0.4 = ON AND C0 Not Equal 0 (Null) Then Reset(R) CTU C0 or CTU C0 = 0 (Only
STEP0 = ON)
e.If C0 = 0 Then M1.0 = ON (STEP0 = ON)
f.If C0 = 1 Then M1.1 = ON (STEP1 = ON)
g.If C0 = 2 Then M1.2 = ON (STEP2 = ON)
h.If C0 = 3 Then M1.3 = ON (STEP3 = ON)

Siemens PLC programming for Control 3 movement


with Standard Sequence Programming