Introduction to Python Programming
How to Join the Discord Support Forum01:42
What is Python and Example Applications in Industry09:39
Python Installation02:28
Installing the Visual Studio Code Editor01:16
Setting Up VSCode for Python Coding01:31
First Program ‘Hello World in Python’02:38
Exercise: print(‘Introduce Yourself in the ControlByte Community’)02:07
How to Download and Open Python Files for the Course?01:40
Displaying Data in Python – Introduction01:09
Basics of Displaying in CMD Console print(“AC Voltage”)02:17
Displaying Text and Numbers print(“Current”, 20.5, “A)02:11
Readable Message Formatting print(“-” * 42)02:50
Python Interpreter and Newline Character print(“\n”)04:07
Changing the Separator print(“PLC, HMI, sep=” — “)01:43
Line End Parameter print(“Sensor: OK, end=”…”)02:46
Task: Industrial Machine Startup Message05:40
Comments in Python According to PEP8
Python Comments – Introduction01:59
How to Download Python Programs for the Comments Module?
Single-line Comments and Docstrings05:33
Python PEP8 PDF Guide
Task: Machine Review – Add Comments01:42
Solution: Added Comments to Machine Review
Data Types and Variables in Python
Download Python Programs for Variables
Basic Types: int, float, str, bool06:03
How to Name Variables According to PEP8 Standard03:18
Calculations with Variables power = voltage * current03:50
Assigning Multiple Variables current, voltage, power = 10, 20, 3002:47
Task: Production Line Monitoring04:17
F-STRINGS – Professional Text Formatting in Python
Download Programs for F-STRING Module
Number Formatting f”Current: {current:.2f} A”02:40
F-string Calculations f”Efficiency: {produced / time_hours:.2f}02:12
F-string Alignment and Message Width04:05
Task: CNC Machine Diagnostic Message01:47
Solution: CNC Machine Diagnostic Message03:04
Arithmetic, Logical, and Comparison Operators
Input
Conditional Statements IF, ELIF, ELSE
Loops and Iterations
Lists
Lists (copy)
Tuples
Dictionaries
Project: Processing Machine Alarm Priorities
Functions
Project: Electric Motor Diagnostics
Files and Modules
Project: Logging and Measurement Analysis
Project: PLC Data Analyzer – Logging, Data Processing, User Interface, CSV/HTML Report
Bonus: Downloading and Processing Data from Siemens PLC
Downloading and Processing Data from Siemens PLC – snap7 library21:56
Filtering – Dictionary within Dictionary, production[“Line_1”][“completed”]