Thursday, April 28, 2011

How to Train Code or Match String with the Cognex Dataman 100 & 200

Train Code or Set Match String for
DataMan 100 and DataMan 200
With a Digital Input

The Train Code and Set Match String functions can be performed using Digital Input 1 on either the DataMan 100 or DataMan 200.  The Train Code function will train a specific symbology and for symbologies where size is relevant (i.e. ECC200) the size will be trained as well.  This helps to reduce the possible symbologies that the reader may look for at a given time which has the result of reducing the overall read time or assures that a specific code in the field of view is read if it is different from the others.

The Set Match String function allows the reader to make the decision of whether or not the appropriate code has been read and output either a pass or a fail.  This is useful if the code to be read should be the same for each code within a batch.



For the DataMan 100 it will be necessary to use an I/O board to access the digital I/O; either the DM100-IOBOX-000 or the DM100-1400-000 will work (see below).




In the DataMan Setup Tool it is necessary to select the function for Input 1.  This is done on the Inputs tab of the Systems Settings as seen below.  Any combination of functions can be set to be performed when input 1 has been enabled.  Training a code is only available when using the Single, Burst, Self or Continuous trigger modes and will not work in the Presentation or Manual trigger modes.



To train the code or any of the other actions available Input 1 must be set high prior to the trigger signal being set high.  When the trigger signal is set high and the code is read, Input 1 can be set low and any functions set to happen with Input 1, will happen.  See the diagram below.



For the DataMan 200 the concept and execution are the same as are settings in the DataMan Setup Tool for training a code, optimizing brightness or setting a match string.  The difference is that the DataMan 200 does not need an I/O board to access the I/O.  The I/O cable that connects to the back of the DataMan 200 provides wires for the trigger signal and the high speed outputs.  To access Input 1 however the RS232 cable is needed.  See the diagrams below.




(AA)




No comments:

Post a Comment