RaspberryPi to PLC Codesys step by step (controling GPIO's)

Поділитися
Вставка
  • Опубліковано 19 жов 2024
  • Links Codesys:
    www.codesys.com/ (home page)
    www.codesys.co.... (download program)
    store.codesys.c.... (download plugin)
    RaspberryPi Link:
    www.raspberryp....
    (download noobs)
    Electrical drawing:
    onedrive.live....

КОМЕНТАРІ • 55

  • @gr7480
    @gr7480 4 роки тому +4

    probably the best explained video of codesys. Every time I reconnect to my rpi and I don't remember anything I look at it and I think aaaaa of course, thanks

  • @IngVasiu
    @IngVasiu 2 роки тому +1

    Thank you! It is the same procedure as with the BeagleBone Black.

  • @darinschollmeyer4234
    @darinschollmeyer4234 7 років тому +3

    Thanks for making this, was really helpful.

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

    Thank for the video, excellent

  • @davidbotros5215
    @davidbotros5215 4 роки тому +1

    This is great and very helpful, thanks for sharing!

  • @unitedbolts8053
    @unitedbolts8053 2 роки тому +1

    Hello, I have a question: rasp can recognize usb ethernet adaptors? (those usb to eth cables).
    I wanna try to use ethercat master with softmotion but need 2 eth ports. One for tcp and other for ethercat...
    I use codesys with several different plc brands but they all cost too much and I am looking for somth cheaper.

  • @javieruribe3833
    @javieruribe3833 8 років тому +2

    One question, I'm doing an investigation work for my university and i'd like to know if there are any limitations besides the 2 hours use, if I don't get the License from Codesys and i use the Demo. Thanks, and very good job, it really helped me

  • @6HannE6
    @6HannE6 5 років тому +1

    Thank You! Very helpful.

  • @franciscoflores4427
    @franciscoflores4427 8 років тому +1

    Thanks for the video, it helped me a lot.

  • @breedj1
    @breedj1 7 років тому

    Leuk. Bedankt voor de uitleg.

  • @_scholi6495
    @_scholi6495 3 роки тому +1

    Thank you really much!

  • @djscottdog1
    @djscottdog1 4 роки тому

    This could be the thing im looking for

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

    thanks a lot

  • @kooswijling4229
    @kooswijling4229 8 років тому +2

    this is amazing
    go mainly by making these videos

  • @pedrot1280
    @pedrot1280 4 роки тому

    Hi, I'm using Raspberry with Codesys using a PSOC 5LP in order to expand the raspberry I/Os. I'm using i2c bus, but when the data is received on raspberry, it started to oscillate between 255 and the true valor. I've used the pull up resistor (4.7 Kohm), but it still not working as well as I wanted. What`s wrong?

  • @ndanda1693
    @ndanda1693 4 роки тому

    Thank you!

  • @jonstonloreto8139
    @jonstonloreto8139 5 років тому +1

    hi do you know how many input and output can used for this applications, what is the limit of input and output? thanks.

  • @fliper1202
    @fliper1202 8 років тому +2

    Please help..
    I bought Raspberry pi 3 and by default it has IPv6 switched on.. I can't switch it off and work with IPv4 so I can work on this project.. And I would really want to adapt R_Pi3 for codesys because I use it for a few years on some really expensive PLCs..
    Thanks in advance..

    • @deob007
      @deob007 7 років тому +1

      Hi! Well I also had the same problem initially but the solution was pretty simple. Once you turn on ur RBP, goto preferences & enable SSH. Reboot and now try again

  • @evplasmaman2
    @evplasmaman2 8 років тому

    Sad news for us folks in the US, seems that Rockwell has decided it doesn't like CodeSys making things available to people who are interested in PLCs without paying multiple thousands of dollars for hardware. It looks like RW has put their patent lawyers to work hobbling a US version of codesys which doesn't include the web interface module. :-(

  • @mobinwb
    @mobinwb 6 років тому

    Is Runtime License installation a necessary step? I am encountering errors while updating Runtime package on raspberry from 'Update Raspberry pi' option. Although, I can download and run the application, the visualizations are not responding to the actions. I am confused whether this has anything to do with the licensing.. Please help

  • @servertigo4311
    @servertigo4311 8 років тому +2

    Hello, I have a problem. It doesn't show the web Visialization in Visualization Manager (It shows Visualization Manager without the plus-minus box on the left). How can I find it or sore it?

    • @nishyu9101
      @nishyu9101 5 років тому

      Right click on application>>go to 'add Object'>>at the very end is Visualization

  • @최대한-s2g
    @최대한-s2g 8 років тому

    question
    1. you raspberry pi connection Ethernet? (internet connect?)
    2. raspberry pi booting -> browser autostart -> ad : localhost:8080 (not internet)

  • @deadpumpkin8252
    @deadpumpkin8252 6 років тому

    can you please explain your hardware configuration , also in case of extension of gpio pins what should be done to increase numbers of gpio pins, also what should be done to take analog input/output, what are hardware is available for it and how to program using codesys?

    • @kevingroenendijk4681
      @kevingroenendijk4681  6 років тому

      Soon I will be making a video how to connect a esp8266 with raspberry pi using codesys as software. This is a low voltage (3,3V) chip that has WiFi on board. And will function as remote Io. It's also possible to connect it with a Arduino for extra Io's.

  • @qzorn4440
    @qzorn4440 7 років тому

    very nice info, how would an Automation Direct Cmore HMI Ethernet/IP program work with this demo? thank you

  • @parththaker5332
    @parththaker5332 6 років тому +1

    im using raspbian and wifi for connection rather than ethernet but my gpio pin not work when i start this, please give me solution for that

  • @Noxbite
    @Noxbite 7 років тому

    Does this basically replace the Operating System of the Raspberry or does it just run like a normal application?

    • @ankulek07
      @ankulek07 6 років тому

      you can run normal app too

  • @foufoutoutou3130
    @foufoutoutou3130 8 років тому +1

    thank you for this video , please can share again the link to upload the programme ,because it's not availble now , thank you in advence

  • @marcoriccobelli6297
    @marcoriccobelli6297 7 років тому

    Ciao... Thank you for this video; i followed all your instruction but i'm not able to switch on the led. All is working: codesys program and online connection is active... i see, in the online in plc program and on the webvisu, the status led switch on and off but, physically, nothing happen.... The GPIO is ok ( i tested it by shell and WiringPI library ). Do you have some suggestion ?
    Thank you very much again.

    • @kevingroenendijk4681
      @kevingroenendijk4681  7 років тому

      You are running Codesys on Raspbian?

    • @DASDTUBE
      @DASDTUBE 5 років тому

      @@kevingroenendijk4681 im exactly in the same situation, and yes im using raspbian, is that a problem?

    • @peterevans7480
      @peterevans7480 5 років тому

      Damart Sandoval Dominguez are your GPIO set to inputs and outputs?

    • @DASDTUBE
      @DASDTUBE 5 років тому

      Peter Evans yeah, actually I already fixed my issue. The problem was my raspbian version, the first time I tried installing it with NOOBS and for some reason that way it failed to work with CODESYS. But after using a digital image to replace the NOOBS version I was able to make the pins work with no change in the code or configuration.

  • @raer7844
    @raer7844 4 роки тому

    i got one orange pi . if i set rasbian on opi then its gonna be run on opi ? how can ı use with opi ? thank you .

  • @MrDimonsky
    @MrDimonsky 4 роки тому

    Does Codesys use LAN card of Raspberry as EtherCat?

  • @rodrigoadachi
    @rodrigoadachi 7 років тому +2

    Se puder atualizar os links, todos estão quebrados

  • @manho2965
    @manho2965 5 років тому +1

    Hello! I like you video and i have a problem. how can i control PLC by raspberry??? please!

    • @pagemudassar7
      @pagemudassar7 5 років тому

      I have got the same question buddy... Did you got solution for this... plz share

  • @maksymlevinskyi8762
    @maksymlevinskyi8762 7 років тому

    What is the possible reason that I can't reach it through 192.168.*.*:8080 ??

    • @DorinMocan
      @DorinMocan 7 років тому

      maybe the firewall, maybe the port is closed?
      can you ping the 192.* ? (if pinging is not blocked also by the firewall)

    • @bJeak
      @bJeak 3 роки тому

      I'm having problems with webvisu too. I cannot connect with any browser to my 192.168.0.1:8080/webvisu.htm page. Why? Any clue? Program is running and I can see it running on Codesys (the internal visualization page is working)

  • @Logical_Controls
    @Logical_Controls 5 років тому

    Followed everything step by step but when i go to scan for my device to go online there is an error message "Scan Failed. Please check that the gateway is running and that it's settings are correct." Anyone know what this means? the gateway doesn't have a green circle next to it like in the video but instead has a red one. is there a step to set up the gateway that is not shown?

    • @nishyu9101
      @nishyu9101 5 років тому

      i had the same problem, i just reinstalled the PI!
      the thing is to first update you PI in the codesys software, then when the raspberry pi is running and connected, push the codesys runtime package 'install' button.
      the Package will get installed to the PI. after that Push the start button below.
      then PI should be visible after scanning now!! or you can manually type the IP of your PI too.

  • @muratinan4124
    @muratinan4124 6 років тому

    hello i have one question. how to use another raspberry pi gpio with codesys. i want to my raspberry with other raspberry pi is gpio on off.i not found. please help

    • @kevingroenendijk4681
      @kevingroenendijk4681  6 років тому

      Murat İnan you want to use the other raspberry pi as slave you mean? In that case you should run codesys on both raspberry pi's. You must use then a communication protocol, like modus over TCP/IP. Then you can choose to run a program on the slave, or to couple the Io's directly.

  • @luisangelcruzadorimache9270
    @luisangelcruzadorimache9270 7 років тому

    Buenos días, no puedo conectarme del Codesys al Raspberry porque sera? , sera la licencia? configuracion del raspberry?

    • @j4m41k4
      @j4m41k4 6 років тому

      Buenas noches @Luis Angel tengo un pregunta que tal vez puedas resolver, espero si. Una vez que cargas el programa en la Raspberry y este esta corriendo ¿Es necesario tener abierto Codesys?, es decir, es independiente el programa en la rasp o Codesys funciona como SCADA.

  • @r2kordmaa
    @r2kordmaa 8 років тому

    Eeehhh... not realtime, no wonder its only 35$. Non-realtime plc is kind of like a car without wheels. What you can do without realtime you can just as well do with scripts or whatever, applications that really benefit from plc control kind of demand realtime too. For example nc control where multiple axises of movement need to be coordinated.

    • @noijze
      @noijze 7 років тому

      Raspberry's are meant to be used for educational purposes. there is no company in the world that would control there automation on a 35 dollar device. So your point is completely irrelevant

    • @blkmagnum3370
      @blkmagnum3370 6 років тому +1

      Yes and no. I had to use a beaglebone black to communicate to atmel chips.
      Allen Bradley Plc to Beagblebone to atmel.
      It was the only thing we could think of to keep the cycle time down. And no this wasn't small scale. It was on a $5 million project. You've probably used the product it's creating.

    • @yalgret
      @yalgret 6 років тому

      blkmagnum sounds really interesting but why the beaglEbone, why not just Pi to the AVR?