CoDeSys WinV3 & EtherCAT

Mouse
2011-09-07
2011-09-08
  • Mouse - 2011-09-07

    Hello everybody! Can you help me?

    I'd like to launch the EtherCAT bus on the WinV3 RTS via normal Ethernet on my notebook.
    What i have done for it:

    0) read documentation
    1) downloaded and installed winPcap
    2) added entry to the .cfg file - Component.2=SysEthernet
    3) launched WinV3 (stopped it before)
    and i got the log:

    1315393824: Cmp=CM, Class=1, Error=0, Info=34, pszInfo= CoDeSys Control ready
    1315393824: Cmp=SysEthernet, Class=4, Error=0, Info=0, pszInfo=**** DrvEtherCat:
    error retrieving/comparing the MAC address of the adapter!
    1315393824: Cmp=SysEthernet, Class=4, Error=0, Info=0, pszInfo=**** DrvEtherCat:
    Β Did not find Network Adapter with Mac Adr 00:00:00:00:00:00!
    1315393824: Cmp=IoDrvEtherCAT, Class=1, Error=0, Info=0, pszInfo= Networkadapter
    Β could not be opened
    1315393824: Cmp=IoDrvEtherCAT, Class=1, Error=0, Info=0, pszInfo= Error: Prepara
    tion was not successfull
    1315393825: Cmp=CmpRouter, Class=1, Error=0, Info=1, pszInfo= Setting router <in
    stance>2</instance> address to <address>(0108:0001)</address>
    

    EtherCAT Master doesn't see any slave.

    what have i missed?

    Thank's

     
  • TimvH

    TimvH - 2011-09-07

    It is advised to use the latest version of CoDeSys (at the moment 3.4.4.0).
    Make sure your V3 Control Win is running.
    Double click on your device, scan the network and set your Win PLC as active path.

    Now go to the EtherCAT adapter and choose the correct MAC ID (it should show at least one).
    After you have set this correctly you should be able to find them.

     
  • Mouse - 2011-09-08

    TimvH hat geschrieben:
    ...
    Now go to the EtherCAT adapter and choose the correct MAC ID (it should show at least one).
    After you have set this correctly you should be able to find them.

    Thank you very much! the key word was correct MAC ID. i chose not correct one how could't i notice it before? i don't know. i've fixed it and it works now.

    But still launching WinV3 gives the same log with full zeros of MAC ID. i don't know it is right or not but it works

    thanks!

     

Log in to post a comment.