You are on page 1of 22

Dr.

Yasser Mohanna
Automation Control By PLC and Microcontrolle

Order of Engineers
and
Architects-Beirut

ch
an
Br
d
ir
Th
1
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

Dr. Yasser Mohanna

2
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle
Temperature

Pressure Sensors Programmable Logical


Controllers
Flow Sensors

Wind Direction Sensors Microcontrollers

PC
Level Sensors

Humidity Sensors
Hardwire
Wind Speed Other Processing Unit
Sensors
3
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

Microcontroller Hardware & System

Program Microprocessor
Address Address

EPROM RAM
Data Data

Outputs
Inputs

Serial Ports RS232


4
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

PIC 16F874
5
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

Optional C-Compiler
(toto.c)

Assembler toto.asm
Source

ASSEMBLER Code
.include files MPLAB IDE OF Simulator Explorer on
.copy files MICROCHIP Your PC

Absolute
Object
files

HEX FILE
DOWNLOADED ON
PROBRAMMER OR toto.Hex
ENULATOR FOR
DEBUGGING 6
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

Microcontroller Uses

Embedded Systems.
I. Cellular Phones.
II. Radio Systems.

Control Systems.
I. Alarm Systems.


7
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

8
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

Analog Alarm Input

Common GROUND
N.C. Alarm Input
N.O. Alarm Input
Adapter Input
+ 13.5V

(10Amps)
Relay 5
(16Amps)
Relay 1
+ 12V Battery
Input

(10Amps)
Relay 3
Relay 2
(10Amps)

(10Amps)
Relay 4
1 2 3 4

To Tel. Line X X X X X
CB CB CB CB CB

Ph Ph Ph Ph Ph
N.C. Sensors
Hidden N.O. Sensors
X X X X X
Switch Override Override Override Override Override
Switch Switch Switch Switch Switch

+ -
Adaptor N N N N N
13.8VDC out
220VAC In Device 1 Device 2 Device 3 Device 4 Device 5
Or Siren
+
- TAC35 Wiring Diagram
AC source Analog 35- ‫تاك‬ ‫بيان الرسم التوصيلي‬
sensor
9
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

Modem
& Audio Recording &
PSTN
Interface Playing Device.
Tel. Line

Microcontroller
PIC 16F874
Alarm
Inputs 5
NO Output
Relays
NC
Analog

10
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

Specifications
“TAC35” contains a 3-Fuse power protection system
intended for the safety of the device.
Complete isolation of micro-controller circuitry from
peripheral input and output signals is provided by the
use of transformers, opto-isolators and dry contact
relays .
“TAC35” comes with an automatic battery charger.
“TAC35” uses high reliability industrial grade
electronics.
“TAC35” is designed and manufactured in Lebanon by
experienced specialists. .
Local Maintenance is available.
“TAC35” comes with a one-year warranty 11
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

What is a PLC?
Memory CPU

Programming
Bus System Unit

I/O Modules • High Quality Design


Input Output (Electronically)
Interface Interface
• Electromagnetic
Interference.
Input Devices Output Devices
(Field Wiring)
• High Level
(Field Wiring)
Language.

12
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

13
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

14
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

PLC
PC Monitoring

PC

24 Hour Function
Database
Man Machine
Interface

15
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle
Conventional
PLC

Terminal
Blocks

Terminal
Blocks

16
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

Central Unit
Decentralized
CS31 PLC

CS31
Twisted Pair Cable

Decentralized
I/O Units 17
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

18
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

19
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

PLC’s vs Microcontrollers.
Fixed Hardware with Variable hardware for
possible extension. each application.
Industrial oriented, Low level language,
more reliable. with C programming
High level language. possibility.
Bigger No. of I/O’s. Restricted No. of
I/O’s.
Better for low
quantities. Low cost for high
quantities.
Unit price is higher.
20
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

Presented by Rabih Eido


21
Dr. Yasser Mohanna
Automation Control By PLC and Microcontrolle

Thank you

22