Python tank simulation connected with s7-1200 PLC

Поделиться
HTML-код
  • Опубликовано: 9 фев 2025

Комментарии • 9

  • @Yazzol
    @Yazzol Месяц назад

    Why did you need to change the inputs and outputs numbers with 10?

  • @ismaelgarcia7189
    @ismaelgarcia7189 2 года назад

    Excelente Ejemplo. Funciona Muy Bien Con Un PLC Fisico. Muchas Gracias.

  • @Sugar755
    @Sugar755 2 года назад

    Hello sir.. what this is will be same if I use S7-300 PLC ?

    • @RodolfoTiburcio
      @RodolfoTiburcio  3 месяца назад

      I think you should change the line self.plc.connect('192.168.1.15', 0, 1) and make sure the program uses the correct address

  • @BartHoevenaars1
    @BartHoevenaars1 3 месяца назад

    is the code the same for python windows?

    • @RodolfoTiburcio
      @RodolfoTiburcio  3 месяца назад

      Yes, I believe so. I recently used the same library in another project, and it worked well in a Windows environment.

  • @ulyssesperezii
    @ulyssesperezii 2 года назад

    Hello Sir. I really love the tutorial an made one on my own. However I get this message 'function refused by CPU'. I tried digging up and found that I need to turn off the OPTIMIZED ACCESS BLOCK, ACCESS LEVEL should be FULL and DB should be GLOBAL which I did. But I still get the same error. Is there any firmware version that needs to be followed? Thanks in advance. :) :)

    • @RodolfoTiburcio
      @RodolfoTiburcio  2 года назад

      Hi!, thank you for the comment, and I'm sorry to read that not work, I'm not sure if firmware version could be the problem, but I will check, did you enable the "PUT/GET communication" 26:58, regards

    • @ulyssesperezii
      @ulyssesperezii 2 года назад

      @@RodolfoTiburcio had to reboot the PLC. Finally got the output I needed. Anyways, this tutorial is very helpful. Hopefully you can upload a few more videos😊😊😊