plc: programmable logic circuit/controllereng.modern-academy.edu.eg/e-learning/comm/control...

22
1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus which uses a programmable memory for the internal storage of instructions for implementing specific functions such as logic, sequencing, timing, counting, and arithmetic to control, through digital or analog input/output modules, various types of machines or processes مشغل وحدة الOperator Device البرمجة وحدةProgramming Device Input Module Output Module CPU Memory Unit

Upload: others

Post on 31-Dec-2019

25 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

1

PLC: Programmable Logic Circuit/Controller

A digitally operating electronic apparatus which uses a programmable memory for

the internal storage of instructions for implementing specific functions such as

logic, sequencing, timing, counting, and arithmetic to control, through digital or

analog input/output modules, various types of machines or processes

وحدة المشغل

Operator Device

وحدة البرمجة

Programming Device

Input

Module

Output

Module

CPU

Memory Unit

Page 2: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

2

Input Module:

.CPU Central Processing unitوحدة المعالجة المركزة

Memory unit (RAM & ROM)وحدة الذاكرة

Page 3: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

3

RAM: (MOS, HMOS, CMOS (Complimentary Metal Oxide Semiconductor)

(15microamps.))

ROM: (ROM, EPROM, EEPROM)

Output Module ---- Actuators

Programming deviceجهاز البرمجة

CPU

Output

Module

Motor starter

Relay

Lamp

جهاز برمجة

PG برمجة بواسطة

الكمبيوتر

Page 4: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

4

Understands binary system as follows:

Operator Unitوحدة المشغل ه وحدة للعرض و اإلدخال:

Sensors المجسات

مجس لاس السرعة .المجس هو عبارة عن عنصر موم بتحول الحالة الفزائة إلى إشارة كهربائة

PLC.من أمثلة المجسات الت توصل بمداخل وحدة الــ

Actuatorsالمشغالت

Input

Module

Switch

Temperature

Sensor

Level

Sensor

SE

N

S

O

RS

Page 5: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

5

الــالمشغل عبارة عن أداة تموم بتحول اإلشارة الكهربائة الصادرة من وحدةPLC حالة فزائة. من أمثلة المشغالت إلى

.الماطع الكهرومغناطس للمحرن الكهرب

PLC Inputs and outputs

مداخل رلمة Digital Inputs

مداخل تماثلةAnalog Inputs

مخارج رلمة Digital Outputs

مخارج تماثلة Analog Outputs

Digital Inputsالمداخل الرلمة

مفاتح ضغط الزرPushbuttons Switches

المفاتح الحدةLimit Switches

المالمسات المفتوحة Normally Open Contacts

المغلمة المالمسات Normally Closed Contacts

وحدة

الخرج

Output

Motor starter

Relay

Lamp

A

CT

U

A

T

O

RS

Page 6: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

6

Analog inputs (for variable values)المداخل التماثلة

Page 7: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

7

Digital Outputsالمخارج الرلمة

Analog Outputsالمخارج التماثلة

Page 8: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

8

PLC PLC Operationكفة عمل وحدة الــ

PLCبن الشكل التال مخطط للخطوات الرئسة الت تموم بها وحدة الـ

Page 9: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

9

PLC Status Indicators

• Power On

• Run Mode

• Programming Mode

• Fault

PLC Programming برمجة وحدة الـ

( Ladder Logicالسلم المنطم ) -

( Statement Listsلوائم اإلجراءات ) -

( Function Block Diagramsالمخططات الصندولة الوظفة ) -

Ladder Logicالسلم المنطم

Page 10: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

10

( السلم النمطمLAD هو واحد من لغات البرمجة المستعملة لبرمجة و حدات الــ )PLC.

تصف ستخدم السلم المنطم رموز تشابه الرموز المستخدمة ف الرسوم التخططة الت

المادة لعناصر التحكم لدائرة ما. المكونات

الرموز الموجودة على الطرف األسر من السلم المنطم تمثل المداخل(Input) الرموز و

(Outputs) الموجودة على الطرف األمن تمثل المخارج

Ladder Logic Diagram ط السلم المنطممخط

Page 11: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

11

لمر التار )منطم( من السار إلى المن جب أن تكون الحالة المنطمة للعناصر ف المسار بن

وبالتال تم تفعل المخارج (True –)حمم ( أي1)العمودن

( اي 0ف حالة وجود الحالة المنطمة )(False ف المسار فإن ) لن مر من السار إلى منطك()التار

المن وبذلن فإن المخارج لن تفعل

Symbolsالرموز المستعملة ف مخطط السلم المنطم من مجموعة من الرموز تستخدم لتمثل عناصر التحكم و التعلمات وجب PLC تتكون لغة البرمجة بالسلم المنطم لوحدة الـ

( وه كالتال:softwareأن نعلم أن هذه الرموز لست عناصر فزائة بل ه عبارة عن برمجات )

Contacts:

Normally Open Contacts (NO ) (when opened & 1 when closed 0)طبعا المفتوح المالمس -

Normally Closed (0 when closed & 1 when opened )(NC )المالمسات المغلمة طبعا -

Contacts

Page 12: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

12

Coils

الصنادك(Boxes)

تمثل الصنادك عدة تعلمات أو وظائف و الت تم تنفدها عندما تتدفك الطالة إلى الصندوق . نمودجا

math) ( و العملات الحسابة counters)( و العــــداداتtimersالصنادك تمثل المؤلتات )

