Set high to enable triggering with below output. Length of the reault in bytes (ASCII chars) The following modbus channels are relevant for below example:Ĭonsult documentation for further details. Setting up Modbus channels are covered in this article. Other registers may be used depending on barcode reader and complexity of application. Settings below are not crucial, and other might be used.Īccording to Cognex' Communications and Programming Guide, the barcode reader and robot can communicate over Modbus TCP, using the Control (bit) register, Status (bit) register and Output data registers (integers). Setup the barcode reader to communicate over Modbus TCP.Setup the barcode reader to have a static IP-address, and be on the same subnet, as the robot.Barcode reader is trigged by the robot, robot confirms new dataĪlways consult the documentation provided by the vendor of the barcode reader.īelow is only a brief explanation of the settings used for below examples.Barcode reader is auto-triggered, robot waits for new data.The target is to move to different positions, depending on what barcode is read. Note that other makes of barcode readers may behave differently and may not work directly with UR robots. Barcode readers with similar communication capabilities might work similarly.Įxamples have been made using Cognex' software DataMan Setup Tool 5.6.0 SR1. This example uses a Cognex Dataman 260 barcode reader. be used to do different subprograms based on what object the robot is working with, or to pick or place different objects differently. #COGNEX BARCODE GENERATOR HOW TO#This how to uses a barcode to move to different positions, based on what barcode is read.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |