Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
98 views21 pages

Industrial Control Programming

The document describes a PLC programming project for an industrial drilling machine. It includes details about the machine components and process, HMI screens for manual and automatic operation, PLC I/O mapping, and descriptions of the HMI screen elements.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
98 views21 pages

Industrial Control Programming

The document describes a PLC programming project for an industrial drilling machine. It includes details about the machine components and process, HMI screens for manual and automatic operation, PLC I/O mapping, and descriptions of the HMI screen elements.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

Test Project

Industrial Control
Module B - Programming

Submitted by: Graha Louvit S

LKS_JATENG_2024_TP19_M1_introduction_en
Module B – Programming
With the attached mounting layout and its electrical diagrams it is intended to simulate the operation of the
following drilling machine.

Legend:
MA1: Main Conveyor PX1 : Pos 1 Product Detect
MA2: Drill Process PX2 : Pos 2 Product Detect
MA3: Ream Process PX3 : Pos 3 Product Detect
P3 : Process Indicator LS1 : Drill Limit Position
LS2 : Ream Limit Position
S3 : Emergency Switch

Date: 18.04.2024 Version: 1.0


LKS_JATENG_2024_TP19_M1_introduction_en ©ICI Automation
HMI – Screen “HOME”

HMI – Screen “Manual”

VERSION 1.0
LKS_PROV_JATENG_2024_HMI_PRE 3 of 11
DATE 10.03.2024
HMI – Screen “Automatic”

VERSION 1.0
LKS_PROV_JATENG_2024_HMI_PRE 4 of 11
DATE 10.03.2024
PLC Inputs/ Outputs
SYMBOL TYPE COMMENT
PX1 BOOL PLC – Input (A2)
PX2 BOOL PLC – Input (A2)
PX3 BOOL PLC – Input (A2)
LS1 BOOL PLC – Input (A2)
LS2 BOOL PLC – Input (A2)
S3 BOOL PLC – Input (A2)
Q1 BOOL PLC – Input (A2)
SS1 RIGHT BOOL PLC – Input (A2)
SS1 LEFT BOOL PLC – Input (A2)
MA2 BOOL PLC – Output (A3)
MA3 BOOL PLC – Output (A3)
P3 BOOL PLC – Output (A3)
P2 BOOL PLC – Output (A3)
Q2 BOOL PLC – Output (A3)
Q3 BOOL PLC – Output (A3)
Mode_Manual BOOL PLC – Variable
Mode_Auto BOOL PLC – Variable
Cycle Active BOOL PLC – Variable
Cycle Stop BOOL PLC – Variable
HMI_Button_1 BOOL PLC – Variable
HMI_Button_2 BOOL PLC – Variable
HMI_Button_3 BOOL PLC – Variable
HMI_Button_4 BOOL PLC – Variable
HMI_Button_5 BOOL PLC – Variable
HMI_Button_6 BOOL PLC – Variable
HMI_Button_7 BOOL PLC – Variable
HMI_Button_8 BOOL PLC – Variable

VERSION 1.0
LKS_PROV_JATENG_2024_HMI_PRE 5 of 11
DATE 10.03.2024
PLC Inputs/ Outputs
SYMBOL TYPE COMMENT
HMI_Button_9 BOOL PLC – Variable
HMI_Button_10 BOOL PLC – Variable
HMI_Button_11 BOOL PLC – Variable
HMI_Button_12 BOOL PLC – Variable
SIGN IN BOOL PLC – Variable
SIGN OUT BOOL PLC – Variable
MA1_CW BOOL PLC – Variable
MA1_CCW BOOL PLC – Variable
MA1_PL BOOL PLC – Variable
MA1 BOOL PLC – Variable
OPERATOR BOOL PLC – Variable
ENGINEER BOOL PLC – Variable
QTY_Order INT PLC – Variable
QTY_Drill INT PLC – Variable
QTY_Ream INT PLC – Variable
Order_Count INT PLC – Variable
Drill_Count INT PLC – Variable
Ream_Count INT PLC – Variable
QTY_PROD INT PLC – Variable

VERSION 1.0
LKS_PROV_JATENG_2024_HMI_PRE 6 of 11
DATE 10.03.2024
Details : Home Screen

7 3 5
4
6

1
2

Position Variable Action Comment


1 --- Button Event Active “Manual Screen”

2 --- Button Event Active “Automatic Screen”

