Beruflich Dokumente
Kultur Dokumente
concept:
12/22/16
12/22/16
12/22/16
12/22/16
Programmable Logic
Controllers
Defined by NEMA as a digital electronic
apparatus with a programmable memory for
storing instructions to implement specific
functions (logic, sequencing, timing, counting,
and arithmetic) to control machines and
processes.
Considered as the first industrial-based computer
12/22/16
12/22/16
12/22/16
12/22/16
12/22/16
10
12/22/16
11
12/22/16
12
12/22/16
13
12/22/16
14
12/22/16
15
12/22/16
16
12/22/16
17
12/22/16
18
12/22/16
19
12/22/16
20
12/22/16
A Wide Range of
Control Operations
Easy
Maintenance
High
Reliability
Standardization of
Controller Hardware
Able to Withstand
Harsh Plant
Environment
21
12/22/16
22
12/22/16
23
12/22/16
24
12/22/16
25
Functions of PLC
Conventional Relay Logic Replacer
Sequence Control
Arithmetic Operations
Sophisticated
Control
12/22/16
26
Functions of PLC
Process Monitoring and Alarm
Supervisory Control
12/22/16
27
I and O
DEVICES
INPUT
LOGIC
- Pushbuttons
- Relays
- Motors
- Limit Switches
- Timers
- Solenoid valves
- Level Switches
- Counter
s
- Lamps
- Flow Switches
PLC
12/22/16
OUTPUT
- Alarm/annunciato
r
- Relays/contactors
28
Controller
Error
Set value
Final Control
Element
Process
Variable
Temperature
Flow
_
Process
Variable
Transmitter
Primary
Element / Transducer
12/22/16
29
TYPES
OF PLC
12/22/16
30
Hardware Components
Central Processing Unit (CPU)
Micro PLC less than 100 I/Os
Small PLC 0 to 128 I/Os
Medium PLC 0 to 256 I/Os
Large PLC 0 to 512 I/Os
12/22/16
31
Power Supply
100 240 Volts AC
100 / 110 Volts AC
200 / 220 Volts AC
24 Volts DC
12/22/16
32
Inputs
DC 24 Volts
AC 110 / 220 Volts
12/22/16
33
Outputs
Transistor type (24 Vdc )
Relay / Contact type (24Vdc / 220 Vac)
TRIAC type (110 / 220 Vac)
PNP-type Transistor
Input
12/22/16
NPN-type Transistor
Input
Source
Sink
Generates power
Transmits power
34
Relay
12/22/16
35
prof CHARLTON S. INAO
12/22/16
36
prof CHARLTON S. INAO
Programming DEVICES
Peripheral Devices
Programming Console
CX-Programmer Software
Conversion Cables
Connecting Cables
12/22/16
37
38
12/22/16
39
12/22/16
40
12/22/16
41
Structured Text
12/22/16
42
12/22/16
43
12/22/16
44
Programming Format
1)
Ladder diagram
2)Mnemonic List(STL)
3) Function Block
Diagram
12/22/16
45
NOR,NAND,EX-OR
NOR
NAND
EX -OR
12/22/16
46
Ladder Diagram
FBD
STL
NETWORK COMMENTS
//
LD I0.0
O
M1.0
O
I0.2
AN I0.1
AN M4.0
=
M1.0
NETWORK 2
LD I0.3
O
M2.0
A M1.0
=
M2.0
NETWORK 3
LD I0.5
O
M3.0
A M2.0
=
M3.0
NETWORK 4
LD I0.2
O
I0.4
A M3.0
=
M4.0
NETWORK 5
LD M1.0
AN M3.0
=
Q3.4
NETWORK 6
LD M2.0
AN M3.0
=
Q3.7
LAD
AND LOAD
STL
FBD
12/22/16
52
OR LOAD
LD I0.1
A
I0.2
LD I0.3
A
I0.4
OLD
=
Q3.4
OR LOAD/AND LOAD
LD
A
LD
LD
O
ALD
OLD
=
I0.1
I0.2
I0.3
I0.4
I0.5
Q3.4
12/22/16
55
Ladder Diagram
12/22/16
57
12/22/16
59
12/22/16
60
TIMER Instruction
12/22/16
61
12/22/16
62
12/22/16
63
Timer Resolution(Siemens)
12/22/16
TIMER ADDRESS
RESOLUTION
T32, T96
T33-T36
1 ms
10 ms
T97-T100
10 ms
T37-T63
100ms
T101-T255
100ms
64
Cascaded timer
Mitsubishi
12/22/16
Siemens
65
Mitsubishi
12/22/16
66
COUNTERS
Counter UP
Counter Down
Counter Up/Down (Bi Directional
Counter)
12/22/16
67
Counter
12/22/16
68
Add
Not equal
Greater than or
equal
Less than or equal
Subtract
Multiply
Divide
Greater than
Less than
12/22/16
69
Equal operation:
<Operand1>
<Operand2>
Description:
You can use the "Equal" instruction to determine if a first comparison value (<Operand1>) is equal to a
second comparison value (<Operand2>).
If the condition of the comparison is fulfilled, the instruction returns the result of logic operation (RLO)
"1". If the comparison condition is not fulfilled, the instruction returns RLO "0". The RLO of the
instruction is logically combined with the RLO of the entire current path as follows:
By AND, when the comparison instruction is connected in series.
By OR, when the comparison instruction is connected in parallel.
Specify the first comparison value (<Operand1>) in the operand placeholder above the instruction.
Specify the second comparison value (<Operand2>) in the operand placeholder below the instruction.
The OR and AND functions are used to set the values of active and heater. The
TON timer uses the enable EN and delay PRE inputs to drive the accumulator ACC and DN
outputs.
The DN output drives fan2 while the ACC value is compared to the value of 5 to set the output
fan1.
Data flow diagrams can be very useful for doing a high-level design of a control system.
12/22/16
71
MB0
INT
15
Memory Bit 0(MB0)
INT=integer
Q0.0
SET=10,000
mV
RST= 20,000
mV
12/22/16
73
Add
Description:
You can use the "Add" instruction to add the value at input IN1 and the value at input IN2 and query the sum at
output OUT (OUT = IN1+IN2).
In its initial state, the instruction box contains at least 2 inputs (IN1 and IN2). The number of inputs can be
extended. The inserted inputs are numbered in ascending order in the box. When the instruction is executed, the
values of all available input parameters are added. The sum is stored at the OUT output.
The instruction is only executed if the signal state is "1" at the EN enable input. If the instruction is executed
without errors, the ENO enable output also returns the signal state "1".
The ENO enable output has the signal state "0" if one of the following conditions is fulfilled:
Enable input EN has the signal state "0".
The result of the instruction is outside the range permitted for the data type specified at the OUT output.
A floating-point number has an invalid value.
Add example
12/22/16
76
12/22/16
77
Subtract
12/22/16
78
MOVE
Functions
12/22/16
79
Move value
Description:
You use the "Move value" instruction to transfer the contents of the operand at the IN
input to the operand at the OUT1 output. The transfer is always made in the direction of
the ascending address.
SET/RESET Function
12/22/16
82
Shift
Registers
12/22/16
83
12/22/16
84
12/22/16
85
12/22/16
86
12/22/16
87
12/22/16
88
12/22/16
89
12/22/16
90
12/22/16
91
12/22/16
92
Shift Register
12/22/16
93
12/22/16
94
12/22/16
95
JUMP Instructions
12/22/16
96
12/22/16
97
JUMP(JMP)
12/22/16
98
12/22/16
99
Transfer Station
12/22/16
100
12/22/16
101
12/22/16
102
12/22/16
103
12/22/16
104
12/22/16
105
12/22/16
106
12/22/16
107
12/22/16
108
Wiring Diagram(Siemens
LOGO)
12/22/16
109
12/22/16
110
M2.0
12/22/16
111
12/22/16
112
The designed and developed automated artillery cartridge polishing machine is intended for
defence application to recondition the 122mm and 130mm diameter cartridges. The machine
is intended to replace the traditional way of polishing the artillery cartridge with a modern
and automated machine for HOMICHO Ammunition Factory. The Artillery cartridge
polishing machine is a pneumatic type polishing machine which is basically used for
polishing the external and internal surfaces of 122mm and 130mm artillery cartridges. The
abrasive head can be moved to any point over the polishing area.
The longitudinal and traverse movements of the polishing head are controlled using a
programmable Language Control (PLC) integrated with pneumatically controlled cylinders.
The PLC program is written using a ladder logic programming method using software for
precise control of all the movements of the actuators in the two directions. Different
directional control valves with pressure relieve valves are mounted to perform different
functions.
Standard design approaches and manufacturing sequences are followed to design and
fabricate the polishing machine. The complete machine includes electric motor, pneumatic
cylinders, polishing abrasives and a pneumatic line. The overall dimension of the machine is
2585x705x470mm and its spindle is designed to hold firmly different caliber cartridges and
can be rotated at 800 RPM with a 5Kw spindle motor.
Since quality of the polishing machine is dependent on different polishing parameters like,
polishing abrasives used, depth of polishing, RPM of the spindle and the feed rate of the
polishing head, the surface quality of polished cartridges when it compared with previously
polished parts it can expected to be in the range of 0.2 and 0
12/22/16
113
12/22/16
114
Material Sorter
Metal and Non-metal Sorting Machine
Using capacitive and inductive sensor
with material detector
12/22/16
115
12/22/16
116
12/22/16
117
/NETWORK COMMENTS
//
LDN I0.0
LD I0.1
O
M1.0
ALD
A I1.1
AN M8.0
=
M1.0
NETWORK 2
LD M1.0
LD I0.3
O
M2.0
ALD
=
M2.0
NETWORK 3
LD M1.0
LD I0.4
O
M3.0
ALD
=
12/22/16
M3.0
NETWORK 4
LD M1.0
LD M2.0
A M3.0
O
M4.0
ALD
=
M4.0
NETWORK 5
LD M1.0
LDN M2.0
A M3.0
O
M5.0
ALD
=
M5.0
NETWORK 6
LD M1.0
LD I0.5
O
M6.0
ALD
=
M6.0
118
NETWORK 7
LD M1.0
LD I0.6
O M7.0
ALD
= M7.0
NETWORK 8
LD M1.0
LD I0.7
O I1.0
ALD
= M8.0
12/22/16
NETWORK 9
LD M1.0
A M4.0
AN M6.0
= Q0.0
NETWORK 10
LD M1.0
A M5.0
AN M7.0
= Q0.1
119
FBD
12/22/16
120
12/22/16
121
12/22/16
122
12/22/16
123
12/22/16
124
12/22/16
125
12/22/16
126
12/22/16
127
12/22/16
128
12/22/16
129
12/22/16
130
TRAFFIC LIGHT
12/22/16
131
12/22/16
132
133
Plc Wiring
SOURCING AND SINKING CONCEPT
From PLC
negative to
positive
(Sinking)
From PLC
Positive to
Negative
(Sourcing)
12/22/16
134
PNP
(sourcing)
12/22/16
135
(Sinking)
12/22/16
136
PLC Wiring
12/22/16
137
Advanced Capabilities
PLCs are often used in applications that go beyond basic logic solving. Some
advanced programming
and input/output (I/O) functions are listed below.
CalculationsThe ability to do basic scientific calculations. Lower end PLCs
only use integer math,
while higher end PLCs also provide floating point math.
Analog I/OContinuous voltage and current values can be input and
output.
Feedback controlProportional integral derivative (PID) controller
calculations are provided as function blocks and can be used with analog
I/O.
CommunicationsThe ability to transmit data as strings over serial ports or
to transfer parts of the PLC memory using proprietary protocols.
ASCII stringsFunctions to manipulate ASCII strings.
System Fault detection, status monitoring, interrupt routines, etc.
Fuzzy logicSome PLCs include fuzzy set functions for nonlinear control
problems.
12/22/16
138
139
12/22/16
140
12/22/16
141
12/22/16
142
Maintenance
12/22/16
143
12/22/16
144
12/22/16
145
12/22/16
146
12/22/16
147
12/22/16
148
12/22/16
149
12/22/16
150
12/22/16
151
The End
12/22/16
152