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

Поділитися
Вставка
  • Опубліковано 31 жов 2023
  • Step by step configure Modbus TCP Server in Siemens S7-1200 PLC
    Modbus ClientX link: drive.google.com/file/d/1F05K...
  • Навчання та стиль

КОМЕНТАРІ • 27

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

    THANKS 🙏🙏🙏🙏🙏

  • @joshuaokekporo5715
    @joshuaokekporo5715 4 місяці тому

    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?

  • @matioz9125
    @matioz9125 5 днів тому

    Ok

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

    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  5 місяців тому

      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

  • @sutiknosutikno5284
    @sutiknosutikno5284 Місяць тому

    can we do this with PLC SIM ?

  • @utkukanar2644
    @utkukanar2644 7 місяців тому +1

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

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

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

  • @user-nb4bm6bf6j
    @user-nb4bm6bf6j 8 місяців тому

    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  8 місяців тому

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

  • @wandersonpereira9884
    @wandersonpereira9884 3 місяці тому

    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  3 місяці тому +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

  • @jokorinto2748
    @jokorinto2748 2 місяці тому

    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  2 місяці тому

      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 2 місяці тому

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

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

    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  8 місяців тому

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

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

      @@YaserAliHusen yes..

  • @guna6751
    @guna6751 4 місяці тому

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

    • @adeebazadsheriff
      @adeebazadsheriff 2 місяці тому

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

  • @industrialautomation1992
    @industrialautomation1992 2 місяці тому

    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  2 місяці тому

      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 2 місяці тому

      @@YaserAliHusen but u didn't used mb client

    • @YaserAliHusen
      @YaserAliHusen  2 місяці тому

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

  • @fd_4332
    @fd_4332 4 місяці тому

    Unfortunately i couldn't connect

    • @YaserAliHusen
      @YaserAliHusen  4 місяці тому

      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