Program the Schneider M221 in EcoStruxure Machine Expert Basic, which includes PLC simulation, then connect it to Node-RED, FACTORY I/O and Simumatik over MODBUS TCP/IP using industrial examples.

“I have done many courses on PLC programming, but the one I did through Code and Compile was definitely my favorite.”
Learn the fundamentals, then put them to work with industrial examples.
Learn PLC basics on the M221 in EcoStruxure Machine Expert Basic.
Work with bit level instructions, timers, counters, memory objects and advanced instructions.
Build functions and function blocks for cleaner programs.
Add analog input and output modules, and use fast and high-speed counters.
Practise process control with a process simulator.
Link the PLC to Node-RED, FACTORY I/O and Simumatik, and use it as a MODBUS client.
An introduction to the PLC and EcoStruxure Machine Expert Basic, bit level instructions, timers, counters, exercises and memory objects.
Advanced instructions, functions and function blocks, and a process simulator.
Connecting to Node-RED, FACTORY I/O and Simumatik, and using the PLC as a MODBUS TCP/IP client.
Analog I/O, fast and high-speed counters, and the course wrap-up.
See how Rajvir teaches, from the M221 itself to timers and a Simumatik digital twin.
Get to know the PLC you will program throughout the course.
Learn the timers you will use in almost every PLC program.
Connect a digital twin to the PLC and the PLC simulator.
Find the course files and PLC exercises 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 on cards.codeandcompile.com.
You will be redirected to Code and Compile School for payment.
No. EcoStruxure Machine Expert Basic supports PLC simulation, so you can practise without an M221. If you have one, you can follow along on real 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. Use the Teachable app on Android or iOS, sign in with your account and save videos for offline access.
Yes. You receive a unique completion certificate when you finish the course.
You can request a refund within 72 hours of purchase by emailing info@codeandcompile.com.
Learn at your own pace, with an instructor who helps you when you get stuck.
Start the course