New Video- ADAM-250PN - Full Walkthrough with TIA Portal, Node-RED & MQTT → Watch now
Schneider M221 PLC · EcoStruxure

Learn Schneider PLC programming from scratch.

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.

68lessons
16sections
MODBUS TCPintegration
Schneider PLC Programming course

“I have done many courses on PLC programming, but the one I did through Code and Compile was definitely my favorite.”

Jaco Venter, Engineer
What you will learn

From your first rung to a connected PLC.

Learn the fundamentals, then put them to work with industrial examples.

01

Start from scratch

Learn PLC basics on the M221 in EcoStruxure Machine Expert Basic.

02

Master the core instructions

Work with bit level instructions, timers, counters, memory objects and advanced instructions.

03

Write reusable logic

Build functions and function blocks for cleaner programs.

04

Configure analog and counters

Add analog input and output modules, and use fast and high-speed counters.

05

Control a process

Practise process control with a process simulator.

06

Connect over MODBUS TCP/IP

Link the PLC to Node-RED, FACTORY I/O and Simumatik, and use it as a MODBUS client.

Is this the right course?

Built for beginners and Schneider users who want practical skills.

Start here if

  • You are new to PLCs or work with Schneider controllers.
  • You want to practise with simulation before buying hardware.
  • You want to connect a PLC to modern tools over MODBUS TCP/IP.

Choose another path if

Course content

16 sections. 68 lessons. One clear path.

PHASE 1
15 lessons

PLC basics

An introduction to the PLC and EcoStruxure Machine Expert Basic, bit level instructions, timers, counters, exercises and memory objects.

PHASE 2
17 lessons

Advanced instructions and functions

Advanced instructions, functions and function blocks, and a process simulator.

PHASE 3
20 lessons

MODBUS TCP/IP integration

Connecting to Node-RED, FACTORY I/O and Simumatik, and using the PLC as a MODBUS TCP/IP client.

PHASE 4
16 lessons

Analog and high-speed counters

Analog I/O, fast and high-speed counters, and the course wrap-up.

Try before you buy

Watch 3 lessons for free.

See how Rajvir teaches, from the M221 itself to timers and a Simumatik digital twin.

Free course resources

Download the files used in the course

Find the course files and PLC exercises on the Code and Compile Wiki.

Open the wiki
Student stories

What students say about Rajvir.

“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.”

Mohammad Alharbi
Engineering Student

“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.”

Nam Bach
Software Engineer

“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.”

Brian Droncheff
Software Engineer, NASA Ames
10+ Years of experience

Your Instructor

Rajvir Singh

Founder
Code and Compile

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.

Education and Experiences
Masters Mechatronics
Siegen, Germany
Online Teaching
10+ years
International Trainer
3 years
Software Developer
5 years
Recognition
ctrlX Automation
Influencer
2022
LearnWorlds
Influencer
2023
Enroll

Choose how you want to learn.

Take this course on its own, or unlock every Code and Compile course with PRO.

This course

Schneider PLC Programming

One-time purchase
  • 1 year of access
  • 68 lessons
  • Instructor support
  • Completion certificate
Enroll now
All courses

Code and Compile PRO

From €12/month, paid yearly
  • €19 monthly, €12/month paid yearly, or €249 for 3 years
  • Access to all courses
  • Tech support
  • Completion certificate
View PRO plans
Coming soon

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.

FAQs

Questions before you start?

Do I need a real PLC?

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.

Will I get instructor support?

Yes. Every lesson has a comment section for your questions. If a query cannot be resolved there, Rajvir offers free screen-sharing sessions.

Can I learn on my phone?

Yes. Use the Teachable app on Android or iOS, sign in with your account and save videos for offline access.

Do I get a certificate?

Yes. You receive a unique completion certificate when you finish the course.

What is the refund policy?

You can request a refund within 72 hours of purchase by emailing info@codeandcompile.com.

Your first Schneider PLC program starts here.

Learn at your own pace, with an instructor who helps you when you get stuck.

Start the course