Docsity

PLC design for process control automation, Exercises of Process Control

Partial preview of the text

Download PLC design for process control automation and more Exercises Process Control in PDF only on Docsity!

PLC Programming languages^ PLC Programming languages http://users.isr.ist.utl.pt/~jag/courses/api1213/api1213.htmlSlides 2010/2011 Prof. Paulo Jorge OliveiraRev. 2011-2013 Prof. José Gaspar

Industrial AutomationIndustrial Automation(AutomaAutomaççãoão dede ProcessosProcessos Industriais( Ladder DiagramLadder Diagram

Industriais))

IST / DEEC / API

Chap. 2 – Introduction to PLCs [2 weeks]... Chap. 3 – PLC Programming languages [2 weeks] Standard languages (IEC-61131-3): Ladder Diagram; Instruction List,

and^ Structured Text.

Software development resources. ... Chap. 4 - GRAFCET

(Sequential Function Chart)

[1 week]

IST / DEEC / APISyllabus:Syllabus:

IST / DEEC / API

Ladder diagram^ Ladder diagram

A^ program^ is a series of instructionsthat directs the PLC to executeactions. Relay ladder logic , the standardprogramming language, is based onelectromagnetic relay control.

N^

S InputInstructions

OutputInstructions

IST / DEEC / API

Page 5

Ladder diagram^ Ladder diagram

Page 5 Chap. 3 - PLC Programming languages IST / DEEC / API

Types of operands:

Basic Instructions Load^ Normally open^ P N

contact: contact is active (result is 1)when the control bit is 1. Normally closed^ contact: contact is active (result is 1)when the control bit is 0.Contact in the rising edge: contact is active during a scan cyclewhere the control bit has a rising edge.Contact in the falling edge: contact is active during a scan cyclewhere the control bit has a falling edge.%I1.0 %Q2.0 I1.0 P Q2.

t t

Ladder diagram^ Ladder diagram

Chap. 3 - PLC Programming languages IST / DEEC / API

Ladder diagramLadder diagram^ Basic Instructions^ Load^ operands

Chap. 3 - PLC Programming languages IST / DEEC / API

Ladder diagramLadder diagram^ Store^ operands

Chap. 3 - PLC Programming languages

IST / DEEC / APIBasic Instructions

Relays with^ latch^ and

unlatch

Ladder diagram^ Ladder diagram^ Allen Bradley notation

Chap. 3 - PLC Programming languages IST / DEEC / API

AND^

AND of the operand with the result of the previouslogical operation.AND of the operand with the inverted result of the previouslogical operation.AND of the rising edge with the result of the previousP logical operation.AND of the falling edge with the result of the previousNlogical operation.%Q2.0^ I1.0NS Q2.

t t %I1.0%I1.0P

Ladder diagram^ Ladder diagram

Chap. 3 - PLC Programming languages

IST / DEEC / APIBasic Instructions

Ladder diagram^ Ladder diagram OR^ P N

Chap. 3 - PLC Programming languages

Basic Instructions

OR of the operand with the result of the previouslogical operation.OR of the operand with the inverted result of the previouslogical operation.OR of the rising edge with the result of the previouslogical operation.OR of the falling edge with the result of the previouslogical operation. IST / DEEC / API

N^

S InputInstructions

OutputInstructions

Ladder diagram^ Ladder diagram Ladder assembling^ The outputs that have a TRUE logical function, evaluatedfrom the left to right and from the top to the bottom, areenergized (Schneider, Micro PLCs).

Chap. 3 - PLC Programming languages IST / DEEC / API

Ladder diagramLadder diagramExample:

Chap. 3 - PLC Programming languages IST / DEEC / API

Ladder diagramLadder diagramExample:

Chap. 3 - PLC Programming languages IST / DEEC / API

Ladder diagram^ Ladder diagram General case of Inputs and Outputs in parallel, with derivations^ Note: it is important to study the

constraints^ and^ potentialities

of the

development tools.^

Chap. 3 - PLC Programming languages IST / DEEC / API