operations)

Page 13: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

13

Boxes represent various instructions or functions that are

executed when power flows to the box. Some of these

functions are timers, counters and math operations.

Basic Instructions التعلمات أو األوامر الرئسة

LOAD (LD)

(normally open contact( عبارة عن مالمس مفتوح طبعا ) LDاألمر )

تم استخدام هذا المالمس عندما تكون إشارة الدخل مطلوب تواجدها لتشغل هذا المالمس. أي انه عندما كون العنصر

( Trueالفزائ ) مفتاح مثال ( ف وضعة تشغل فإن الحالة المنطمة لهذا األمر تكون حمم )

((1ة المنطموضعة التشغل مكن ان شار إلها بالحالة

Page 14: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

14

LD Logic State

False 0

True 1

LDI LOAD Inverse

( Normally Closed Contact( عبارة عن مالمس مغلك طبعا )LDIاألمر )

العنصر و ستخدم هذا المالمس عندما تكون إشارة الدخل غر مطلوب تواجدها لتشغل هذا المالمس . أي أنه عندما كون .( و العكس صححTrue( فإن الحالة المنطمة لهذا األمر تكون حمم )offالفزائ ف وضعة إماف )

(0ة )وضعة اإلماف مكن ان شار إلها بالحالة المنطم

LDI Logic State

True 0

False 1

OUT

Page 15: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

15

(. Output Energize Instruction( و سمى أحانا بأمر تفعل الخرج ) Relay( شبه ملف الحاكمة ) OUTاألمر )

( True( عندما تكون الحالة المنطمة للعناصر الت تسبمه ف درجة السلم المنطم ) المداخل( حمم) OUT تم تفعل األمر )

مكن أستخدام هذا األمر لتفعل الملفات الداخلة و العناصر الخارجة.

Out Not

Page 16: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

16

ANDالعملة

العملة(AND ه عبارة عن )على التوال مع مالمس أو أكثر سبمه على درجة السلم مالمس موصل

( لتم تفعل الخرجTrue –) حمم جب أن تكون الحالة المنطمة لكل المالمسات المنطم.

AND Operation:

Each rung or network on a ladder program represents a logic operation. In the

rung above, both inputs A and B must be true (1) in order for the output C to be

true (1).

Page 17: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

17

OR العملة

Page 18: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

18

Advantages of PLCs:

• Less wiring.

• Wiring between devices and relay contacts are done in

the PLC program.

• Easier and faster to make changes.

• Trouble shooting aids make programming easier and

reduce downtime.

• Reliable components make these likely to operate for

years before failure

Leading Brands Of PLC

AMERICAN 1. Allen Bradley

Page 19: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

19

2. Gould Modicon

3. Texas Instruments

4. General Electric

5. Westinghouse

6. Cutter Hammer

7. Square D

EUROPEAN 1. Siemens

2. Klockner & Mouller

3. Festo

4. Telemechanique

JAPANESE 1. Toshiba

2. Omron

3. Fanuc

4. Mitsubishi

Page 20: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

20

Troubleshooting

1. Look at the process

2. PLC status lights

HALT - something has stopped the CPU

RUN - the PLC thinks it is OK (and probably is)

ERROR - a physical problem has occurred with the PLC

3. Indicator lights on I/O cards and sensors

4. Consult the manuals, or use software if available.

5. Use programming terminal / laptop.

B

C

FS

Page 21: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

21

List of items required when working with PLCs:

1. Programming Terminal - laptop or desktop PC.

2. PLC Software. PLC manufacturers have

their own specific software and license key.

3. Communication cable for connection from Laptop

to PLC.

4. Backup copy of the ladder program (on diskette, CDROM,

hard disk, flash memory). If none, upload it from the PLC.

5. Documentation- (PLC manual, Software manual, drawings,

ladder program printout, and Seq. of Operations manual.)

Examples of PLC Programming Software:

1. Allen-Bradley – Rockwell Software RSLogix500

2. Modicon - Modsoft

3. Omron - Syswin

4. GE-Fanuc Series 6 – LogicMaster6

5. Square D- PowerLogic

6. Texas Instruments – Simatic

6. Telemecanique – Modicon TSX Micro

المراجع

Page 22: PLC: Programmable Logic Circuit/Controllereng.modern-academy.edu.eg/e-learning/comm/control 2/PLC...1 PLC: Programmable Logic Circuit/Controller A digitally operating electronic apparatus

22

Basic of PLC SIEMENS

Programmable Logic Controllers basic level (book)

LEARN PLC WWW.PLCS.NET

WWW.TKNE.NET

الصور من كتاب الحاكمات المنطمة المابلة للبرمجة