Industrial Automation

    

Blog

The following blog explains how to load job files via Ethernet onto a Vision HAWK or Vision MINI smart camera running Visionscape ®, without using the Visionscape Machine Vision Software. There are two reasons to do this:

  1. If you are loading many different jobs, too many than may fit into the flash memory of the camera, then loading one job directly into running memory makes sense.
  2. However, if you wish to load the camera with a finite number of jobs - such that job switching may be done with the " jobload" command - then loading the job directly into flash memory makes sense.

Loading AVZ files utilizes two communication types - Telnet and FTP. This blog describes the specific steps necessary to load your Visionscape job onto the Vision HAWK or Vision MINI using the Telnet and FTP preinstalled with Windows® 7.

To begin, you need to know the IP address of your Vision HAWK or Vision MINI and have network access to the camera. You'll also need an archived vision job (AVZ) file, which can be created in AutoVISION „¢ or Visionscape FrontRunner software and saved to your PC before you get started. In this example, we're using a Vision HAWK with IP address " 192.168.0.10" with an archived vision job file named " test03.avz" saved to our PC in C:\Microscan\Vscape\Jobs.

In order to use Telnet on Windows 7, Telnet must first be enabled:

  1. Go to Start Menu > Control Panel
  2. Choose " Programs" from category view or " Programs and Features" from icon view
  3. From the left pane, click " Turn Windows features on or off."
  4. Check the box next to " Telnet Client" to enable it.


Next, you'll need to open a Command Prompt:

  1. Go to the Start Menu
  2. Type " Command" in the search field
  3. Click on " Command Prompt" in the search results
  4. In the Command Prompt type and press Enter


The next step creates a temporary drive in memory large enough to hold the AVZ file (the vision job archive file) you will be sending to the camera. In this example the file " test03.avz" is 489 KB, so I'll create a 600 KB drive.

  1. From your Telnet prompt "˜->' type the case-sensitive command . This will return with .


Leave your Telnet session open - you will need to return to this session after the FTP part is completed.

The next phase of the process deals with the FTP protocol.

  1. Open a new Command Prompt
  2. Type and press Enter
  3. At the FTP prompt, enter the login:
    1. as the User
    2. as the Password
  4. Enter the next command set:
    1. <cd "/bind0">

This command set assumes that the AVZ file to be sent resides in the " C:\Microscan\Vscape\Jobs" folder on the PC. If your file location is different, then you need to enter your own file location using the "˜lcd' command.

  1. Quit your FTP session with the command.
  2. Return to your Telnet session that is still open
  3. Enter one of the two commands - either or 



Loading in Running Memory: <LoadAvz "/bind0/test03.avz">

This unzips the AVZ archive file, extracts the AVP job file and associated accessory files, puts them in the correct locations, and loads the Visionscape ® job file into active memory on your camera.

Loading In Flash Memory:   <FlashAvz "/bind0/test03.avz",1>

This loads the file into the non-volatile memory location on your camera that can be recalled via the command interface.

If you use the " FlashAvz" command, the number after the filename (in this case "1") is the slot into which the AVP job file from the AVZ archive file will be stored once extracted. This method takes some time to execute before you receive feedback after the command.


Now you have loaded a Visionscape job onto your camera without having to open the Visionscape software interface. Any questions? Contact us at helpdesk@microscan.com.

Category(s): Solutions & Applications Leave a Comment

Recent Posts


Leave a Comment

Comments

Written by on Reply