background image

3. Trigger the sensor.

>> 

 

do trigger

\x0D\x0A

<< 

 OK\x0D\x0A

4. Check that the inspection passed.

>> 

 

get inspection status

\x0D\x0A

<< 

 OK\x0D\x0A

<< 

 Pass\x0D\x0A

5. Get the barcode data read by the iVu sensor.

>> 

 

get bcr_result data

\x0D\x0A

<< 

 OK\x0D\x0A

<< 

 "0043000011201"\x0D\x0A

3.4 iVu Plus Command Channel Reference

3.4 Info Command Group

Command

Group

Item

Description

Get

Info

CompanyName

The company name as a string.

Get

Info

ModelNumber

The sensor model number as a
string.

Get

Info

FirmwareVersion

The sensor firmware version as
a string.

Get

Info

SerialNumber

The sensor serial number as a
string.

Get

Info

Name

The sensor name as a string.

Get

Info

BootNumber

The number of sensor bootups

Get

Info

UpTimer

The elapsed time the sensor
has been running in the format
hh:mm:ss:msec.

Get

Info

HourCount

The number of hours the sensor
has been running.

Get

Info

RemoteConnected

The remote display connected
status as a boolean value (true
or false)

Get

Info

RemoteModelNumber

The model number of the re-
mote display as a string.

Get

Info

RemoteSerialNumber

The serial number of the remote
display as a string.

 

 

iVu Plus BCR Communications User's Guide

24

www.bannerengineering.com - tel: 763-544-3164

Online Only - rev. A

Содержание iVu Plus

Страница 1: ...iVu Plus BCR Communications User s Guide Online Only rev A 1 7 2011...

Страница 2: ...n for Testing RS 232 Communications 17 2 3 2 Using the iVu Command Channel Sample Application or a Terminal Program for Testing 18 2 3 3 Verifying Basic Receive Functionality 18 3 Command Channel Prim...

Страница 3: ...a remote device Image Export used to export inspection images to a remote device Data export and command channel can be configured for either Ethernet or Serial I O but not both image export is only...

Страница 4: ...face to execute commands In a production environment you will need to create your own application for bi directional communication with the sensor 1 1 3 Data Export The iVu Plus sensor provides for ex...

Страница 5: ...ach exported image is comprised of a header 64 bytes followed by the image data approximately All 16 and 32 bit numeric entries are little endian The header includes the following information NOTE If...

Страница 6: ...right click on Properties 3 In the dialog click on Internet Protocol TCP IP and click the Properties button 1 Open Network Connections by clicking on the Start button then selecting the Control Panel...

Страница 7: ...Internet Protocol TCP IPv4 Properties dialog se lect Use the following IP address and make sure that the IP address is 192 168 0 2 and the subnet mask is 255 255 255 0 On the iVu sensor 1 Go to Main...

Страница 8: ...ns Command Channel Connection and select Ethernet IP Port 32000 b Configure the field and end of frame delimiters Go to Main Menu System Communications Command Channel Delimiters iVu Plus BCR Communic...

Страница 9: ...the iVu receives and transmits data correctly 3 To enable Data Export over Ethernet a Go to Main Menu System Communications Data Export Connection and select Serial I O from the drop down iVu Plus BCR...

Страница 10: ...a to export c Go to Main Menu System Communications Data Export Output Format and select the Start String Delimiter and End String d Go to Main Menu System Communications Data Export Advanced iVu Plus...

Страница 11: ...he current inspection is complete In this case the discarded frames will not be trans mitted Communications Channel Ports The following are the default Ethernet port settings for the communications ch...

Страница 12: ...n Menu System Communications Command Channel Delimiters Valid end of frame delimiters are comma colon semicolon CR CR LF LF CR or ETX c Optionally if you want to trigger the iVu from the control devic...

Страница 13: ...4 To enable Data Export over the serial connection a Go to Main Menu System Communications Data Export Connection and select Serial I O from the drop down iVu Plus BCR Communications User s Guide Onli...

Страница 14: ...a to export c Go to Main Menu System Communications Data Export Output Format and select the Start String Delimiter and End String d Go to Main Menu System Communications Data Export Advanced iVu Plus...

