Command
Command ID
Description
Data Type
Do
Set
Get
BCR inputs
Compare String
11001 The Barcode inspection compare data string. This string must
start and end with the double quote character
Byte Array
Compare Mask
11002 The Barcode inspection compare string mask in binary format;
that is, masked characters are indicated by a "1" and un-
masked characters are "0." Note that the mask character string
must match the length of the compare string
Byte Array
9.2.2 iVu Output Values
Using output values, the following information can be obtained:
• ACK bits (acknowledgement bits) for input commands, including error codes
• System indicators (Ready, Pass/Fail, Read/No Read, Output signals, Command Error, etc.)
• Inspection History (Iteration Count, Pass Count, Fail Count, etc.)
• Current Inspection Results (data of the sensor type contained in the inspection)
• Command Responses
Refer to sections on protocols to get more information.
ACK Flags
For each of the Command Flags there is a corresponding ACK flag. The Vision Sensor sets the ACK flag when the corresponding action
is complete. Command flags cause actions to occur on the low-to-high transition of that flag. You must clear the flag after the corre-
sponding ACK flag has been observed to be high .
As an example, to use the Trigger ACK flag, the programming steps for triggering an inspection would be:
1. Wait for ready.
2. Set Trigger command flag to 1.
3. Wait for Trigger ACK to go to 1.
4. Set Trigger command flag to 0.
Command Responses
Commands executed using command IDs may have a response value. Depending on the Data Type, the response value will be con-
tained in one or multiple registers. Refer to protocol specific sections for more information.
9.3 Sensor Operation
Any Industrial Ethernet protocol can be used to trigger inspections, remote teach and perform command functions. On iVuPlus BCR
models, compare strings can also be set.
9.3.1 General Command Execution
Point of View of PLC
Following rules apply for the usage of input bit commands:
• Only one output bit can be set at a time.
• Corresponding ACK bits are only set high on completion of
the command (if output bit is still high).
iVu Plus BCR User's Manual
102
www.bannerengineering.com - tel: 763-544-3164
Rev. B
Summary of Contents for iVu Plus BCR
Page 1: ...iVu Plus BCR User s Manual Rev B 1 25 2012...
Page 56: ...iVu Plus BCR User s Manual 56 www bannerengineering com tel 763 544 3164 Rev B...
Page 64: ...iVu Plus BCR User s Manual 64 www bannerengineering com tel 763 544 3164 Rev B...
Page 104: ...iVu Plus BCR User s Manual 104 www bannerengineering com tel 763 544 3164 Rev B...