DriveLab
Account

PLC

PLC programming · S7-200 and GRAFCET

Everything the PLC-200 labs assume: what a PLC is and how it scans, the S7-200 memory, STEP 7-Micro/WIN from installation to download and monitoring, ladder, timers and counters, GRAFCET and its translation to SCR steps, statement list, pulse outputs, and how to test a program so it fails safe. Every lesson runs your programs on a virtual PLC-200.

11 lessons· 375 min
  1. 01What is a PLC?Definition, the parts of a PLC, the scan cycle and process images, why it replaced relay panels, and the five IEC 61131-3 languages. Start here.25 min
  2. 02The S7-200 CPU 224 and its memoryThe CPU 224 of the PLC-200 trainer, its memory areas (I, Q, M, V, SM, T, C, S, AC, HC), addressing bits, bytes, words and double words, data types, and the trainer's modules and enable switches.30 min
  3. 03STEP 7-Micro/WIN: from installation to a running programInstall Micro/WIN, connect the USB/PPI cable, set the PG/PC interface, find the CPU, then create a project, fill the symbol table, write, compile, download, run, monitor, force and export. Everything TP 0 asks for, step by step.35 min
  4. 04Ladder logic (LAD) on the S7-200Contacts, coils, series and parallel, the self-holding circuit, set and reset, interlocks, and the normally closed input trap. Build every rung yourself and run it on a virtual PLC-200.40 min
  5. 05Timers, counters and edgesTON, TOF and TONR with the S7-200 timer numbers and resolutions, CTU, CTD and CTUD, rising and falling edges, and classic patterns: delayed start, flasher, part counting, toggle. With timing diagrams.40 min
  6. 06Moving, comparing and calculatingMOV, compare contacts, INC/DEC, integer and real arithmetic, conversions and BCD, with the traps of overflow and division. The tools of the level simulation (TP 2), the speed measurement (TP 1) and the anti-sway timing (TP 4).30 min
  7. 07GRAFCET (IEC 60848)Steps, transitions, receptivities and actions; the five evolution rules; sequences, choices and parallel branches; timers in receptivities; and how to go from a written specification to a GRAFCET. With a live GRAFCET player.40 min
  8. 08From GRAFCET to SCR steps on the S7-200Sequential control relays LSCR, SCRT and SCRE; the S bits as GRAFCET steps; initial step with SM0.1; outputs and timers written from the step bits; choices, parallel branches, and stop and fault handling outside the steps.35 min
  9. 09Statement list (STL) and the .awl exportThe syntax of S7-200 statement list: networks and comments, the logic stack (LD, A, O, ALD, OLD, LPS, LRD, LPP), boxes, operands and constants, symbols, and the layout of a Micro/WIN .awl export. Paste your own program and run it.35 min
  10. 10Pulse outputs (PWM, PTO) and high-speed countersThe two pulse outputs of the CPU 224 on Q0.0 and Q0.1: PWM for a DC motor, single- and multi-segment PTO for a stepper; the control bytes and registers; the PLS instruction; and high-speed counters for encoders (HDEF, HSC, 1× and 4× rates).35 min
  11. 11Testing a PLC program so that it fails safeNormally closed wiring, fault injection, the test log, forcing and its dangers, what happens at STOP and at power-up, the cross reference, and a commissioning procedure. The method every TP is assessed on.30 min