Страница 15: ...d READY to ensure that all frames are transmitted In this case the READY signal will remain inactive sensor is busy until the new frame has been added to the channel for transmission Triggers might be...

Страница 16: ...Port opened Port closed Indicates that the command has been processed without errors Indicates that the incoming entry is stalled no new bytes or end of frame delimiter was not re ceived or client is...

Страница 17: ...can be useful for debugging issues such as improper wiring mismatched baud rates or other serial I O issues To access the Port Status screen go to Main Menu System Communications Serial I O and click...

Страница 18: ...CD or to use a terminal program running on a PC If using a terminal program in the terminal program s configuration Set new line transmit to CR LF and set the end of frame delimiters on the iVu to mat...

Страница 19: ...ny or too few then the port settings for example baud rate are likely mismatched in a way that does not generate serial hardware errors Verify the settings on both devices match exactly Verifying Basi...

Страница 20: ...th devices match exactly If no bytes are received re check the wiring If the correct response frame is received then basic electrical and port settings are correct iVu Plus BCR Communications User s G...

Страница 21: ...EOF Identifies the end of frame for the command so that the iVu knows to begin processing The iVu will return a response that includes the end of frame delimiter The options for the EOF are set in the...

Страница 22: ...For example do trigger x0D x0A OK x0D x0A Get commands All get commands are followed by two responses the first identifies the status of the command and the second contains the retrieved information...

Страница 23: ...le 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...

Страница 24: ...are version as a string Get Info SerialNumber The sensor serial number as a string Get Info Name The sensor name as a string Get Info BootNumber The number of sensor bootups Get Info UpTimer The elaps...

Страница 25: ...d Should be used sparing ly Examples do system save x0D x0A OK x0D x0A 3 4 Status Command Group Command Group Item Description Get Status Ready Flag indicating whether the sys tem is ready to trigger...

Страница 26: ...y The Save op eration is required to persist this value Do Trigger Immediate This command initiates a single trigger and inspection The sen sor does not transmit a re sponse until the sensor has compl...

Страница 27: ...all image pixels This value can be modi fied using the sensor s touchscreen This remotely modified value is not persisted to the sensors permanent mem ory The Save operation is re quired to persist th...

Страница 28: ...creen Examples do teach x0D x0A OK x0D x0A 3 4 ProductChange Command Group Command Group Item Description Do ProductChange Name Forces the sensor to switch to the specified inspection The sensor does...

Страница 29: ...s the starting frame number for the active in spection This value is cleared reset whenever history is cleared This value is cleared reset when the device starts up or is rebooted Get History EndFrame...

Страница 30: ...he active inspection This value is cleared reset whenev er history is cleared This value is cleared reset when the de vice starts up or is rebooted Do History Clear This command clears all history fie...

Страница 31: ...remote ly modified value is not persis ted to the sensors permanent memory The Save operation is required to persist this value Set BCR_INPUT CompareData The Barcode inspection com pare data string Th...

Страница 32: ...n is required to persist this value Examples 3 4 BCR_RESULT Command Group Command Group Item Description Get BCR_RESULT Count The total number of barcodes found The most recent inspec tion value is us...

Страница 33: ...uments and an end of frame delim iter 10001 COMMAND_NOT_RECOGNIZED The command specified is not recognized 10100 GROUP_MISSING A Group ID must be specified immediately after the command 10101 GROUP_NO...

Страница 34: ...when decoder has timed out 20001 NO_BARCODES_FOUND Attempt to obtain Barcode result data when no barcodes were found 20002 COMPARE_DATA_DISABLED Operation requires Barcode compare to be enabled 20003...

Страница 35: ...Text ID Description 80200 SYSTEM_ERROR_NOT_ACTIVE The System Error must be active to exe cute this command iVu Plus BCR Communications User s Guide Online Only rev A www bannerengineering com tel 763...

Страница 36: ...export 3 data export log 16 data export sample application 5 E Ethernet 3 ethernet communications 6 I image export 3 5 image export sample application 5 info command group 24 inspection command group...

Отзывы: