Command Channel Command Status
The command status is either OK or ERROR. If OK, then the command has fully and successfully completed. If an error is returned it is in
the form ERROR nnnnn_ERROR_IDENTIFIER (for example ERROR 10001_COMMAND_NOT_RECOGNIZED). Refer to
Command
Channel Error Codes
on page 97 for a list of errors.
8.2 Conventions Used for Examples
There are a number of command channel examples included here, and the following are the conventions used in the examples:
• All examples use <CR><LF> for the end-of-frame delimiter, and this delimiter is always denoted in hex (\x0D\x0A) since that is what
is displayed in the iVu logs and, for example, the Port Status screen.
• All commands are in bold text.
• For each example, a command request to the iVu sensor is prefaced with a >>, and a command response frame from the iVu sensor
is prefaced by a << as shown below. These are only used to make the documentation clearer.
>>
get info companyname
\x0D\x0A
<<
OK\x0D\x0A
<<
"Banner Engineering Corp."\x0D\x0A
8.3 Examples
8.3.1 Example 1: How to Trigger the Sensor and Retrieve Barcode Data using the Com-
mand Channel
To trigger the sensor and retrieve barcode data, do the following
1. Set Trigger to Command. Go to the Main Menu > Imager > Trigger screen, and from the drop-down select Command
2. Issue a trigger command as follows:
>>
do trigger
\x0D\x0A
<<
OK\x0D\x0A
3. Check that the inspection passed.
>>
get inspection status
\x0D\x0A
<<
OK\x0D\x0A
<<
Pass\x0D\x0A
4. Get the barcode data read by the iVu sensor.
>>
get bcr_result
\x0D\x0A
<<
OK\x0D\x0A
<<
"0043000011201"x0D\x0A
8.3.2 Example 2: How to Modify Barcode Compare Data Using the Command Channel
1. Set Trigger to Command. Go to the Main Menu > Imager > Trigger screen, and from the drop-down select Command
iVu Plus BCR User's Manual
86
www.bannerengineering.com - tel: 763-544-3164
Rev. B
Содержание iVu Plus BCR
Страница 1: ...iVu Plus BCR User s Manual Rev B 1 25 2012...
Страница 56: ...iVu Plus BCR User s Manual 56 www bannerengineering com tel 763 544 3164 Rev B...
Страница 58: ...Main Menu Imager Exposure iVu Plus BCR User s Manual 58 www bannerengineering com tel 763 544 3164 Rev B...
Страница 64: ...iVu Plus BCR User s Manual 64 www bannerengineering com tel 763 544 3164 Rev B...
Страница 104: ...iVu Plus BCR User s Manual 104 www bannerengineering com tel 763 544 3164 Rev B...
Страница 105: ...2 Select Module iVu Plus BCR User s Manual Rev B www bannerengineering com tel 763 544 3164 105...
Страница 155: ...T Touchscreen Calibration 34 U USB loading from 24 saving to 24 Rev B www bannerengineering com tel 763 544 3164 155...