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

Register driver in devices ("no driver found")

Paulj
2015-08-21
2016-08-02
  • Paulj - 2015-08-21

    Im writing a IO Driver for Codesys which is supposed to support EtherCAT devices. In my device description I have the following line:

    <Connector moduleType="40100" interface="Common.Ethercat" role="parent" explicit="false" connectorId="2" hostpath="1">
    

    Which allows me to add EtherCAT devices to my IO Driver.
    But when I run this Program I get an error on each Device which states "No driver found" (stays the same error wether in stop or in running mode).
    I think my problem lies within the regestration of the driver in each device.

    Can someone tell me how to correctly register a driver instance in different devices?

    here is an image showing the structure of my project and the resulting error message:

    IMG: Bild

     
  • zahoorahmed - 2016-08-02

    Paulj hat geschrieben:
    Im writing a IO Driver for Codesys which is supposed to support EtherCAT devices. In my device description I have the following line:

    <Connector moduleType="40100" interface="Common.Ethercat" role="parent" explicit="false" connectorId="2" hostpath="1">
    

    Which allows me to add EtherCAT devices to my IO Driver.
    But when I run this Program I get an error on each Device which states "No driver found" (stays the same error wether in stop or in running mode).
    I think my problem lies within the regestration of the driver in each device.
    Can someone tell me how to correctly register a driver instance in different devices?
    here is an image showing the structure of my project and the resulting error message:

    Hello,

    I have a similar problem. How did you solve this problem?

    Thank you
    Zahoor

    IMG: Bild

     

Log in to post a comment.