3 SIGN IN Button Event Set bit while key is pressed/Momentary

4 SIGN OUT Button Event Set bit while key is pressed/Momentary

5 OPERATOR Background Control State “0” = Colour “Dark Green”


Colour State “1” = Colour “Light Green”

6 ENGINEER Background Control State “0” = Colour “Dark Green”


Colour State “1” = Colour “Light Green”

7 PASSWORD Input Field Range 0 to 9999

VERSION 1.0
LKS_PROV_JATENG_2024_HMI_PRE 7 of 11
DATE 10.03.2024
Details : Manual Screen

8 10 12 15 28
14 17
9 11 13 16

27
22 24
26

23 25

18 19 20 21

Position Variable Action Comment


8 HMI_Button_1 Button Event Set bit while key is pressed/Momentary
9 MA1_CW Background Control Colour State “0” = Colour “Dark Green”
State “1” = Colour “Light Green”
10 HMI_Button_2 Button Event Set bit while key is pressed/Momentary

11 MA1_CCW Background Control Colour State “0” = Colour “Dark Green”


State “1” = Colour “Light Green”
12 HMI_Button_3 Button Event Set bit while key is pressed/Momentary
13 HMI_Button_4 Button Event Set bit while key is pressed/Momentary
14 MA2 Background Control Colour State “0” = Colour “Dark Yellow”
State “1” = Colour “Light Yellow”
15 HMI_Button_5 Button Event Set bit while key is pressed/Momentary
16 HMI_Button_6 Button Event Set bit while key is pressed/Momentary
17 MA3 Background Control Colour State “0” = Colour “Dark Green”
State “1” = Colour “Light Green”
18 MA1_PL Background Control Colour State “0” = Colour “Dark Yellow”
State “1” = Colour “Light Yellow”
19 PX1 Background Control Colour State “0” = Colour “Dark Green”
State “1” = Colour “Light Green”
20 PX2 Background Control Colour State “0” = Colour “Dark Green”
State “1” = Colour “Light Green”

VERSION 1.0
LKS_PROV_JATENG_2024_HMI_PRE 8 of 11
DATE 10.03.2024
Position Variable Action Comment
21 PX3 Background Control Colour State “0” = Colour “Dark Green”
State “1” = Colour “Light Green”
22 MA2 Background Control Colour State “0” = Colour “Dark Yellow”
State “1” = Colour “Light Yellow”
23 LS1 Background Control Colour State “0” = Colour “Dark Green”
State “1” = Colour “Light Green”
24 MA3 Background Control Colour State “0” = Colour “Dark Green”
State “1” = Colour “Light Green”
25 LS2 Background Control Colour State “0” = Colour “Dark Green”
State “1” = Colour “Light Green”
26 HMI_Button_7 Button Event Set bit while key is pressed/Momentary
27 Error Background Control Colour State “0” = Colour “Gray”, Text “ERROR
(Word Lamp) OFF”
State “1” = Colour “Red” , Text “ERROR 1”
State “2” = Colour “Yellow” , Text “ERROR
2”
State “3” = Colour “Purple” , Text “ERROR
3”
28 --- Button Event Active “Home”

VERSION 1.0
LKS_PROV_JATENG_2024_HMI_PRE 9 of 11
DATE 10.03.2024
Details : Automatic Screen

37 42
30 32 34 35 38
43
39
31 33 44
36
40 41
29

The functions from the drawing of the Screen


Automatic are the same from the drawing of the
Screen Manual with the exception of the things that
are outside the White square in the image.
Position Variable Action Comment
29 P3 Background Control State “0” = Colour “Dark Yellow”
Colour State “1” = Colour “Light Yellow”
30 HMI_Button_8 Button Event Set bit while key is pressed/Momentary
31 HMI_Button_9 Button Event Set bit while key is pressed/Momentary

32 Cycle Active Background Control State “0” = Colour “Dark Green”


Colour State “1” = Colour “Light Green”
33 Cycle Active Background Control State “0” = Colour “Light Red”
Colour State “1” = Colour “Dark Red”
34 HMI_Button_10 Button Event Set bit while key is pressed/Momentary
35 Cycle Stop Background Control State “0” = Colour “Dark Yellow”
Colour State “1” = Colour “Light Yellow”
36 --- Button Event Active “Home”
37 QTY_Order Input Field Range 0 to 10
38 QTY_Drill Input Field Range 0 to 10

