450-2041/03 – Programming Basics for Control Systems (ZPŘS)

Gurantor departmentDepartment of Cybernetics and Biomedical EngineeringCredits4
Subject guarantordoc. Ing. Michal Prauzek, Ph.D.Subject version guarantordoc. Ing. Michal Prauzek, Ph.D.
Study levelundergraduate or graduateRequirementChoice-compulsory
Year2Semesterwinter
Study languageEnglish
Year of introduction2015/2016Year of cancellation
Intended for the facultiesFEIIntended for study typesBachelor
Instruction secured by
LoginNameTuitorTeacher giving lectures
C1E65 doc. RNDr. Jindřich Černohorský, CSc.
PRA132 doc. Ing. Michal Prauzek, Ph.D.
STA048 Ing. Martin Stankuš, Ph.D.
Extent of instruction for forms of study
Form of studyWay of compl.Extent
Full-time Credit and Examination 2+2
Combined Credit and Examination 2+12

Subject aims expressed by acquired skills and competences

The goal of the subject is to introduce student into provide students by basic appliance for control systems programming. After finishing the subject the student will be able to create elementary programs based on simple algorithmic constructions of C language in a general development environment. He will understand the realtions between some computer architectural elemetns and their correponding mapping into programming language, wich is necessary for constructing tasks using non-satandards peripherals. He will be also able to analyze and implement simple problems using structuerd approaches.

Teaching methods

Lectures
Tutorials
Experimental work in labs
Project work

Summary

The subject is a introductory course into the problems of programming focused on preparing students for work with specialized microprocessor systems used in process control. the students are acquainted with fundamental computer hardware components. Thge algorithms are demenstrated in C language wheras studnets are instructed in structured approaches to analysis. Practical implementation and data structures are accentuated.

Compulsory 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.

Recommended 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

Way of continuous check of knowledge in the course of semester

Written tests realized during subject exercises

E-learning

Další požadavky na studenta

There are not defined other requirements for student

Prerequisities

Subject has no prerequisities.

Co-requisities

Subject has no co-requisities.

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

Conditions for subject completion

Combined form (validity from: 2015/2016 Winter semester, validity until: 2016/2017 Summer semester)
Task nameType of taskMax. number of points
(act. for subtasks)
Min. number of points
Credit and Examination Credit and Examination 100 (100) 51
        Credit Credit 45  20
        Examination Examination 55  25
Mandatory attendence parzicipation:

Show history

Occurrence in study plans

Academic yearProgrammeField of studySpec.FormStudy language Tut. centreYearWSType of duty
2019/2020 (B2649) Electrical Engineering (2612R041) Control and Information Systems P English Ostrava 2 Choice-compulsory study plan
2019/2020 (B2649) Electrical Engineering (2612R041) Control and Information Systems K English Ostrava 2 Choice-compulsory study plan
2018/2019 (B2649) Electrical Engineering (2612R041) Control and Information Systems P English Ostrava 2 Choice-compulsory study plan
2018/2019 (B2649) Electrical Engineering (2612R041) Control and Information Systems K English Ostrava 2 Choice-compulsory study plan
2017/2018 (B2649) Electrical Engineering (2612R041) Control and Information Systems P English Ostrava 2 Choice-compulsory study plan
2017/2018 (B2649) Electrical Engineering (2612R041) Control and Information Systems K English Ostrava 2 Choice-compulsory study plan
2016/2017 (B2649) Electrical Engineering (2612R041) Control and Information Systems P English Ostrava 2 Choice-compulsory study plan
2016/2017 (B2649) Electrical Engineering (2612R041) Control and Information Systems K English Ostrava 2 Choice-compulsory study plan
2015/2016 (B2649) Electrical Engineering (2612R041) Control and Information Systems P English Ostrava 2 Choice-compulsory study plan
2015/2016 (B2649) Electrical Engineering (2612R041) Control and Information Systems K English Ostrava 2 Choice-compulsory study plan

Occurrence in special blocks

Block nameAcademic yearForm of studyStudy language YearWSType of blockBlock owner