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

unable to connect Raspberry Pi with Codesys

mohan1
2021-12-23
2022-01-04
  • mohan1 - 2021-12-23

    Hello Edwin,
    I Have installed Raspberry OS in SD Card , Connected Raspberry Pi and My PC through Mobile Hot SPOT and both are getting connected and detected to Hot spot, But in Codesys It is not detected while scan device, What can be wrong with my installation or where I am missing ?, My previous card installed before one year is working fine, but new installation not . I am trying since last four days continuously but I am failed. Please give proper steps to go ahead.
    Thanks

     
  • abner - 2021-12-28

    Hi Mohan, you should enable SSH on Raspberry, give an IP and subnet mask that be in the same network of your PC.
    Also you must install raspberry package in Codesys and update your Raspberry with codesys.
    I let you a video that I uploaded time ago, it explain step by step.
    One more thing, some people told me that they had problems with version 3.5.17, so I suggest you to install version 3.5.16, in the description of video there is a link to get that version.
    https://www.youtube.com/watch?v=kX70mqEUUi8&t=452s

     

    Last edit: abner 2021-12-28
  • abner - 2021-12-28
     

    Last edit: abner 2021-12-28
  • eschwellinger

    eschwellinger - 2021-12-28

    I would use the Gateway on the PI - to scan the plc. ( You have been asked on deploying the runtime if you want to install the EdgeGateway too9
    Add new Gateway with the IP address of your PI and scan the plc that way.

     
    • mohan1 - 2021-12-29

      Thank you for your kind support,
      I succeeded for configuring Raspberry pi 3b+, I used codesys control for
      raspberry pi 4.2.0.0
      Codesys V3.5 V17.10 SP 1 - 32 bit system, also installed Codesys edge
      gateway. I enabled all interfaces in OS. and things got workout.
      Thank you for your kind support.
      I am going to start engineering student training from Saturday 1st JAN2021.
      I will share details of
      Progess.

      I would use the Gateway on the PI - to scan the plc. ( You have been asked
      on deploying the runtime if you want to install the EdgeGateway too9
      Add new Gateway with the IP address of your PI and scan the plc that way.


      unable to connect Raspberry Pi with Codesys
      https://forge.codesys.com/forge/talk/Engineering/thread/5038eed7e2/?limit=25#5b1d


      Sent from forge.codesys.com because you indicated interest in
      https://forge.codesys.com/forge/talk/Engineering/

      To unsubscribe from further messages, please visit
      https://forge.codesys.com/auth/subscriptions/

       

      Last edit: eschwellinger 2022-01-03
      • RolandWagner

        RolandWagner - 2021-12-29

        Hello Prof. Patel,

        thank you for your response and the good news ☺.

        I wish you a good a success with the lecture.

        Best regards

        Roland Wagner

        CODESYS Group
        We software Automation.


        CODESYS GmbH
        A member of the CODESYS Group

        CODESYS Store: store.codesys.comhttps://store.codesys.com
        CODESYS Talk: talk.codesys.comhttps://talk.codesys.com
        CODESYS Online Help: help.codesys.comhttps://help.codesys.com

        Geschäftsführer / CEOs: Dipl.-Inf. Dieter Hess, Dipl.-Inf. Manfred Werner
        Handelsregister / Trade register: Kempten HRB 6186 | USt-IDNr. / Tax ID No.: DE 167014915


        Diese E-Mail enthält möglicherweise vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind
        oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
        Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

        This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received
        this e-mail in error, please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure
        or distribution of the material in this e-mail is strictly forbidden.

        Thank you for your kind support,
        I succeeded for configuring Raspberry pi 3b+, I used codesys control for raspberry pi 4.2.0.0
        Codesys V3.5 V17.10 SP 1 - 32 bit system, also installed Codesys edge gateway. I enabled all interfaces in OS. and things got workout.
        Thank you for your kind support.
        I am going to start engineering student training from Saturday 1st JAN2021.
        I will share details of
        Progess.

        On Wed 29 Dec, 2021, 1:16 AM eschwellinger, no-reply@codesys.com<mailto:no-reply@codesys.com> wrote:

        I would use the Gateway on the PI - to scan the plc. ( You have been asked on deploying the runtime if you want to install the EdgeGateway too9
        Add new Gateway with the IP address of your PI and scan the plc that way.


        unable to connect Raspberry Pi with Codesyshttps://forge.codesys.com/forge/talk/Engineering/thread/5038eed7e2/?limit=25#5b1d


        Sent from forge.codesys.comhttp://forge.codesys.com because you indicated interest in https://forge.codesys.com/forge/talk/Engineering/

        To unsubscribe from further messages, please visit https://forge.codesys.com/auth/subscriptions/

         

        Last edit: eschwellinger 2022-01-03
      • mohan1 - 2022-01-03

        Good morning Roland Wagner and Team,
        Thank you for your kind support,
        I found a problem about User Authentication while user login, it is giving
        me wrong used name or password , all time when I tried to login.
        How to create or read User Authentication Name and password.
        In Codesys Control Win V3.
        [image: image.png]
        [image: image.png]
        Please help me to resolve this problem.
        Thanks and Regards

        On Wed, Dec 29, 2021 at 3:49 PM Mohan Patel mohan.patel@ppsu.ac.in wrote:

        Thank you for your kind support,
        I succeeded for configuring Raspberry pi 3b+, I used codesys control for
        raspberry pi 4.2.0.0
        Codesys V3.5 V17.10 SP 1 - 32 bit system, also installed Codesys edge
        gateway. I enabled all interfaces in OS. and things got workout.
        Thank you for your kind support.
        I am going to start engineering student training from Saturday 1st JAN2021.
        I will share details of
        Progess.

        On Wed 29 Dec, 2021, 1:16 AM eschwellinger, no-reply@codesys.com wrote:

        I would use the Gateway on the PI - to scan the plc. ( You have been
        asked on deploying the runtime if you want to install the EdgeGateway too9
        Add new Gateway with the IP address of your PI and scan the plc that way.


        unable to connect Raspberry Pi with Codesys
        https://forge.codesys.com/forge/talk/Engineering/thread/5038eed7e2/?limit=25#5b1d


        Sent from forge.codesys.com because you indicated interest in
        https://forge.codesys.com/forge/talk/Engineering/

        To unsubscribe from further messages, please visit
        https://forge.codesys.com/auth/subscriptions/

        --
        Thanks & Regards

        Mohan Patel
        Head Center for Automation Assistant Professor
        P P Savani University
        NH 8, GETCO, Near Biltech,
        Village: Dhamdod, Kosamba,
        Dist.Surat - 394125.
        Mobile: +918469351570
        E-Mail: mohan.patel@ppsu.ac.in
        Website: www.ppsu.ac.in

         
        • RolandWagner

          RolandWagner - 2022-01-03

          Good Morning Prof. Patel,

          the User Authentication is an access to the controller which is mandatory since the latest CODESYS Version due to IT security reasons.

          In case you forgot your password please do the following:

          · Stop the SoftPLC with a right click on the icon in the task bar and click on “Stop PLC”

          · You can reset the User Management configuration by removing the user management csv files. In order to do so please open the Windows Explorer (or any other file system) and the directory C:\ProgramData\CODESYS\CODESYSControlWinV3

          · In case you find multiple directories with random numbers (e.g. 11392D7D, 597193B0 etc.) in this directory please select the latest updated directory and open it. Sort the directory by file name extension and select all files with the extensions .csv or .csv_

          · Start the SoftPLC again with a right click on the icon in the task bar and click on “Start PLC”

          · When you scan the SoftPLC and connect it for the first time after the reset you are asked to enter a new User authentication. Please enter an Account name and the according password and save these login credentials for the next access to the SoftPLC.

          This should solve your problem.

          Best regards

          Roland Wagner

          CODESYS Group
          We software Automation.


          CODESYS GmbH
          A member of the CODESYS Group

          Dipl.-Ing. (FH) Roland Wagner | Head of Product Marketing
          Memminger Str. 151 | 87439 Kempten | Germany
          Tel. +49-831-54031-17
          r.wagner@codesys.comr.wagner@codesys.com | codesys.comhttps://www.codesys.com

          CODESYS Store: store.codesys.comhttps://store.codesys.com
          CODESYS Talk: talk.codesys.comhttps://talk.codesys.com
          CODESYS Online Help: help.codesys.comhttps://help.codesys.com

          Geschäftsführer / CEOs: Dipl.-Inf. Dieter Hess, Dipl.-Inf. Manfred Werner
          Handelsregister / Trade register: Kempten HRB 6186 | USt-IDNr. / Tax ID No.: DE 167014915


          Diese E-Mail enthält möglicherweise vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind
          oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
          Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

          This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received
          this e-mail in error, please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure
          or distribution of the material in this e-mail is strictly forbidden.
          Von: Mohan Patel mohan.patel@ppsu.ac.in
          Gesendet: Montag, 3. Januar 2022 05:53
          An: [forge:talk] Engineering@talk.forge.forge.codesys.com; Roland Wagner r.wagner@codesys.com
          Betreff: Re: [forge:talk] unable to connect Raspberry Pi with Codesys

          Good morning Roland Wagner and Team,
          Thank you for your kind support,
          I found a problem about User Authentication while user login, it is giving me wrong used name or password , all time when I tried to login.
          How to create or read User Authentication Name and password.
          In Codesys Control Win V3.
          [image.png]
          [image.png]
          Please help me to resolve this problem.
          Thanks and Regards

          On Wed, Dec 29, 2021 at 3:49 PM Mohan Patel mohan.patel@ppsu.ac.in<mailto:mohan.patel@ppsu.ac.in> wrote:
          Thank you for your kind support,
          I succeeded for configuring Raspberry pi 3b+, I used codesys control for raspberry pi 4.2.0.0
          Codesys V3.5 V17.10 SP 1 - 32 bit system, also installed Codesys edge gateway. I enabled all interfaces in OS. and things got workout.
          Thank you for your kind support.
          I am going to start engineering student training from Saturday 1st JAN2021.
          I will share details of
          Progess.

          On Wed 29 Dec, 2021, 1:16 AM eschwellinger, no-reply@codesys.com<mailto:no-reply@codesys.com> wrote:

          I would use the Gateway on the PI - to scan the plc. ( You have been asked on deploying the runtime if you want to install the EdgeGateway too9
          Add new Gateway with the IP address of your PI and scan the plc that way.


          unable to connect Raspberry Pi with Codesyshttps://forge.codesys.com/forge/talk/Engineering/thread/5038eed7e2/?limit=25#5b1d


          Sent from forge.codesys.comhttp://forge.codesys.com because you indicated interest in https://forge.codesys.com/forge/talk/Engineering/

          To unsubscribe from further messages, please visit https://forge.codesys.com/auth/subscriptions/

          --
          Thanks & Regards

          [https://docs.google.com/uc?export=download&id=1nTNQ3LQ3iJSx2X3kB79nIECOmymloid1&revid=0BxBtg-saSilRck1HMmtBRHp5R0tEYmt1TnllWDY5UlNTQ1BVPQ]

          Mohan Patel

          Head Center for Automation Assistant Professor

          P P Savani University
          NH 8, GETCO, Near Biltech,
          Village: Dhamdod, Kosamba,
          Dist.Surat - 394125.

          Mobile:

          +918469351570

          E-Mail:

          mohan.patel@ppsu.ac.inmohan.patel@ppsu.ac.in

          Website:

          www.ppsu.ac.inhttp://www.ppsu.ac.in/

           
          • mohan1 - 2022-01-04

            Thanks Team Codesys,
            With your guidance I am able to connect with Codesys device.
            Please guide me to connect Arduino Uno with codesys control Win V3 with
            serial port, I am trying to connect but modbus slave bus is not getting
            run.
            Do we need to prepare Arduino in Arduino IDE also ?
            I tried all steps but i am unable to get output on the hardware pin.
            If you can help to resolve this problem,
            I will really appreciate you.
            Thanks

            On Mon, Jan 3, 2022 at 1:23 PM RolandWagner no-reply@codesys.com wrote:

            Good Morning Prof. Patel,

            the User Authentication is an access to the controller which is mandatory
            since the latest CODESYS Version due to IT security reasons.

            In case you forgot your password please do the following:

            · Stop the SoftPLC with a right click on the icon in the task bar and
            click on “Stop PLC”

            · You can reset the User Management configuration by removing the user
            management csv files. In order to do so please open the Windows Explorer
            (or any other file system) and the directory
            C:\ProgramData\CODESYS\CODESYSControlWinV3

            · In case you find multiple directories with random numbers (e.g.
            11392D7D, 597193B0 etc.) in this directory please select the latest updated
            directory and open it. Sort the directory by file name extension and select
            all files with the extensions .csv or .csv_

            · Start the SoftPLC again with a right click on the icon in the task bar
            and click on “Start PLC”

            · When you scan the SoftPLC and connect it for the first time after the
            reset you are asked to enter a new User authentication. Please enter an
            Account name and the according password and save these login credentials
            for the next access to the SoftPLC.

            This should solve your problem.

            Best regards

            Roland Wagner

            CODESYS Group
            We software Automation.


            CODESYS GmbH
            A member of the CODESYS Group

            Dipl.-Ing. (FH) Roland Wagner | Head of Product Marketing
            Memminger Str. 151 | 87439 Kempten | Germany
            Tel. +49-831-54031-17
            r.wagner@codesys.comr.wagner@codesys.com | codesys.com
            https://www.codesys.com

            CODESYS Store: store.codesys.comhttps://store.codesys.com
            CODESYS Talk: talk.codesys.comhttps://talk.codesys.com
            CODESYS Online Help: help.codesys.comhttps://help.codesys.com

            Geschäftsführer / CEOs: Dipl.-Inf. Dieter Hess, Dipl.-Inf. Manfred Werner
            Handelsregister / Trade register: Kempten HRB 6186 | USt-IDNr. / Tax ID
            No.: DE 167014915


            Diese E-Mail enthält möglicherweise vertrauliche und/oder rechtlich
            geschützte Informationen. Wenn Sie nicht der richtige Adressat sind
            oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort
            den Absender und vernichten Sie diese Mail.
            Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist
            nicht gestattet.

            This e-mail may contain confidential and/or privileged information. If you
            are not the intended recipient or have received
            this e-mail in error, please notify the sender immediately and destroy
            this e-mail. Any unauthorized copying, disclosure
            or distribution of the material in this e-mail is strictly forbidden.
            Von: Mohan Patel mohan.patel@ppsu.ac.in
            Gesendet: Montag, 3. Januar 2022 05:53
            An: [forge:talk] Engineering@talk.forge.forge.codesys.com; Roland Wagner
            r.wagner@codesys.com
            Betreff: Re: [forge:talk] unable to connect Raspberry Pi with Codesys

            Good morning Roland Wagner and Team,
            Thank you for your kind support,
            I found a problem about User Authentication while user login, it is giving
            me wrong used name or password , all time when I tried to login.
            How to create or read User Authentication Name and password.
            In Codesys Control Win V3.
            [image.png]
            [image.png]
            Please help me to resolve this problem.
            Thanks and Regards

            On Wed, Dec 29, 2021 at 3:49 PM Mohan Patel
            mohan.patel@ppsu.ac.inmohan.patel@ppsu.ac.in wrote:
            Thank you for your kind support,
            I succeeded for configuring Raspberry pi 3b+, I used codesys control for
            raspberry pi 4.2.0.0
            Codesys V3.5 V17.10 SP 1 - 32 bit system, also installed Codesys edge
            gateway. I enabled all interfaces in OS. and things got workout.
            Thank you for your kind support.
            I am going to start engineering student training from Saturday 1st JAN2021.
            I will share details of
            Progess.

            On Wed 29 Dec, 2021, 1:16 AM eschwellinger,
            no-reply@codesys.comno-reply@codesys.com wrote:

            I would use the Gateway on the PI - to scan the plc. ( You have been asked
            on deploying the runtime if you want to install the EdgeGateway too9
            Add new Gateway with the IP address of your PI and scan the plc that way.


            unable to connect Raspberry Pi with Codesys
            https://forge.codesys.com/forge/talk/Engineering/thread/5038eed7e2/?limit=25#5b1d


            Sent from forge.codesys.comhttp://forge.codesys.com because you indicated
            interest in https://forge.codesys.com/forge/talk/Engineering/

            To unsubscribe from further messages, please visit
            https://forge.codesys.com/auth/subscriptions/

            --
            Thanks & Regards


            https://docs.google.com/uc?export=download&id=1nTNQ3LQ3iJSx2X3kB79nIECOmymloid1&revid=0BxBtg-saSilRck1HMmtBRHp5R0tEYmt1TnllWDY5UlNTQ1BVPQ

            Mohan Patel

            Head Center for Automation Assistant Professor

            P P Savani University
            NH 8, GETCO, Near Biltech,
            Village: Dhamdod, Kosamba,
            Dist.Surat - 394125.

            Mobile:

            +918469351570

            E-Mail:

            mohan.patel@ppsu.ac.inmohan.patel@ppsu.ac.in

            Website:

            www.ppsu.ac.inhttp://www.ppsu.ac.in/

            unable to connect Raspberry Pi with Codesys
            https://forge.codesys.com/forge/talk/Engineering/thread/5038eed7e2/?limit=25#5b1d/6297/873c/403b


            Sent from forge.codesys.com because you indicated interest in
            https://forge.codesys.com/forge/talk/Engineering/

            To unsubscribe from further messages, please visit
            https://forge.codesys.com/auth/subscriptions/

            --
            Thanks & Regards

            Mohan Patel
            Head Center for Automation Assistant Professor
            P P Savani University
            NH 8, GETCO, Near Biltech,
            Village: Dhamdod, Kosamba,
            Dist.Surat - 394125.
            Mobile: +918469351570
            E-Mail: mohan.patel@ppsu.ac.in
            Website: www.ppsu.ac.in

             
  • wollvieh

    wollvieh - 2022-01-03

    Ehr Liewe Leit, vertraulicher Schriftverkehr!

     

Log in to post a comment.