Control System Applications (2) Programming Logic Controllers PLCs Lect. 3 Dr. Tarek Ahmed Mahmoud http://mu.menofia.edu.eg/tarek_mohamed/StaffDetails/1/ar
Outlines Principles of PLC Operation (cont.) TSX NANO PLC 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 consoles 3- Personal computers The program can be stored on the hard disk or a CD and copies can be easily made.
International Electrotechnical Commission Stander IEC 61131-3. 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 PL7-07 for TSX NANO PLC
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) - 24 I/O (14 inputs + 10 outputs) TSX Nano PLC A single box type 2- Modular/rack type (all sizes of PLCs) I/O modules are available in 8, 16, or 32 I/O per module SIMATIC S7-300 A modular type
TSX NANO PLC
TSX Nano PLCs Available Configurations
TSX NANO PLCs Base Non-extendable PLCs O I U N T P P U T S S Main Main Program O U T P S Base
TSX NANO PLC Extendable PLCs O I U N T P P U T S S Base+ I/P extension Main Program I N P U T S O U T P S Base+ I/P extension
Base+3 pears +I/O extension TSX NANO PLC s Extendable PLCs Base+3 pears +I/O extension
TSX NANO PLC s I/O addressing % Examples I or Q 0 or 1 • i I = input Q = output 0 = base or peer 1 = I/O extension Input or output number Examples %I0.3 : Input, I/O point n°3 on the base PLC %Q1.6 : Output, I/O point n°6 on PLC used as I/O extension
TSX NANO PLC s I/O addressing
Programming of TSX NANO PLCs Programming Software PL7-07 (Ladder or Instruction List languages). Programming Terminals FTX 117 terminal (Instruction List) FTX 417 (Ladder or Instruction List).
Programming of TSX NANO PLCs Reversibility of PL707 software The ability of the PL7-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 Instruction List Series of instructions (up to 1000 instructions) of various types. Each instruction (program line) has Number Instruction code Operand 003 LD %I0.1 008 OR %M10
00 LD %I0.0 01 ST %Q0.0 Switch = I0.0 Motor coil =Q0.0 Switch time
Instruction List Types of Instructions
Programming of TSX NANO PLCs Ladder Diagram Ladder diagrams are similar to relay logic diagrams used to represent relay control circuits. Ladder diagram Wiring diagram
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
Ladder diagram language %Q0.0 Ladder diagram language
00 LD %I0.0 01 ST %Q0.0 Switch = I0.0 Motor coil =Q0.0 Instruction List L1 L2 %I0.0 %Q0.0 Ladder Diagram