Skip to main content
Skip header
Terminated in academic year 2021/2022

Programming Basics for Control Systems

Type of study Bachelor
Language of instruction Czech
Code 450-2041/01
Abbreviation ZPŘS
Course title Programming Basics for Control Systems
Credits 4
Coordinating department Department of Cybernetics and Biomedical Engineering
Course coordinator prof. Ing. Michal Prauzek, Ph.D.

Subject syllabus

lectures
1. Algorithm, algorithms, basic algorithmic structures. Types and variables.
2. Basic programming construction: instruction, control commands, subroutines. The program, machine language,
machine code, binary system, programming languages.
3. Structure of the program in C language Simple inputs and výstupy.Základní data types. Branching and cycles.
4. Arrays, array element access.
5. Representation of the data base format specification. Function parameters and return values
6. Comments, headers - info, basic syntax, keywords, return values, main body, use features
7. Structure of the computer central unit, registers, RAM, address, external memory, program counter, fetch-execute cycle, aynchronní events. Inputs and outputs. Polling and interrupt bus.
8. Use PC peripherals for solving simple measurement tasks.
9. Structure, unions, enumerated types, work with bits.
10. indicators. Files. Using files in measurement tasks.
11. macros, dynamic allocation exceptions. Modules. Header files. Meaning dynamic allocation and exception mechanism for secure programming of control systems.
12. Standard Library
13. User Library

Literature

Herout, P. Učebnice jazyka C. Praha: [Středisko pro podporu studentů se specifickými potřebami ELSA ČVUT], 2015. ISBN 978-80-7232-383-8 .

Advised literature

Richta, K., Šaloun, P.: Programovací jazyk C, skriptum ČVUT, Praha 1998
Wirth, N.: Algoritmy a štruktúry údajov, Alfa, Bratislava 1989
Šaloun, P.: Programovací jazyk C. Skriptum FEI VŠB-TU Ostrava 1994
Šnorek, M. Richta K.: Připojování periferií k PC, Grada, 1996
Horák, J: Učebnice hardware, Computer Press, 2000