CODESYS and ARDUINO communication via MODBUS RTU #12 Motor (Start and Stop)

Опубликовано: 01 Июнь 2026
на канале: Automação e Simulação
381
19

In this video, we explore communication between CODESYS and the Arduino Uno using the Modbus RTU protocol. The Arduino Uno is equipped with a micro motor and two buttons, creating a practical and interactive system. First, we'll provide an overview of the system and explain how the Arduino Uno, the micro motor, and the buttons are connected. Then, we'll delve into configuring Modbus RTU to facilitate communication between CODESYS and the Arduino. After establishing communication, we'll demonstrate how to control the micro motor using the buttons. You'll learn how to program the motor's start and stop functions in ladder logic within the CODESYS environment. This video is perfect for anyone wanting to learn more about Modbus RTU communication, motor control, and ladder logic programming. Whether you're an Arduino enthusiast, an automation engineer, or just a curious learner, this video has something for you. Arduino is an open-source electronic prototyping platform. It consists of hardware and software designed to facilitate the creation of interactive projects. The hardware consists of boards with microcontrollers and an input/output interface that allows connecting sensors, motors, and other electronic components. The software includes its own programming language and an integrated development environment (IDE) for writing and uploading code to the microcontrollers. One of the great advantages of Arduino is its accessibility. It is widely used by beginners and electronics enthusiasts due to its simplicity and the huge community of users who share projects, code, and information. This makes it an excellent tool for learning about electronics and programming, allowing the creation of projects ranging from simple ones, such as lighting an LED, to more complex devices, such as robots and home automation systems. CODESYS is an integrated development environment for programming programmable logic controllers (PLCs) that supports various programming languages. It is a tool based on the international standard IEC 61131-3, which allows the development of applications for programmable logic controllers (PLCs) from different manufacturers. Join us on this learning journey and discover the power of communication between CODESYS and the Arduino Uno via Modbus RTU. Don't forget to like the video and subscribe to the channel for more educational content about automation and control. Until next time!

Support via PIX: [email protected]

Link - Arduino IDE for Windows 64-bit:
https://downloads.arduino.cc/arduino-...

Link to Download CODESYS:
https://store.codesys.com/de/codesys....

IMPORTANT LINK:

   / @siqueira89  

Link - Tinkercad:
https://www.tinkercad.com/things/c3Rx...

00:00 - Introduction
00:46 - Presenting the project in Tinkercad
03:23 - Uploading the project to the Arduino
05:02 - Creating the project in Codesys
06:00 - Configuring Codesys as a Modbus RTU Master
08:24 - Mapping the inputs and outputs in CODESYS
09:01 - Programming direct start and stop of a motor in ladder logic
12:38 - Direct start and stop of a motor in ladder logic
15:22 - Final considerations
16:26 - Closing