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

The text of a manual · part 35 of 42

Bulletin 5370 CVIM Configurable Vision Input Module User Manual: 10 - Runtime Functions, pages 325 to 332

Pages 325 to 332 of 390, from Bulletin 5370 CVIM Configurable Vision Input Module User Manual

The original document is the PDF (26 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 Allen-Bradley 5370-CVIM

Page 325

70 Run time Functions

Chapter

Chapter Objectives

This chapter shows you how to select and use the runtime functions in the Exit popup menu. This menu appears when you pick the Exit menu box in the Main Configuration menu.

Run time Functions: Overview

The term “runtime functions” refers to the tasks that relate directly to the run mode -the mode during which the CVIM system performs inspections and reports inspection results. Runtime functions include these main tasks: l Initializing the counters, output lines, freeze and halt functions, and operating mode. l Arming a freeze or halt function.

the tool set and display that will appear when run mode begins. l Selecting l Selecting operation.

the run mode itself-this enables an inspection

All of these functions are in the Exit popup menu, which you can access after picking the Exit menu box in the Main Configuration menu.

Using Runthe

This remainder of this chapter shows you the details of selecting and using the runtime functions.

Functions

You will pick the Exit menu box in the Main Configuration menu, then select one of the runtime functions.

Selecting Exit Popup Menu

Your first step is to select the Exit popup menu.

Your Action

Comments

Pick Exit in the Main Configuration menu.

,-

When you pick the Exit menu box, the Exit popup menu appears above the Main Configuration menu, as follows:

IRuntime Init.

0.0

Runtime

..a

Env.

Camera A

I

Ref. Line

Ref. Win

Gage

Window

Mist

-&t:.i

The menu boxes correspond to the functions described in the overview: Runtime Init., Runtime Arm, Runtime Display, and Runtime.

Page 326

Chapter 10

Runtime functions

10-2

Selecting Runtime Init. Popup Menu

Select the Runtime init. popupmenu, then select the appropriate runtime initialization function. Comments

Your Action Pick the Runtime Init. menu box in the Exit popup menu.

When you pick the Runtime Init. menu box, the Runtime Init. popup menu appears above the Exit popup menu, as follows:

Halt:

Disabled

Freeze: Outputs: Mode:

Disabled Disabled Learn

Reset Counters -. Runtime

0.0

Arm

~1

I

Env.

Camera A

Ref. Line

Ref. Win

Gage

Window

From the top down, these are the initialization the Runtime Init. popup menu:

Mist functions in

When you pick this menu box, you can configure the statistics pages (Stat. Page 1 and Stat. Page 2) to display the accumulated inspection results from a specified number of sample inspections. l Stat. Samples:

For example, if you specify “50,” the statistics pages will display the accumulated inspection results for each series of 50 inspections. The statistics pages will be updated at the end of each series of 50 inspections, but they will display only the results accumulated from the immediately preceding series of 50 inspections. l Disp. Windows: When you pick this menu box, you can specify the number of windows whose inspection results are to be displayed in the Results Page and in Stat. Page 1.

0 Disp. Gages: When you pick this menu box, you can specify the number of gages whose inspection results are to be displayed in the Results Page and in Stat. Page 1.

Page 327

Chapter 10

Runtime Functions 70-3

Selecting POpup

Runtime

A&nu

Init.

(continued)

Comments

Your Action

When you pick this menu box, you either enable or disable displaying the light probe data in the Results Page and in Stat Page 1. The Disp Probe status is either Enabled or Disabled.

l Disp Pro be:

When you pick this menu box, you either enable or disable the halt-on-reject function during the run mode. When armed, this function causes the CVIM system to freeze the last image and haltinspection operations upon detecting any reject condition. (You can resume inspection operations by picking the Resume menu box in the runtime menu.) The Halt status is either Enabled or Disabled. l Halt:

l Freeze: When you pick this menu box, you either enable or disable the three “freeze” functions during the run mode. When armed, these functions cause the CVIM system to freeze the lust image when the selected freeze condition is met. The system continues inspection operations. (You can resume live image displays by picking the Resume menu box in the runtime menu.) The Freeze status is either Enabled or Disabled.

These are the three freeze conditions: Freeze on first reject, freeze on all rejects, and freeze on the next inspection. When you pick this menu box, you either enable or disable signal outputs to the discrete output lines. This function determines whether or not the CVIM system can send signals to the assigned output lines. The Outputs status is either Enabled or Disabled. l Outputs:

When you pick this menu box, you select either the standard operating mode or the learn operating mode.

l Mode:

The main difference is this: When the CVIM system is in the learn operating mode, it gathers statistical information from each inspection cycle. You can use these statistics during configuration to help you determine tool range parameters and analyze system operation. During the run mode, you can watch these statistics accumulate in real time on one of the statistics display “pages.” Using the learn mode increases processing time slightly. In the standard operating mode, the system does not accumulate and display statistics. It does, however, display inspection results. When you pick this menu box prior to starting the run mode, the statistical and pass/fail counters are reset, along with the values in the statistics displays.

l Reset Counters:

In the next several steps, configure the status of each Runtime Init. function according to your needs.

Page 328

Chapter 10

Run time Functions

IO-4

Selecting Runtime Init. Menu (continued)

Popup

Selecting Halt Status The halt status determines whether the halt-on-reject function can be armed to halt an inspection operation when a reject condition (that is, an inspection failure) occurs from any cause. Note that after you set the Halt status to enable, you must arm the halt-on-reject function, using the Runtime Arm popup menu or the Arm menu box in the Run Mode menu. This is described later. Comments

Your Action Look the Halt lt2enu box.

The Halt menu box shows the current status of the halt function: Enabled or Disabled.

Pick the Halt menu box, if appropriate.

If you need to change the Halt status from Ena bled to Disabled, or vice versa, pick the Halt menu box once. (If you pick this box repeatedly, the status will toggle between Enabled and Disabled.) Selecting Freeze Status The freeze status determines whether the freeze functions can be armed to freeze an image when one of the three freeze conditions is met. In all cases, inspection operations will continue.

-

The three freeze conditions are these: l Freeze on 1st reject -The screen image will freeze when the first reject-causing condition occurs (such as a window pixel count being outside range limits). l Freeze on all rejects - The screen image will freeze whenever a reject-causing condition occurs. The frozen image will remain until the next reject condition occurs.

l Freeze on the next inspection - The screen image will freeze after the next inspection cycle, regardless of whether a reject-causing condition has occurred. The frozen image will remain until you pick the Resume or Go on Reject menu box, or pick another freeze function.

Note that after you set the Freeze status to enabZe, you must arm the specific freeze function, using the Runtime Arm popup menu or the Arm menu box in the Run Mode menu. This is described later. Your Action

Comments

Look at the Freeze menu box.

The Freeze menu box, shows the current status of the freeze function: Ena bled or Disabled.

Pick the Freeze menu box, if appropriate.

If you need to than e the current status of the freeze functions from Ena %led to Disabled, or vice versa, pick the Freeze menu box once. (If you pick this box repeatedly, the status will toggle between Enabled and Disabled.)

-

Page 329

Chapter 10

RontimeFunctions 10-S

Selectring Runtime Init. Popup Menu (continued)

Selecting Output Line Status The output line status determines whether the 14 discrete output lines are enabled or disabled for sending signals to your production equipment. When the output lines are enabled and the CVIM system is performing inspections, the signal that appears on any particular output line depends on both the inspection results and the function you assigned to that line.

A

Your Action Look at the Outputs menu box. Pick the Outputs menu box, if appropriate.

t 0

WARNING: The output lines should not be enabled or connected to your production equipment while you are developing and testing your CVIM configurations. Otherwise, an unpredictable and possibly dangerous reaction in your equipment may cause injury to personnel.

Comments The Outputs menu box shows the current status of the output-line function: Enabled or Disabled. If you need to change the current status of the output-line function from Enabled to Disabled, or vice versa, pick the Outputs menu box once. (If you pick this box repeatedly, the status will toggle between Enabled and Disabled.)

Selecting Operating

Mode Status

The operating mode status determines whether the CVIM system will operate in the learn operating mode or the standard operating mode. The main difference is that in the learning mode the system accumulates and displays statistics on the basis of inspection results. You can use these statistics during configuration for setting tool range limits. In the standard mode, the CVIM system does not accumulate and display statistics. You would normally operate the system in this mode after configuration is complete and the system is in production use. Your Action Look at the Mode menu box. Pick the Mode menu box, if appropriate.

Comments The Mode menu box shows the current status of the CVIMsystem operating mode. If you need to change the system operating mode from Standard to Learn, or vice versa, pick the Mode menu box once. (If you ick this box repeatedly, the status will toggle between Enapbled and Disabled.)

Page 330

Chapter

10

Runtime

Functions

10-6

Selecting Runtime Init. Popup Menu (continued)

Selecting

-

Reset Counters function

The Reset Counters function resets the counters and other data in the Results, Stat Page 1, and Stat Page 2 display pages, which are described later in this chapter. It also resets the data in all of the inspection statistics table for each inspection tool (these tables appear when you assign range limits and output lines). Note that the CVIM system tabulates and displays statistics only when it is in the learn operating mode.

Your Action

Comments

Pick the Reset Counters menu box, if appropriate.

When you pick Reset Counters, the counters and data in the tables are reset to zeros.

Selecting Runtime Arm Popup Menu

Select the Runtime Arm popup menu, then select the appropriate halt or freeze function to be “armed” during run mode operations. The main function of the Runtime Arm popup menu is to enable you to “arm” the halt or freeze function that you enabled in the Runtime Init. popup menu.

Your Action

Comments

Pick the Runtime Arm menu box in the Exit popup menu.

When you pick the Runtime Arm menu box, the Runtime Arm popup menu appears above the Exit popup menu, as follows: 0 Go on Reject

I

I0 Halt on Reject ---I Runtime

Env.

Init.

Camera A

Ref. Line

Ref. Win

Gage

Window

Mist i’f$t&+ .;:i

Note that the Freeze All Rejs box in the menu is shaded and has a filled square (0). This indicates that for any reject that occurs during runmode operations, the image with the rejectcausing condition will “freeze,” but inspections will continue.

-

Page 331

Chapter 10

Runtime Functions 70-7

Selecting POpup

Runtime

Menu

Arm

(continued)

Comments

Your Action

You can arm a freeze or halt function only if you enabled it in the Runtime init. popup menu.

Pick the appropriate freeze or halt function to be armed.

Selecting

Runtime

Select the Runtime Display popup menu, then select the appropriate runtime display function.

Display

Popup Menu

The main function of the Runtime Display menu is to enable you to select the “default” display that you want to appear on the monitor screen when you start the run mode. After the run mode begins, you can change the display. Your Action

Comments

Pick the Runtime Display menu box in the Exit popup menu.

When you pick the Runtime Display menu box, the Runtime Display popup menu appears above the Exit popup menu, as follows:

Tool Set:

1

1 q Image Only

I0 Failed Tools

I

10 Stat. Page 1 0 Stat. Page 2 Runtime Init.

I Runtime Arm

Env.

Camera A moo l .01

Ref. Line

Ref. Win

Gage

Window

Mist y&@j’j

Note that the Results Page box in the menu is shaded and has a filled square (0). This indicates that Results Page is the current display selection. Thus, at the start of the run mode, the monitor screen will display the results page for the tool set number shown in the Tool Set menu box. (No data will appear, however, until triggers are received.)

Page 332

Chapter 10

Runtime Functions

70-8

Selecting Runtime Display POpup Menu (continued)

Here is a brief description of the menu boxes in the Runtime Display popup menu:

-

Set: This box shows the currently selected tool set number. This tool set applies to all of the remaining selections in the Runtime Display menu. When you pick this box repeatedly, the tool set number toggles between 1 and 2. l Tool l Image Only: When you pick this box, only the camera image (and run mode menu) will appear on the monitor screen.

Tools: When you pick this box, during the run mode the monitor screen will display only the enabled tools in the currently selected tool set whose “results” exceed a warning or fault limit. l Failed

Tools: When you pick this box, during the run mode the monitor screen will display a2Zenabled tools in the currently selected tool set. l All l I/O Page: When you pick this box, the I/O page will appear on the monitor screen at the start of the run mode. The I/O page shows the “pass/fail” condition of all enabled tools assigned to output lines having “results” and Master Range function assignments. Separately, the I/O page also shows the “pass/fail” condition of each enabled tool in the currently selected tool set.

Page: When you pick this box, the Results page will appear on the monitor screen at the start of the run mode.The results page shows the tool measurement readings and any faults that may occur during each inspection cycle.

l Results

Page 1:When you pick this box, the Stat 1 page will appear on the monitor screen at the start of the run mode. The Stat 1 page shows statistics for the light probe, gages, and windows resulting from each inspection cycle while the CVIM system is in the learn operating mode. l Stat.

When the system is in the standard operating mode, the Stat 1 and Stat 2 pages cannot be selected. l Stat. Page 2: This functions the same as the Stat 1 page, except it shows statistics for the reference windows only.

Pick the appropriate runtime tool set and display selection.

If appropriate, change the tool set number and/or pick a different display selection. When you activate the run mode, this display selection will appear automatically on the monitor screen.

-