Course detail

Programmable Logic Controllers

FSI-RPAAcad. year: 2027/2028

The course is focused on structure and parameters of programmable logic controllers, their configurations and possibility their programming. Programmable logic controllers are by one of the most often used items at present automation technique. We can tell that most of the control systems do not without programmable logic controllers. Part of the lectures will also deal with visualization systems for creating user interfaces of the controlled process. User interface issues are closely related to programmable logic controllers, and the vast majority of control applications include a user interface.

The subject is taught with the support of an e-learning course (LMS Moodle BUT), which is the primary guide for the subject.

Language of instruction

Czech

Number of ECTS credits

3

Assignment to study programme types

Master's

Mode of study

Not applicable.

Learning outcomes of the course unit

After graduation, the student is able to:
1. describe the structure and parameters of a programmable logic controller;
2. configure a PLC for a given task;
3. program a PLC in languages ​​according to ČSN EN 61131-3;
4. design and implement a visualization system for creating a user interface for a controlled
process;
5. connect the visualization with the PLC control program;
6. debug and revive a control system with a PLC;
7. defend the proposed solution with professional argumentation.

Entry knowledge

The student knows: basic concepts from the theory of control (feedback, transfer, stability), basics of programming and algorithmization (algorithm, cycles, conditions, data types), basics of electrical engineering (electrical circuits, devices, protection) and basics of digital technology.
The student can: write a simple program, read an electrical diagram, analyze a simple control circuit.

Rules for evaluation and completion of the course

Credit conditions (13th teaching week — checking the results of the exercises and awarding the credit):
1. Completion of all laboratory exercises (replacement possible in a substitute term).
2. Active participation in laboratory exercises.
3. Preparation of a semester project — design of a control system with PLC and visualization (report scope 10–15 pages) — mandatory.
Semester project evaluation (max. 40 points): A1 – correctness of PLC configuration and settings (0–15 points); A2 – functionality of the control program (0–15 points); A3 – quality of visualization and documentation (0–10 points).

Exam — defense of the semester project and oral exam, max. 60 points: verifies knowledge of general issues of PLC control systems and the ability to defend one's own design.

Final classification: sum of the project (max. 40 points) and the exam (max. 60 points), total max. 100 points, according to Article 14 of the BUT SZŘ

Aims

After graduation, the student will be able to:
1. describe the structure and parameters of a programmable logic controller;
2. configure a PLC for a given task;
3. program a PLC in languages ​​according to ČSN EN 61131-3;
4. design and implement a visualization system for creating a user interface for a controlled process;
5. connect the visualization with the PLC control program;
6. debug and revive a control system with a PLC;
7. defend the proposed solution with professional argumentation.

Study aids

An e-learning course (LMS Moodle BUT) has been established for the subject, which serves as the primary signpost for the subject and contains:
- current information on the organization of teaching, semester project assignments, submission and exam deadlines;
- current study materials — lecture presentations, explanatory texts on the structure and configuration of PLCs, manuals for PLCs and development environments (TwinCAT), sample control programs, sample visualization projects, recommended standards: ČSN EN 61131-3, semester project template with evaluation criteria
- current contacts for the teacher including consultation hours;
- forum for questions about programming and visualization.

Prerequisites and corequisites

Not applicable.

Basic literature

HUGHES, Thomas A. Programmable controllers. 4th ed. Research Triangle Park, NC: ISA, c2005. ISBN 978-1556178993.
LEWIS, R. W. Programming industrial control systems using IEC 1131-3. Revised edition. Stevenage Herts, United Kingdom: The Institution of Engineering and Technology, 2007. ISBN 0852969503.
MARTINÁSKOVÁ, Marie a Ladislav ŠMEJKAL. Řízení programovatelnými automaty. Vyd. 2. V Praze: Vydavatelství ČVUT, 2004. ISBN 80-01-02925-5.
STENERSON, Jon. Fundamentals of programmable logic controllers, sensors, and communications. 3rd ed. Upper Saddle River, N.J.: Pearson Prentice Hall, c2004. ISBN 013061890X.
ŠMEJKAL, Ladislav a Marie MARTINÁSKOVÁ. PLC a automatizace. Praha: BEN - technická literatura, 1999. ISBN 80-86056-58-9.
ŠMEJKAL, Ladislav. PLC a automatizace. Praha: BEN - technická literatura, 2005. ISBN 8073000873.

Recommended reading

