Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 10 of 10

Vision HAWK Smart Camera Guide, pages 91 to 98

Pages 91 to 98 of 98

The original document is the PDF (3.9 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Microscan Vision Hawk

Page 91

JOBINFO [[-slot=]n] [-v] Gets job summary or info about slot n. JOBINFO with no arguments returns a list of all jobs on the device. -v = Verbose n. This option shows the amount of space that would be freed if the job were deleted. It also lists the total disk space and free disk space.

JOBBOOT [-slot=]<n> Sets bootup job slot n (RS-232 only).

JOBDOWNLOAD <-transfer=ymodem> Downloads .avz job packaged via transfer method (RS-232 only).

SET <tagname> <value> Sets value of a global tag. The tagname must correspond to one of the supported tags within the device. The value can contain spaces. The command is terminated by a carriage return and/or line feed character. The value can be a list of comma-separated items to set a sequence of tags: Send SET int1 1, 2, 3 to set int1 = 1, int2 = 2, int3 = 3. The AVP service allows setting of step and datum information from the job tree using forward slash ‘/’ in the symbolic name path. SET avp/insp1/snapshot1/acq1/gain 2.0 paths are not case-sensitive and do not need to be fully qualified if unique. SET avp/acq1/gain 2.0 will set the same gain value if there is only one acquire.

Vision HAWK Smart Camera Guide

E-5

Serial Commands

E

Page 92

Appendix

E

Serial Commands

Control tags in the AVP service such as START, STOP, and TRIGGER act as momentary switches. SET avp.start 1 is equivalent to the ONLINE command. avp.start will reset immediately and always read as 0. Success Return: On success will return !OK followed by an echo of the command. For example: !OK SET matchstring1 Fail Return: On failure will return !ERROR followed by the reason for the failure. For example: !ERROR Tag matchstring66 not found

GET {tagname|service|service.tagname} Gets value of a global tag. The tagname must correspond to one of the supported tags within the device. The command is terminated by a carriage return and/or line feed character. Include an index to get a single value from an array such as GET int1. If the index is omitted, the full array of values will be returned in a commaseparated list of values. Send Get {tagname|service.tagname|service} to get the value of a tag within the global data service. To get the value of a tag within another service, prefix the tagname with the service name. For example, a GET <service.tagname> command such as GET eip.input for the EIP input assembly. The AVP service allows retrieval of step and datum information from the job tree using forward slash ‘/’ in the symbolic name path. GET avp/insp1/snapshot1/status paths are not case-sensitive and do not need to be fully qualified if unique.

E-6

Vision HAWK Smart Camera Guide

Page 93

GET avp/snapshot1/status will return the same result if there is only one inspection. When issued against a step, GET avp/snapshot1 will return the values for all datums. Success Return: On success will return the value stored in the tag. For example: ABCD Fail Return: On failure will return !ERROR followed by the reason for the failure. For example: !ERROR Tag matchstring66 not found

INFO [tagname|service] Gets information about a tag or service. INFO with no arguments gets a list of services. INFO <service> gets a list of tags in that service. INFO <service.tagname> gets attributes of the tag as well as a list of subtags. The AVP service allows retrieval of step and datum information from the job tree using forward slash ‘/’ in the symbolic name path. INFO avp/insp1/snapshot1/status paths are not case-sensitive and do not need to be fully qualified if unique. INFO avp/snapshot1/status will return the same result if there is only one inspection. When issued against a step, INFO avp/snapshot1 returns properties of the step, a list of child datums, and a list of child steps. Child steps are indicated by a trailing forward slash.

Vision HAWK Smart Camera Guide

E-7

Serial Commands

E

Page 94

Appendix

E

Serial Commands

QUERYAUTOCAL Returns photometry settings: Gain, Exposure, and Focus.

AUTOCAL Performs automatic calibration of photometry settings: Gain, Exposure, and Focus.

TARGET {0|1|off|on} Turns targeting LEDs On or Off.

CHECKSUM {BOOT | KERNEL | BOOTPARAM} Gets a checksum on an individual part of the system.

HELP Returns a list of all serial commands showing correct syntax and functionality descriptions.

E-8

Vision HAWK Smart Camera Guide

Page 95

F

APPENDIX F

Vision HAWK Boot Modes

F Vision HAWK Boot Modes

This section describes the Vision HAWK’s Diagnostic Boot Mode and Boot Error Mode.

Vision HAWK Smart Camera Guide

F-1

Page 96

Appendix

F

Vision HAWK Boot Modes

Diagnostic Boot Mode The Vision HAWK supports a special boot mode used for diagnostics and recovery. There are two ways in which the camera can be put into this mode: 1.

This method requires an Ethernet connection between the host PC and Vision HAWK. Power-on the unit and hold the AutoVISION button down until the green flash illuminates once. For C-Mount versions, hold the button down for approximately 30 seconds. The unit is now configured for IP address 192.168.0.10 with subnet mask 255.255.255.0. Establish a telnet connection between the host PC and Vision HAWK. The [SAFE-KERNEL] prompt is displayed.

2.

This method requires a QX-1 and a serial connection between the host PC running a terminal emulator and Vision HAWK camera. Power-on the unit and hold down the Tab key down for several seconds. The unit will boot to a [SAFE-KERNEL] prompt with communication settings of 115200, N, 8, 1 (baud, parity, data bits, stop bits).

Once the unit is booted, there are many possible actions the user can take. However, the most useful actions are listed below. In rare situations, the boot job executed at camera startup can cause unexpected behavior. If this is the suspected case, it is possible to disable loading and running of the boot job at startup using the following command. [SAFE-KERNEL] BP_UpdateStartupOptions(0, 0) Note that the loading and running of the boot job is automatically re-enabled the next time a job is saved to camera flash from AutoVISION or FrontRunner. At boot time, the system configures itself using a set of information known as boot parameters. To obtain a list of the current configuration’s boot parameters, issue the following command: [SAFE-KERNEL] BP_Dump()

F-2

Vision HAWK Smart Camera Guide

Page 97

Should your device need to be configured with different IP information, follow the example below and substitute the appropriate settings for IP address, subnet mask, and gateway address, respectively. [SAFE-KERNEL] BP_UpdateIP(“192.168.0.10”, “255.255.255.0”, “192.168.0.100”) It is possible to configure the system to acquire its IP address via DHCP or to use a static IP address. Issue the following command with a ‘0’ for static IP or a ‘1’ for DHCP. [SAFE-KERNEL] BP_UpdateDHCP(0)

Boot Error Mode The Vision HAWK enters an error mode on boot if it’s unable to fully load Visionscape. This mode is visually displayed to the user by flashing the Error LED along with the OUTPUT 1, OUTPUT 2, and OUTPUT 3 LEDs on the front of the unit. Additionally, this mode is represented as a “BOOT_ERR” in the Network Overview tool.

If you encounter this error condition, you will need to reload the firmware using the Smart Camera Firmware Update Tool.

Vision HAWK Smart Camera Guide

F-3

Vision HAWK Boot Modes

F

Page 98

Appendix

F-4

F

Vision HAWK Boot Modes

Vision HAWK Smart Camera Guide