Jump to content

Recommended Posts

Posted

Hello,

I'm looking for sample program to communicate Cognex DataMan 262Q, now i have connecting by Tags, 496 bytes input/output, but in manual i see :

 

dataman_1.png

dataman_2.png


Posted

I'm not familiar with that Cognex scanner, but the I/O mapping looks pretty much identical to a DM60.  Here is a quick example project showing a structure and the variables to communicate to a DM60.  There is no actual programming in it, just the communication setup; but there really isn't much to programming for these things.  The data from the scanner comes in as a string, and then you turn on the acknowledge bit once you've moved the string into a permanent data area.

Dataman Structure.pdf

Cognex Example.smc2

Posted

You have to use the Result Data to do that.  You would have to map the X and Y values of the inspection that you are performing into a Result Data field in Cognex.  Make sure to select matching formats (REAL, INT, etc) on both sides (Cognex and Omron).  You will have to change the structure on the Omron side to match the data type.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...