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

PROFINET CODESYS

2016-10-15
2016-10-17
  • victorlopezdiaz - 2016-10-15

    Hello,

    I'm traying to connect with a cognex camera with a profinet protocol. Then when I'm going to create a PN_Controler this don't start....

    How can i do this, HELP!!!!!!!

    IMG: foto.jpg

     
  • eschwellinger

    eschwellinger - 2016-10-15

    Hi,
    1. you need to install winpcap (winpcap.org)
    2. disable the windowsfirewall
    3. install the slave gsdml... for the cognex camera into the device repository in CODESYS
    4. Download the project and start it ... rightclick PN controller in the device tree - scan devices
    This scan should show the cam ... give station name and ip. Add it to the project by this scan dialog
    Now a new download ist needed...(maybe after you have added some io varable mapping)

    BR
    Edwin

     
  • victorlopezdiaz - 2016-10-17

    Edwin Schwellinger hat geschrieben:
    Hi,
    1. you need to install winpcap (winpcap.org)
    2. disable the windowsfirewall
    3. install the slave gsdml... for the cognex camera into the device repository in CODESYS
    4. Download the project and start it ... rightclick PN controller in the device tree - scan devices
    This scan should show the cam ... give station name and ip. Add it to the project by this scan dialog
    Now a new download ist needed...(maybe after you have added some io varable mapping)
    BR
    Edwin

    Thanks, Now I can run the profinet bus, and also i see the profinet device.

    One thing more, if i want do the same project with a rapsberry pi, the equals of wincamp to raspberry, which is it?

    Best regards

     
  • eschwellinger

    eschwellinger - 2016-10-17

    Hi,
    no on raspberry pi nothing extra is needed... just connect to the pi, browse eth0,eth1 and set the ip of the master
    download - run -scan the slaves.
    BR
    Edwin

     
  • victorlopezdiaz - 2016-10-17

    Edwin Schwellinger hat geschrieben:
    Hi,
    no on raspberry pi nothing extra is needed... just connect to the pi, browse eth0,eth1 and set the ip of the master
    download - run -scan the slaves.
    BR
    Edwin

    Thank you!!!

     

Log in to post a comment.