Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Raspberry Pi activation and connection

ray2020
2021-03-04
2021-03-08
  • ray2020 - 2021-03-04

    Hello all, I used the raspberry pi library and I am working with multiple raspberry. I was setting up static IP address in pi and it was not working, so I tried other pi to set up static ip address. In the mean time, I switched sd card to other pi even later I used other pi also.
    now I forgot in which pi and in which sd card I licenced with. How I find out this ? Now every time I tried with codesys , it showed target machine actively refused it.

     
  • eschwellinger

    eschwellinger - 2021-03-04

    You have the license update files for your Pi's on your CODESYS PC:
    Example:
    XXXX... is the ticketnumber of your license 100000002fec92b4 in my example the serial number of the PI which you get with the runtime deploy tool under systeminfo / cpuinfo (or cat /proc/cpuinfo)
    c:\ProgramData\CODESYS\Licenses\XXXXX-XXXXX-XXXXX-XXXXX-XXXXX\100000002fec92b4.WibuCmRau
    With this you could relicense your PI.
    https://faq.codesys.com/pages/viewpage.action?pageId=1310825

     
    • ray2020 - 2021-03-07

      I could not find this ticket number also i did not find the backing up license number by following this link:
      https://faq.codesys.com/pages/viewpage.action?pageId=1310825
      In my Codesys (on the pc where I licensed the pi), i could not find any information in "system info"

       
      • ray2020 - 2021-03-07

        due to shuffle sd card and pi, now I am not sure in which pi and which sd card I licensed the library.

         
        • eschwellinger

          eschwellinger - 2021-03-07

          ticket number is what you get from the CODESYS Store on purchasing the license ( by mail)
          system info you should read out from your Pi.
          If you have only 2 Pi's just do it by try and error with the license update file.

           
          • ray2020 - 2021-03-07

            I tried possible 4 combinations (mainly I used 2 pi with 2 sd card) and Restoring the license from the file CMLicenseNew.WibuCmRau as SP13 but codesys could not find the pi any more.

             
            • ray2020 - 2021-03-07

              in the mean time, I reinstall codesys 2 times

               
              • ray2020 - 2021-03-07

                lucky after several trial, may be i find the combination. but the problem is license is not restoring automatically.

                 
                • ray2020 - 2021-03-08

                  Thank you very much, now I connected with the device

                   
    • ray2020 - 2021-03-08

      Currently I am working using dynamic IP address through wlan or wifi connection. Can I work with static ip address ? Means I want to connect raspberry pi directly in my Codesys Pc

       
  • victorherma - 2021-03-04

    Hello.
    I have some questions.
    Is it possible to migrate a Codesys runtime license from a Raspberry Pi to a new one?
    Could that be done by installing the license on a Dongle? What type of Dongle would be necessary?
    Is it possible to have two licenses installed at the same time on a Raspberry Pi?
    Thanks a lot.
    Kind regards,
    Victor.

     
  • eschwellinger

    eschwellinger - 2021-03-04

    a) no license is linked to the hardware
    b) no
    but dongle makes the license portable ( the Pi which has plugged the dongle which contains the license - is then licensed)
    c) you mean different products like Pi Runtime license, IO-Link Gateway license , IIOT Libs license - yes this is possible.

     

    Last edit: eschwellinger 2021-03-04

Log in to post a comment.