Eric142 (Customer) asked a question.

How to send and receive information to a Keyence camera using ethernet/ip

I am trying to set-up a BRX plc to communicate with a Keyence model VS camera through the Eithernet/IP server. I am not finding any information on how to do this, and ADC support says I need to "Create a Simple Data Block" but I have had no experience using Ethernet/IP it appears to be more difficult then I expected.

 

Anyone here able to help?

 

Thank you,

Eric


  • ADC Community_04 (AutomationDirect)

    That generic error is what I would expect to see with no communication at all. Incorrect IP address settings, no response from the adapter. Verify the PLC and camera are on the same subnet. There is a PING instruction in the Domore you can use to test if the camera will at least respond to a ping request from the PLC.

    I believe those vision systems need to be configured and have the EtherNet/IP settings enabled before using but am not familiar with that side of it. That would be a question for Keyence.

    Expand Post
    Selected as Best
  • ADC Community_04 (AutomationDirect)

    We have a video that walks through manually setting up an EtherNet/IP scanner in a BRX. You should give it a watch.

    https://www.automationdirect.com/videos/video?videoToPlay=SybYgXfT1cg&cat1=1&cat2=2&cat3=3

     

    If you have an EDS file for the camera, you can select "Add Adapter with EDS", then, when adding the adapter, choose one of the class1 connections from the eds for the I/O messages. Then the Input/Output connection point and block sizes will be filled out for you.

     

    If this doesn't move you forward, please explain what part you are getting stuck at.

    Maybe show what you have?

    Expand Post
    • Eric142 (Customer)

      This is what I see on the Ethernet/IP Scanner Monitor after setting up the scanner. And the settings I have for the scanner. Pretty much followed what was in the video. I am able to set the camera to send data manually for testing the connection but not sure how much that will help with the Scanner showing an error. I am going to contact Keyence as well about settings that the camera might require for making the connection.

       

      Is there a document that has a description of what the .MSGError means? 00000001

      PLC ErrorScanner settings 

      Thank you,

      Eric

      Expand Post
  • ADC Community_04 (AutomationDirect)

    That generic error is what I would expect to see with no communication at all. Incorrect IP address settings, no response from the adapter. Verify the PLC and camera are on the same subnet. There is a PING instruction in the Domore you can use to test if the camera will at least respond to a ping request from the PLC.

    I believe those vision systems need to be configured and have the EtherNet/IP settings enabled before using but am not familiar with that side of it. That would be a question for Keyence.

    Expand Post
    Selected as Best
    • Eric142 (Customer)

      Thanks for the help,

       

      After getting the connection point address from Keyence, and and using the simple data block choice for the data I am communicating. I am receiving and sending data now to/from the camera.

      Thanks again.

      Eric

       

      Expand Post
  • ADC Community_04 (AutomationDirect)

    Glad you got it communicating. Thank you for the follow up.