SETUP VISUAL DIAGNOSTICS


SETUP VISUAL DIAGNOSTICS

Table 1. SETUP Visual Diagnostics Screen Settings Setup Items

ITEM

DESCRIPTION

Name

This item is the text that shows up on the SETUP and STATUS list screens so it must be unique. It can be from 1 to 40 characters and it can contain spaces. You can modify the name directly on the SETUP Visual Diagnostics Screen Settings screen.

Background Image

The large picture that covers most of the Visual Diagnostic screen is called the background image. It is stored as a file. When set, the file name is shown on the SETUP Visual Diagnostics Screen Settings screen.

Number of Indicators

This item specifies the number of indicators that have been set up. You cannot modify the number directly. Only the function keys are active when you are on this field.

Selected Indicator

Only one indicator can be configured at a time. The Selected Indicator field specifies which one is currently selected.

Custom Logic Program

You can identify a program that will run each time the Visual Diagnostic screen is refreshed. Use this feature if complex logic is required to determine the state of an indicator.

A typical custom logic program will combine the status of various elements in the controller and set the indicators state control element accordingly. A custom logic program can be implemented in either TPP or KAREL. It must not contain any motion statements.

Use the following guidelines to create a custom logic program:

  • The program must exist before setting this field but you can modify it later to change the logic. The most recent version of the program is run each time the screen is updated.

  • If it is a teach pendant program, the attributes must be set as follows:

      
      BUSY_LAMP_OFF	= 1,
      ABORT_REQUEST	= 3,
      PAUSE_REQUEST	= 7;
    DEFAULT_GROUP	= *,*,*,*,*;
    
  • The program must run quickly and terminate. If the program takes more than 1 second to complete an warning alarm will be posted but Visual Diagnostics will proceed. One second is very very long. A typical program should complete in less than a millisecond.


Table 2. SETUP Visual Diagnostics Indicator Setup Items

ITEM

DESCRIPTION

Name

This item specifies the name of the indicator. It provides you with a way to reference the indicator for setup. It is not displayed on the Visual Diagnostic STATUS screen.

Location

The Location field shows a graphic that provides a rough idea where the indicator is located.

State Control Elem 1

This item specifies the first element that controls the indicator. It can be an I/O signal, numeric register, or vision register.

State Control Elem 2

This item specifies an optional second element to combine with the first one to control the indicator.

State Images

These are the images to display when the State Control Element(s) evaluate to the corresponding number.