ESP32 Modbus Communication | FLProg SCADA

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ก.พ. 2023
  • #modbus #scada #flprog #esp32 #embedded #programming #rs485
    Industrial data exchange between field devices can be achieved with the Modbus communication protocol. The Modbus coils, discrete inputs, input registers and holding registers were programmed into the ESP32 using FLProg. The Modbus RTU connection was established between the ESP32 and FLProg SCADA on a computer using the TTL-to-RS485 converter and the USB-to-RS485 converter modules. The programming demonstration circuit uses the ESP32 NodeMCU, LEDs, a push-button switch, a potentiometer, an I2C LCD, a TTL-to-RS485 converter, and a USB-to-RS485 converter module.
    Modbus Protocol 0:23
    Circuit Connection 2:40
    Modbus Coil & Discrete Input Read 3:54
    FLProg SCADA 5:20
    Modbus Coil Write 7:28
    Modbus Input Register 8:51
    Counter Holding Registers 10:17
    FLProg is a visual or graphical programming language that uses PLC's Function Block Diagram or Ladder Diagram for programming Arduino Uno, Micro, Nano, Mega Leonardo, ESP8266, EP32, Intel Galileo and lots more.
    FLProg Download: flprog.ru/en/
    flprog.ru/en/downloads/distru...
    Support videos on this channel when you buy products from Aliexpress with the below link(s).
    1. NodeMCU ESP32S
    s.click.aliexpress.com/e/_DF1...
    2. ESP32 Breakout Board
    s.click.aliexpress.com/e/_DBt...
    3. Vertical Round Micro Push Button Switch
    s.click.aliexpress.com/e/_DlO...
    4. LED
    s.click.aliexpress.com/e/_DlI...
    5. Resistors
    s.click.aliexpress.com/e/_AgekNM
    6. Potentiometer
    s.click.aliexpress.com/e/_DCp...
    7. Breadboard
    s.click.aliexpress.com/e/_DcG...
    8. Jumper Wire
    s.click.aliexpress.com/e/_A7zCFy
    9. I2C Liquid Crystal Display
    s.click.aliexpress.com/e/_DBb...
    s.click.aliexpress.com/e/_DlV...
    10. TTL to RS485 485 Converter Module
    s.click.aliexpress.com/e/_AUqtVB
    11. Industrial USB To RS485 Converter Module
    s.click.aliexpress.com/e/_9z7O65
    Link to the Previous video
    FLProg1: Overview | Arduino Visual Embedded Programming • FLProg1: Overview | Ar...
    FLProg2: Basics Elements and Trigger | ESP32 NodeMCU • FLProg2: Basics Elemen...
    FLProg3: Timers | ESP32 NodeMCU • FLProg3: Timers | ESP3...
    FLProg4: 7 Segment Display & Counter | ESP32 NodeMCU • FLProg4: 7-Segment Dis...
    FLProg5: Analog Input on I2C LCD | ESP32 NodeMCU • FLProg5: Analog Input ...
    FLProg6: Rotary Encoder & I2C LCD | ESP32 NodeMCU • FLProg6: Rotary Encode...
    FLProg7: Real Time Clock and Temperature | ESP32 NodeMCU • FLProg7: Real Time Clo...
    FLProg8: Set Real Time Clock with LCD Menu | ESP32 NodeMCU
    • FLProg8: Set Real Time...
    FLProg9: RTC Alarm Clock | ESP32 NodeMCU
    • FLProg9: RTC Alarm Clo...
    FLProg10: DS18B20 Temperature Sensor | ESP32 NodeMCU • FLProg10: DS18B20 Temp...
    How to Monitor and Control ESP32 from Anywhere in the World with RemoteXY IoT Cloud
    • How to Monitor and Con...

