Control System Applications 2 Programming Logic Controllers PLCs

  • Slides: 22
Download presentation
Control System Applications (2) Programming Logic Controllers PLCs Lect. 3 Dr. Tarek Ahmed Mahmoud

Control System Applications (2) Programming Logic Controllers PLCs Lect. 3 Dr. Tarek Ahmed Mahmoud http: //mu. menofia. edu. eg/tarek_mohamed/Sta ff. Details/1/ar

Outlines Ø Principles of PLC Operation (cont. ) § PLC System Components (lect. 2

Outlines Ø Principles of PLC Operation (cont. ) § PLC System Components (lect. 2 √) § PLC Programming § PLC Mechanical Design Ø TSX NANO PLC § Available Configurations § Extendable and Non-extendable TSX NANO PLCs § I/O addressing § Programming of TSX NANO PLCs

Programming PLCs ü The programming Device 1 - Handheld programming device 2 - Desktop

Programming PLCs ü The programming Device 1 - Handheld programming device 2 - Desktop consoles 3 - Personal computers The program can be stored on the hard disk or a CD and copies can be easily made.

Programming PLCs ü The programming Languages International Electrotechnical Commission Stander IEC 61131 -3. 1

Programming PLCs ü The programming Languages International Electrotechnical Commission Stander IEC 61131 -3. 1 - Ladder diagram (LAD) 2 - Instruction list (IL). 3 - Function block diagram (FBD) 4 - Structured text (ST) 5 - Sequential function charts (SFC)

Programming PLCs üProgramming Software Siemens has SIMATIC STEP 7 Mitsubishi has MELSOFT PL 7

Programming PLCs üProgramming Software Siemens has SIMATIC STEP 7 Mitsubishi has MELSOFT PL 7 -07 for TSX NANO PLC

PLC Mechanical Design 1 - single box type (small PLCs) - 10 I/O (6

PLC Mechanical Design 1 - single box type (small PLCs) - 10 I/O (6 inputs + 4 outputs) - 14 I/O (8 inputs + 6 outputs) - 16 I/O (9 inputs + 7 outputs) - 20 I/O (12 inputs + 8 outputs) TSX Nano PLC A single box type - 24 I/O (14 inputs + 10 outputs) 2 - Modular/rack type (all sizes of PLCs) - I/O modules are available in 8, 16, or 32 I/O per module SIMATIC S 7 -300 A modular type

TSX NANO PLC

TSX NANO PLC

TSX Nano PLCs q Available Configurations

TSX Nano PLCs q Available Configurations

TSX NANO PLCs q Non-extendable PLCs Main I N P U T S Main

TSX NANO PLCs q Non-extendable PLCs Main I N P U T S Main Program Base O U T P U T S

TSX NANO PLC q Extendable PLCs Main Program O U T P U T

TSX NANO PLC q Extendable PLCs Main Program O U T P U T S I N P U T S Base+ I/P extension

TSX NANO PLC s q Extendable PLCs Base+3 pears +I/O extension

TSX NANO PLC s q Extendable PLCs Base+3 pears +I/O extension

TSX NANO PLC s q I/O addressing % I or Q 0 or 1

TSX NANO PLC s q I/O addressing % I or Q 0 or 1 I = input Q = output 0 = base or peer 1 = I/O extension • i Input or output number Examples %I 0. 3 : Input, I/O point n° 3 on the base PLC %Q 1. 6 : Output, I/O point n° 6 on PLC used as I/O extension

TSX NANO PLC s q I/O addressing

TSX NANO PLC s q I/O addressing

Programming of TSX NANO PLCs q Programming Software PL 7 -07 (Ladder or Instruction

Programming of TSX NANO PLCs q Programming Software PL 7 -07 (Ladder or Instruction List languages). q Programming Terminals FTX 117 terminal (Instruction List) FTX 417 (Ladder or Instruction List).

Programming of TSX NANO PLCs q Reversibility of PL 707 software The ability of

Programming of TSX NANO PLCs q Reversibility of PL 707 software The ability of the PL 7 -07 to convert TSX Nano application programs from the Ladder programming language to the List language and back again. Program is written by (LD) Program is written by IL

Programming of TSX NANO PLCs q Instruction List § Series of instructions (up to

Programming of TSX NANO PLCs q Instruction List § Series of instructions (up to 1000 instructions) of various types. § Each instruction (program line) has Number 003 008 Instruction code LD OR Operand %I 0. 1 %M 10

Switch time Motor time Switch = I 0. 0 Motor coil =Q 0. 0

Switch time Motor time Switch = I 0. 0 Motor coil =Q 0. 0 00 LD %I 0. 0 01 ST %Q 0. 0

Instruction List q Types of Instructions

Instruction List q Types of Instructions

Programming of TSX NANO PLCs q Ladder Diagram Ladder diagrams are similar to relay

Programming of TSX NANO PLCs q Ladder Diagram Ladder diagrams are similar to relay logic diagrams used to represent relay control circuits. Wiring diagram Ladder diagram

q Ladder Diagram Language -A program written in Ladder is composed of rungs -

q Ladder Diagram Language -A program written in Ladder is composed of rungs - Each rung includes set of specific graphical instructions drawn between the two vertical outer bars. § the inputs/outputs of the PLC § the functions of the PLC (timers, ounters. . . ), § the math and logic operations § the comparison operators and other numerical operations § the internal variables in the PLC

q Ladder Diagram L 2 L 1 %I 0. 0 %Q 0. 0 Ladder

q Ladder Diagram L 2 L 1 %I 0. 0 %Q 0. 0 Ladder diagram language

Switch = I 0. 0 Motor coil =Q 0. 0 00 LD %I 0.

Switch = I 0. 0 Motor coil =Q 0. 0 00 LD %I 0. 0 01 ST %Q 0. 0 Instruction List L 1 Ladder Diagram L 2 %I 0. 0 %Q 0. 0