VERSION 1.0
LKS_PROV_JATENG_2024_HMI_PRE 11 of 11
DATE 10.03.2024
Position Variable Action Comment
39 QTY_Ream Input Field Range 0 to 10
40 HMI_Button_11 Button Event Set bit while key is pressed/Momentary
41 HMI_Button_12 Button Event Set bit while key is pressed/Momentary
42 Order_Count Output Field Range 0 to 10
43 Drill_Count Output Field Range 0 to 10
44 Ream_Count Output Field Range 0 to 10

VERSION 1.0
LKS_PROV_JATENG_2024_HMI_PRE 9 of 11
DATE 10.03.2024
Power On All actuators : OFF
Page2

0 0
0 Warming_up Q2
K1 A
1
1
0
1 Q3

1
1 0 MA2 : ON
Ready TON> 7S MA3 : ON
P3 : ON
P2 : ON
MA1_PL : Blink
0 1 MA1_PL : ON MA1 : OFF
1 Hz

Warming_up : OFF
TON : ON TON : OFF Ready: ON 1
Warming_up

0 0
Q2 : OFF Q2
K1 Q3 : OFF
MA2 : OFF
MA3 : OFF 1 0
P3 : OFF Q3
1 P2 : OFF

1
0
TON>3S

MA1 : ON MA1 : OFF


1

TON : OFF
Warming_up : ON
TON: ON
Warming Up

LKSP_2024_JATENG_PRE

PLC – Function Description Page 1


Page1 Page3

0 0 1 Page6: Mode_Automatic
Ready Ready OPERATOR Page4: Mode_Manual

1 1 0

1 1 1
Mode_Manual Mode_Auto ENGINEER
TON : RESET TON : RESET
0 0 0

0 0 SIGN IN 0
SS1 Left SS1 Right BUTTON

1 1 1

TON : ON TON : ON PASSWORD = 0


1582 PASSWORD :=0

1
0 0 PASSWORD = 0
TON>1S TON>1S 2023

1 1 1

Q2 : OFF Q2 : OFF ENGINEER : ON OPERATOR : ON


Q3 : OFF Q3 : OFF PASSWORD :=0 PASSWORD :=0
MA1 : OFF MA1 : OFF
MA2 : OFF MA2 : OFF
MA3 : OFF MA3 : OFF
Order_Count = 0 Order_Count = 0 0 SIGN OUT 0 SIGN OUT
Drill_Count = 0 Drill_Count = 0 BUTTON BUTTON
Ream_Count = 0 Ream_Count = 0
1 1
ENGINEER : OFF OPERATOR : OFF
PASSWORD :=0 PASSWORD :=0

Mode_Manual : ON Mode_Manual : OFF


Mode_Automatic : OFF Mode_Automatic : ON
PL2: Blink 0.5Hz PL2: ON

Mode_Manual Mode_Auto

LKSP_2024_JATENG_PRE

PLC – Function Description Page 2


Page2

Error 1: OFF 0 0 0
MA1 MA2 Error 1
Error : OFF
1 1 1
0 0
Error 2
1 0 1
Ready PX2 LS1
1
0
1 0 Error 3
1
K1
1
0
TON : ON TON : ON

0 0
TON >15S TON >15S
Error: ON
Error 1: ON Q2 : OFF
Warming_up: 1 1 Q3 : OFF
OFF MA1 : OFF
Ready: OFF MA2 : OFF
MA3 : OFF
Error 2: ON Error 3: ON Warming_up : OFF
Mode_Manual : OFF
Mode_Automatic : OFF
Cycle_active: OFF
Cycle_Stop: OFF

0 0
HMI_Button_7 HMI_Button_7

1 1

Error 2: OFF Error 3: OFF

Mode_Error

LKSP_2024_JATENG_PRE

PLC – Function Description Page 3


Page2: Mode_Manual Page5

0
ENGINEER Q2: OFF
Q3 : OFF
1

0
HMI_Button_1

1
0
HMI_Button_2

1 1
PX3 PX1

0 0

MA1_CW : ON MA1_CW : OFF MA1_CCW : ON MA1_CCW : OFF


Q2 : ON Q2 : OFF Q2 : OFF Q2 : OFF
Q3 : OFF Q3 : OFF Q3 : ON Q3 : OFF

LKSP_2024_JATENG_PRE

PLC – Function Description Page 4


