Step by step configure Modbus TCP Server in Siemens S7-1200 PLC

Поділитися
Вставка
  • Опубліковано 25 січ 2025

КОМЕНТАРІ • 33

  • @joshuaokekporo5715
    @joshuaokekporo5715 10 місяців тому +1

    This is a great video sir. And many thanks. Tried it and it worked. However, i have got 2 questions.
    1. So you do not need to map the MB_Data.Hold_Reg to the PLC tags in order to read or write to it? Will it still be same for analog input cards like reading the Flow, Pressure and Temperature sensor data?
    2. Would mapping also be required between MB_Data.Hold_Reg
    (Buffer) and other DB's in the program? Or will it work straight away just like the PLC tags? For instance, DB_Powermeter?

  • @rakeshk6261
    @rakeshk6261 9 місяців тому +1

    THANKS 🙏🙏🙏🙏🙏

  • @cllintonms9851
    @cllintonms9851 10 днів тому

    Hi sir, if my requirement is 50 number of Integer, 50 number of Double word & 50 number of real data types, then how to get it sir

  • @utkukanar2644
    @utkukanar2644 Рік тому +1

    When did u create TCON_IP_v4 data type ? what is the details of it ? am i miss something ?

    • @YaserAliHusen
      @YaserAliHusen  Рік тому

      You can see the detail in ua-cam.com/video/YuRjIp0cipA/v-deo.html

  • @alrazi6687
    @alrazi6687 11 місяців тому

    hello bro....perfect videos
    i have one question pls
    why you give specific values in connect registers(64, 1, 11, 502).
    from where we can get these values??
    and these values depend on what???

    • @YaserAliHusen
      @YaserAliHusen  11 місяців тому

      502 is default port of modbus
      you can find them in siemens document:
      support.industry.siemens.com/cs/attachments/102020340/net_modbus_tcp_s7-1500_s7-1200_en.pdf

  • @jokorinto2748
    @jokorinto2748 8 місяців тому

    Good video...I want to ask how if 1 Siemens PLC communicates with many ESPs at once? What needs to be changed is the ID?

    • @YaserAliHusen
      @YaserAliHusen  8 місяців тому

      Thank you,
      I don't have experience for creating multiple modbus client, maybe you should create multiple modbus function and with different ID

    • @jokorinto2748
      @jokorinto2748 8 місяців тому

      @@YaserAliHusen Hi, I've tried but still failed...can only 1 esp connect, can you help me?

  • @zeinirianes3715
    @zeinirianes3715 5 місяців тому

    Thanks video,,, how to change start address like a start on 40100 ?

  • @asifislam7376
    @asifislam7376 Рік тому

    When i connect plc with node red.,Modscan not working.. Again when use Kepserver, modscan and node red.. I saw only one slave work with this MB server.. What's reason may i know please?

    • @YaserAliHusen
      @YaserAliHusen  Рік тому

      My experience, Modbus server only connect with 1 modbus client.
      I dont know, is it related with your problem?

    • @asifislam7376
      @asifislam7376 Рік тому

      @@YaserAliHusen yes..

  • @guna6751
    @guna6751 9 місяців тому

    Hi I am unable to see the "OPC " option and also "Protection of the PLC configuration data" options. Please help me

    • @adeebazadsheriff
      @adeebazadsheriff 8 місяців тому

      Click on PLC hardware displayed in software(in upper half of middle of TIA software). Then those options should appear under Properties.

  • @wandersonpereira9884
    @wandersonpereira9884 9 місяців тому

    Excellent video. Thanks for sharing. I've successfully done Modbus Server like on the video, but when I try to read data from Micrologix 1400 Modbus Client it does not work. I get the error "Local communication channel is shut down".

    • @YaserAliHusen
      @YaserAliHusen  9 місяців тому +1

      Is the IP address both of server and client in same IP node?
      For example same in 192.168.0.xxx
      Or you can test using modbus clientX software

  • @industrialautomation1992
    @industrialautomation1992 7 місяців тому

    i dont have plc hardware, i'm using plc sim and i did same as like you, but connection failed with mb client

    • @YaserAliHusen
      @YaserAliHusen  7 місяців тому

      Hi, thank for watching my video.
      In video I use real PLC.
      Sorry I don't have experience using PLC Sim, maybe there is configuration related connection

    • @industrialautomation1992
      @industrialautomation1992 7 місяців тому

      @@YaserAliHusen but u didn't used mb client

    • @YaserAliHusen
      @YaserAliHusen  7 місяців тому

      @@industrialautomation1992 , As I remember, I set the PLC as Modbus Server

  • @SandyPrawira-p3i
    @SandyPrawira-p3i Рік тому

    hello, great video reference for PLC siemens, in my case, i'm trying to connect PLC fatek fbs series as the master to read and write value to a software called modbus slave, i haven;t be able to communicate my PLC with modbus slave, maybe you can help me by discussing this matter? thank you

    • @YaserAliHusen
      @YaserAliHusen  Рік тому

      Hello,
      I am sorry, I dont have experience using PLC Fatek.
      Is there any tutorial how to setup modbus in Fatek?

  • @sutiknosutikno5284
    @sutiknosutikno5284 7 місяців тому

    can we do this with PLC SIM ?

  • @bentarwahyuprabowo7972
    @bentarwahyuprabowo7972 3 місяці тому +1

    izin nyerap ilmunya pak🙏🏻

  • @fd_4332
    @fd_4332 10 місяців тому

    Unfortunately i couldn't connect

    • @YaserAliHusen
      @YaserAliHusen  10 місяців тому

      Maybe the IP address PLC and PC or connecting device are not in same network.
      For example PLC=192.168.0.1, PC or connecting device must be 192.168.0.xx

  • @matioz9125
    @matioz9125 6 місяців тому

    Ok