Install OpenPLC Runtime on edge hardware, read live IO-Link sensor data over Modbus TCP/IP and write Ladder, Structured Text and Python function blocks that control real devices.
“I have done many courses on PLC programming, but the one I did through Code and Compile was definitely my favorite.”
Every lesson runs on a live industrial setup: an edge computer, OpenPLC and IO-Link sensors.
Set up OpenPLC on an edge device and run your first ladder program.
Pull live sensor data from IO-Link devices over Modbus TCP/IP.
Write industrial control logic in both IEC 61131-3 languages.
Build a live vibration monitor from an IO-Link sensor.
Detect objects and switch a SmartLight indicator from PLC outputs.
Extend OpenPLC with your own Python function blocks.
What OpenPLC is, the edge hardware and what you will build.
Install OpenPLC Runtime, write your first ladder program and monitor IO-Link sensors over Modbus TCP/IP.
Extend OpenPLC with Python function blocks for logic that ladder cannot express easily.
Recap what you built and where to go next with virtual PLCs.
Watch the free walkthrough on YouTube, then dive into the hands-on lessons inside the course.
Install, program and deploy OpenPLC on the edge, then connect it to a simulation.
Read IO-Link sensor data over Modbus TCP/IP and act on it in your PLC program.
Write your own function block in Python and call it from your PLC logic.
Step-by-step OpenPLC and IO-Link articles with project links on the Code and Compile Wiki.
“Rajvir is an exceptional teacher who simplifies complex topics effortlessly. He’s always available in comments or even via TeamViewer to help you understand. Truly dedicated and teaches straight from the heart.”
“I was shy to learn PLC and IIoT, but Rajvir’s teaching on Code and Compile inspired me. His passion, clarity, and willingness to answer every question made learning PLCnext and Node-RED exciting.”
“I’m a software engineer at NASA Ames, and Rajvir’s videos greatly help me interface PLCs for testing heat shield systems on reentry vehicles, truly contributing to space exploration and innovation.”
He is a skilled Automation and IIoT Specialist, dedicated to achieving goals with precision. His passion lies in making learning accessible and enjoyable through the use of cutting-edge educational tools.

Take this course on its own, or unlock every Code and Compile course with PRO.
Practice flashcards. Test yourself on PLC and HMI concepts at beginner, medium and advanced levels.
You will be redirected to Code and Compile School to enroll.
The lessons use an edge computer with IO-Link sensors. OpenPLC Runtime itself is open source and also runs on a Linux PC or a Raspberry Pi, so you can follow the programming parts without the exact hardware.
Yes. Every lesson has a comment section for your questions. If a query cannot be resolved there, Rajvir offers free screen-sharing sessions.
Yes. Enroll for free on Code and Compile School and learn at your own pace.
Basic PLC knowledge helps. If you are new to PLCs, start with the S7-1200 Basic course or follow the learning path first.
Ladder Logic and Structured Text from IEC 61131-3, plus Python for custom function blocks.
Start the free course and run real industrial logic on open-source software.
Enroll for free