ความคิดเห็น • 41

  • @mughalsengineering8821
    @mughalsengineering8821 ปีที่แล้ว +1

    I Personally Like your Videos you are a Best Man your are a best Teacher.
    Thank you sir.

    • @OnosTech
      @OnosTech  ปีที่แล้ว

      Wow, thanks

  • @imtiazahmed-vl9yn
    @imtiazahmed-vl9yn 9 หลายเดือนก่อน

    Wait for a positive response...
    Thank you Sir

  • @tsfd6275
    @tsfd6275 ปีที่แล้ว +2

    I would love a modbus TCP video like this one please.

    • @OnosTech
      @OnosTech  ปีที่แล้ว +2

      I will build on this video for TCP

  • @donnyblackston1676
    @donnyblackston1676 ปีที่แล้ว +1

    Very good video, thank you very much.

    • @OnosTech
      @OnosTech  ปีที่แล้ว

      Glad you liked it!

  • @ragulr7168
    @ragulr7168 ปีที่แล้ว +1

    Very useful tutorial brother..... Thank you

    • @OnosTech
      @OnosTech  ปีที่แล้ว

      You're welcome!

  • @imtiazahmed-vl9yn
    @imtiazahmed-vl9yn 6 หลายเดือนก่อน

    Thank you

  • @imtiazahmed-vl9yn
    @imtiazahmed-vl9yn 9 หลายเดือนก่อน

    Hello sir, this video is also great

  • @tanachaiphoset3451
    @tanachaiphoset3451 8 หลายเดือนก่อน +1

    Thanks you

    • @OnosTech
      @OnosTech  8 หลายเดือนก่อน

      You are welcome

  • @imtiazahmed-vl9yn
    @imtiazahmed-vl9yn 6 หลายเดือนก่อน

    Plz make a video for FLPROG tm1637 display module

  • @imtiazahmed-vl9yn
    @imtiazahmed-vl9yn 9 หลายเดือนก่อน

    And display OP320 HMI analog values and digital State like on off switch in FLPROG platform and possible pic controller like 16F876A ? VIA PICKIT3

  • @karte2626
    @karte2626 ปีที่แล้ว +1

    Hi Onos:
    In the link you recommend to buy ESP-32 there are two options:
    ESP-WROOM-32E and ESP-32S
    Wich one do you recommend the most?
    I already ordered both of them but I would like to know wich is the best for future buyings.
    Great job by the way!!!

    • @OnosTech
      @OnosTech  ปีที่แล้ว +1

      Thanks KARTE!
      They have the same specification but different brand. ESP-WROOM-32E is Espressif brand and ESP-32S is Ai-Thinker brand.

  • @imtiazahmed-vl9yn
    @imtiazahmed-vl9yn 9 หลายเดือนก่อน

    And digital values read and write

  • @imtiazahmed-vl9yn
    @imtiazahmed-vl9yn 9 หลายเดือนก่อน

    In which analog values Read and write

  • @temyraverdana6421
    @temyraverdana6421 ปีที่แล้ว +1

    Hi, very interesting, I would like to try some experiments to read solaredge inverter data via modbus.
    Tanks a lot

    • @OnosTech
      @OnosTech  ปีที่แล้ว +1

      You are welcome

  • @dungletri4937
    @dungletri4937 ปีที่แล้ว

    i use arduino nano when connecting to scada, chip CH340 will heat up causing loss of connection, ESP32 will there be such situation? 24/7 connection

    • @OnosTech
      @OnosTech  ปีที่แล้ว +1

      I am not sure why the CH340 chip of the Arduino Nano is heating up. You may try the ESP32 or an external CH340 chip module like the USB-TTL Serial Adapter connected to the TX and RX pins of the Nano. s.click.aliexpress.com/e/_Atjr47

  • @mughalsengineering8821
    @mughalsengineering8821 ปีที่แล้ว

    Sir please Using Nodemcu and link scada.
    Please sir make a video.

  • @mughalsengineering8821
    @mughalsengineering8821 ปีที่แล้ว

    Please Communicate to Scada using nodemcu wifi Connection

  • @karte2626
    @karte2626 7 หลายเดือนก่อน

    I also tried a two-slave network with two Arduino Nano and FLProg Scada as the master. Did not work.
    It just works with one slave Arduino.
    WOULD YOU BE SO KIND ENOUGH OF MAKING A SIMILAR VIDEO WITH 3 OR 4 ARDUINO NANO SLAVES AND FLPROG AS A MASTER?
    Thank you very much in advance!😀!

    • @OnosTech
      @OnosTech  7 หลายเดือนก่อน

      Did you connect two TTL to RS485 converter module to the two Arduino nanos?

    • @OnosTech
      @OnosTech  7 หลายเดือนก่อน

      Send your circuit schematic to onos.technology@gmail.com?

  • @ragulr7168
    @ragulr7168 8 หลายเดือนก่อน

    Same steps follow for Arduino uno ?

    • @OnosTech
      @OnosTech  8 หลายเดือนก่อน

      Yes please

    • @ragulr7168
      @ragulr7168 8 หลายเดือนก่อน

      @@OnosTech but.....not working brother

  • @imtiazahmed-vl9yn
    @imtiazahmed-vl9yn 9 หลายเดือนก่อน

    If possible Arduino mega 2560 and HMI OP320 configuration set-up

    • @OnosTech
      @OnosTech  9 หลายเดือนก่อน

      I already have a scheduled video in a couple of weeks for the OP320 and the ESP8266 for the current series of FLProg ladder logic which can be adapted to the Arduino mega 2560 controller

    • @imtiazahmed-vl9yn
      @imtiazahmed-vl9yn 9 หลายเดือนก่อน

      @@OnosTech ok I'll be waiting..

  • @mughalsengineering8821
    @mughalsengineering8821 ปีที่แล้ว

    Using Trend graph 📈📉
    And link ms execl
    And analog link
    Please sir make a video.
    And sorry sir my English is not perfect. 🙂🤗

    • @OnosTech
      @OnosTech  ปีที่แล้ว

      I am not sure about this

  • @ragulr7168
    @ragulr7168 8 หลายเดือนก่อน

    Your software version 8.1.0 correct

    • @OnosTech
      @OnosTech  8 หลายเดือนก่อน

      Yes, but you can also use a recent and stable version of 8.2.1

  • @imtiazahmed-vl9yn
    @imtiazahmed-vl9yn 6 หลายเดือนก่อน

    Hello Sir

  • @NinoJesusMacabulos
    @NinoJesusMacabulos 11 หลายเดือนก่อน

    Can you give me license key please

    • @OnosTech
      @OnosTech  11 หลายเดือนก่อน +1

      See this video: th-cam.com/video/aNodEwjIMDo/w-d-xo.html