Posted 9 Nov 2018 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 : Share this post Link to post Share on other sites
Posted 29 Nov 2018 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 Share this post Link to post Share on other sites
Posted 12 Sep 2019 Did you get reading X Y co-ordinates of the object to the plc? Share this post Link to post Share on other sites
Posted 12 Sep 2019 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. Share this post Link to post Share on other sites