Standard Sequence Programming For PLC
Standard Sequence Programming For PLC
Standard Sequence Programming for PLC Programming is the original made in program-
plc.blogspot.com and FREE for You
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
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
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
2. Complex Movement/Process :
--> PLC Control for Automatic Welding Machine
Remarks :
1. Movement 1 : Cylinder1 Forward
2. Movement 2 : Cylinder2 Forward
3. Movement 3 : Cylinder1 Reverse AND Cylinder2 Reverse
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.
1. INPUT CONDITION :
a. Emergency Stop Condition
b. All Origin Condition
c. Start Condition
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
If Can't :
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)
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)
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)
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
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)
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)