Network adapter couldn't be opened/find

fries
2022-02-24
2023-07-18
  • fries - 2022-02-24

    Hi there,

    For a schoolproject i need to use CODESYS (i never used it beforehand).

    I'm currently struggeling with my gateway, for some reason it can't be found neither the list of al the adapters (as notificated by the log of the softPLC). Because of that scanning in the ethercad master, to find the underlaying hardware is impossible.

    I have already installed the soft-PLC with 'CODESYS Controle WIN 64x'-tool and made a simpelistic POU with one boolean. The login and download succeeded without problems (for so far i know).

    I already tried the tips form this thread without succes: https://forge.codesys.com/forge/talk/Engineering/thread/03af9426eb/

    The IP/TCP driver from my network adapter is activated so i assume ethernet communication over this port is possible.

    Kind regards,
    Fries

     
  • eschwellinger

    eschwellinger - 2022-02-24

    the only important thing is this hint:

    Install Winpcap "The last official WinPcap release was 4.1.3"
    https://www.winpcap.org/install/default.htm

    no npacp -> this does not work!
    no Win10Pcap -> this does not work either!
    then it will work, I'm sure!
    
     

    Last edit: eschwellinger 2022-02-24
  • fries - 2022-02-25

    When i run that setup (as administrator), a notification pops up (see screenshot in attachment). It looks like the PC already has the WinPcap software in a newer version or isn't this the right version?

     
  • eschwellinger

    eschwellinger - 2022-02-25

    uninstall your 5..x version and please use 4.1.3 this is mandatory to do.

     
  • anhkdv - 2023-07-17

    Hi Edwin
    I'm using
    -Codesys Control Win 3.5.8.40 on WIN10
    -Network Adapter Intel(R) Ethernet Controller(3) I225-V for Ethercat Master.
    -Slave is Omron Ethercat G5 Servo Drive

    I also follow the tip
    https://forge.codesys.com/forge/talk/Engineering/thread/03af9426eb/
    and Install WinPcap 4.1.3
    I don't know where to modify CODESYSControl.cfg in Codesys Control Win 3.5.8.40

    But it was not a success. I don't know what is the problem. Could you please check my problems?

    Best Regard

     

    Last edit: anhkdv 2023-07-17
  • eschwellinger

    eschwellinger - 2023-07-17

    no need to add anything in CODESYSContro.cfg (Communication already works - just waiting for dc sysnc state 80)
    the remaining problem is - that Control Win is not capable for SoftMotion & Ethercat with distributed clocks enabled.
    I would switch to Control RTE (latest version) as Target plc system.

     
  • anhkdv - 2023-07-17

    Hi Edwin. Thank for your prompt feedback
    But if I change to Control RTE. Do I need to change the hardware also?
    Currently I'm using the normal IPC for controller hardware

     
  • anhkdv - 2023-07-17
     

    Last edit: anhkdv 2023-07-17
  • eschwellinger

    eschwellinger - 2023-07-17

    Guess not there should be a network card which is capabale for using with Control RTE ( Intel chipset etc)
    in that case you need to install a CODESYS driver unter windows for the networkcard which should do the Ethercat communication..

     
  • anhkdv - 2023-07-17

    Hi Edwin.
    Let me change to Control RTE and inform you result

     
  • anhkdv - 2023-07-18

    Hi Edwin
    I changed to Control RTE and It works now.

    But now I have another problem.
    I want to control Ethercat Multi-Axis Servo from Syntec Manufacturer.
    Codesys Library didn't support this kind of Drive yet. I have imported the ESI File of this Drive and tried to run it. But it has many error occur

    <Entry severity="error" component="IoDrvEtherCAT" user="nobody" timestamp="7/18/2023 8:42:30 AM" infoId="0">AL Status read from slave address 1002 status 16#1B : Sync manager watchdog</Entry>
    <Entry severity="error" component="IoDrvEtherCAT" user="nobody" timestamp="7/18/2023 8:42:30 AM" infoId="0">AL Status read from slave address 1002 status 16#1A : Synchronization error</Entry>
    

    Do you have any solution for this one. Please help me

    Thank you

     

    Last edit: anhkdv 2023-07-18

Log in to post a comment.