HUGHES, Thomas A. Programmable controllers. 4th ed. Research Triangle Park, NC: ISA, c2005. ISBN 978-1556178993.
LEWIS, R. W. Programming industrial control systems using IEC 1131-3. Revised edition. Stevenage Herts, United Kingdom: The Institution of Engineering and Technology, 2007. ISBN 0852969503.
MARTINÁSKOVÁ, Marie a Ladislav ŠMEJKAL. Řízení programovatelnými automaty. Vyd. 2. V Praze: Vydavatelství ČVUT, 2004. ISBN 80-01-02925-5.
STENERSON, Jon. Fundamentals of programmable logic controllers, sensors, and communications. 3rd ed. Upper Saddle River, N.J.: Pearson Prentice Hall, c2004. ISBN 013061890X.
ŠMEJKAL, Ladislav a Marie MARTINÁSKOVÁ. PLC a automatizace. Praha: BEN - technická literatura, 1999. ISBN 80-86056-58-9.
ŠMEJKAL, Ladislav. PLC a automatizace. Praha: BEN - technická literatura, 2005. ISBN 8073000873.

Classification of course in study plans

  • Programme N-MET-P Master's 2 year of study, winter semester, compulsory

Type of course unit

 

Lecture

13 hours, optionally

Teacher / Lecturer

Syllabus

1. - 2. Introduction, logic control, combinative and sequential logic circuitry.
3. - 4. Programmable logic controllers - introduction.
5. - 6. The hardware of programmable logic controllers.
7. - 8. The software of programmable logic controllers.
9. - 10. Control of large systems, Distributed control. Introduction to visualization.
11. - 12. Visualization
13. Recapitulation of topics covered.

Laboratory exercise

26 hours, compulsory

Teacher / Lecturer

Syllabus

  1.  Introduction to the development environment and PLC. PLC structure (program cycle, inputs/outputs, memory), project creation, hardware or simulator configuration, program upload, online monitoring. Practical task: output control with a button, start/stop with self-holding.
  2. LD and FBD languages, data types and variables. Basic data types (BOOL, INT, REAL, TIME), global and local variables, addressing. Logic functions, edges (R_TRIG, F_TRIG). Practical task: combinational logic, e.g. controlling two pumps with interlocking.
  3. Function blocks, timers and counters. TON, TOF, TP, CTU, CTD. Difference between function (FC), function block (FB) and program (PRG). Practical task: traffic light sequence, counting pieces on a conveyor.
  4. ST and SFC languages, custom function blocks. Structured text (IF, CASE, FOR), creating your own FB with instances, overview of SFC and IL. Practical task: write a level controller (two-position) as your own FB and use it multiple times.
  5. Theory and design of a state machine. State diagram, transition table, Moore vs. Mealy, handling of error and emergency states. Practical task: design of a diagram for a simple machine (e.g. gate, washing machine).
  6. Implementation of a state machine in ST. CASE construction with enumeration type (ENUM), separation of transition logic from actions, time conditions of transitions. Practical task: implementation of the state machine from the previous exercise on a simulation or model.
  7. Sequential control in SFC and control of machine modes. Steps, transitions, branches and parallel sequences, Auto/Manual/Reset modes. Basis for PackML (Idle, Execute, Held, Aborted). Practical task: multi-step technological process (e.g. dosing and mixing) with manual and automatic mode.
  8. Creation of visualization, basic elements. Linking variables with graphic elements, buttons, indicators, entering values, navigating between screens. Practical task: operator panel for task from exercise 3 or 6.
  9. Advanced visualization. Alarms and their history, trends (quantity graphs), user permissions, animations, custom visualization frames. Practical task: complete HMI with alarm system and trend for technology from exercise 7.
  10. Introduction to PLCopen Motion Control. Concept of the standard (Part 1), axis state diagram (Disabled, Standstill, Homing, Discrete Motion, Continuous Motion, Synchronized Motion, ErrorStop), AXIS_REF data type, Execute/Done/Busy/Error principles. Practical task: MC_Power, MC_Reset, MC_ReadStatus, MC_ReadActualPosition on a real or simulated axis.
  11. Basic movements of one axis. MC_Home, MC_MoveAbsolute, MC_MoveRelative, MC_MoveVelocity, MC_Stop, MC_Halt, buffer modes and motion interruption, parameters (velocity, acceleration, jerk). Practical task: positioning sequence controlled by a state machine from block B.
  12. Multi-axis and synchronized movements (Part 2) and final project. MC_GearIn, MC_CamIn (electronic gear and cam), or interpolation basics. Final task: combination of everything, i.e. a state machine controlling a positioning/synchronized application with visualization and alarms, short
  13. submission of the semester project; checking the results of the exercises and awarding the credit