RevPi + Codesys

Topics about the Hardware of Revolution Pi
Post Reply
mirko.comparetti
Posts: 36
Joined: 04 Jun 2018, 11:01
Location: Lomazzo

RevPi + Codesys

Post by mirko.comparetti »

Hi,
We saw the news about the RevPi connect with codesys! Great!
We have been using this setup already in the past years by buying the two items separately, and it is good that now everything is integrated.
My question now is about something I saw in the flyer is the support for the expansion modules. So I have few generic questions:
  • How can we add them to the codesys project? Which hardware definition files do we need to use?
  • Is there a codesys support for the X2 input and outputs? How?
  • Is this officially released? Can this be used in setup that are not born as "feat codesys" but have the same hardware (or maybe better, like the 32GB) and license? Where can this be downloaded (there is no link in the webpage)?
Thanks!
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: RevPi + Codesys

Post by dirk »

Hello Mirko The link to the page you sent contains a download to the Revolution Pi Library for CODESYS.
Together with the instructions on the page you can make a configuration for your expansion modules.
This way you can also access the X2 input. Have a look at the help file in Codesys after you have installed everything.
There you will find more interesting code examples that can support you during commissioning.
vasco.ludovico
Posts: 1
Joined: 03 May 2021, 16:46

Re: RevPi + Codesys

Post by vasco.ludovico »

Hi,
Currently, we are not using the RevPi Core as a PLC, all the logic is written in python using the revpimodio2 package. Now we need to communicate with other field devices using Ethernet/IP. Does RevPi feat. Codesys allows you to do it under a python environment? Or is this release focused only on being a PLC replacement?
Thank you in advance.
mirko.comparetti
Posts: 36
Joined: 04 Jun 2018, 11:01
Location: Lomazzo

Re: RevPi + Codesys

Post by mirko.comparetti »

dirk wrote: 28 Apr 2021, 09:35 Hello Mirko The link to the page you sent contains a download to the Revolution Pi Library for CODESYS.
Together with the instructions on the page you can make a configuration for your expansion modules.
This way you can also access the X2 input. Have a look at the help file in Codesys after you have installed everything.
There you will find more interesting code examples that can support you during commissioning.
Thanks Dirk! I was talking to Codesys support few months ago and we found that the library in the link was still beta and unofficial. If that is now official, we will start using it and we will check it out!
Thanks!
vasco.ludovico wrote: 03 May 2021, 16:59 Hi,
Currently, we are not using the RevPi Core as a PLC, all the logic is written in python using the revpimodio2 package. Now we need to communicate with other field devices using Ethernet/IP. Does RevPi feat. Codesys allows you to do it under a python environment? Or is this release focused only on being a PLC replacement?
Thank you in advance.
RevPi with codesys allows you to run codesys on the RevPi and enables the power of that specific softplc solution.
Post Reply