Page4

MA2 : OFF MA3 : OFF

0 0
PX2 PX3

1 1

1 1
HMI_Button_3 HMI_Button_5

0 0

0 0
HMI_Button_4 HMI_Button_6

1 0 1 0
MA2 MA3

1 1

MA2 : ON MA2 : OFF MA3 : ON MA3 : OFF

LKSP_2024_JATENG_PRE

PLC – Function Description Page 5


Page2: Mode_Automatic Page7

0 0
Cycle_active Cycle_active

1 1

0 0
HMI_Button_10 HMI_Button_9

1 1

Cycle_Stop: ON
Cycle_active: OFF
Q2 : OFF
Q3 : OFF
1 MA1 : OFF
HMI_Button_10
MA2 : OFF
0
MA3 : OFF
Order_Count = 0
Cycle_Stop: ON Drill_Count = 0
Ream_Count = 0

0
HMI_Button_10

Cycle_Stop: OFF

1
HMI_Button_10

Cycle_Stop: OFF

LKSP_2024_JATENG_PRE

PLC – Function Description Page 6


Page6 Page8

1 1
Cycle_active Cycle_active D
0 0

0
ENGINEER 0
OPERATOR

1
1
ENGINEER
1
0
HMI_Button_11
0
Target_Order = 2 Target_Order = 0
1 Target_Drill = 3 Target_Drill = 0
0 Target_Ream = 3 Target_Ream = 0
HMI_Button_12

TON : ON TON : ON

0
0
TON> 1S TON> 2S

1 1

Target_Order = QTY_Order Target_Order = 0


Target_Drill = QTY_Drill Target_Drill = 0
Target_Ream = QTY_Ream Target_Ream = 0

0 D
Mode_Automatic

1
Cycle_active

0
1
Cycle_Stop

Mode_Manual : OFF Mode_Manual : OFF Mode_Manual : OFF


Mode_Automatic : ON Mode_Automatic : ON Mode_Automatic : ON
PL3: Blink 1Hz PL3: ON PL3: Blink 2Hz

LKSP_2024_JATENG_PRE

PLC – Function Description Page 7


Page7 Page9

0 Reference: OFF
Reference X 1
PX1

1
1

0 MA2 : OFF
HMI_Button_8 1
LS1

1
0 0
TON >2S
0
Target_Order > 0 1 1
LS2

1
0
MA2 : Blink 2 Hz
TON : ON 1
Cycle_active : Set PX2

1 0
LS1
0 1
TON >3S
PX3
0
L 0
1 0
Q2 : ON TON >3S
1
MA1_CW : ON Target_Drill > 0
1
0
MA2 : OFF
1 Drill_Count +1
PX1 1
Target_Ream > 0
0
0
0 0
TON >2S
PX2
Reference: ON
1
1

0
Q2 : OFF
Drill_Count >=
Target_Drill
Y
MA1_CW : OFF

1
0 Q2 : ON
TON >1S MA1_CW : ON

1
Y
1
PX2
MA2 : ON
0

0
0 PX3
LS1
1

1
0 Z
TON >3S

LKSP_2024_JATENG_PRE
X
PLC – Function Description Page 8
Page8 Page9

Z J K
1
1
Q2 : ON 0
Q2 : OFF
MA1_CW : ON CYCLE STOP L
MA1_CW : OFF

1
0 1
PX3
TON >1S
Cycle_active: OFF
1
0 Q2 : OFF
Q3 : OFF
Q2 : OFF MA1 : OFF
MA1_CW : OFF MA2 : OFF
MA3 : ON
Order_Count +1
Drill_Count = 0
MA3 : OFF
Order_Count = 0
0 Drill_Count = 0
Ream_Count = 0
LS2 0
PX1
1
1
0
TON >3S 0
Order_Count >=
Target_Order K

1
MA3 : OFF
Cycle_active: OFF
Q2 : OFF
0 Q3 : OFF
TON >2S
MA1 : OFF
1 MA2 : OFF
MA3 : OFF
Order_Count = 0
MA3 : Blink 2 Hz Drill_Count = 0
Ream_Count = 0

1
LS2

0
TON >3S

MA3 : OFF

0
TON >2S

J
LKSP_2024_JATENG_PRE

PLC – Function Description Page 9


Page9

LKSP_2024_JATENG_PRE

PLC – Function Description Page 10

You might also like