SETUP MENU UTILITY SCREENS


SETUP MENU UTILITY SCREENS

1. SETUP MENU UTILITY SCREEN

You can create your own teach pendant menus to help your application run more smoothly. To use your own menus, first perform menu setup then call the menu macro program from a teach pendant program and select the desired menu in the parameter.

The Teach Pendant Menus option provides some predefined menus that you can use as examples. You can use these sample menus as they are or you can change them as necessary.

Table 1.  SETUP Menu Utility Screen Items

ITEM DESCRIPTION

Prompt box msg

This item is used to make sure the operator is aware of something. When a prompt box message screen is displayed, the teach pendant program pauses until the operator presses ENTER.

Prompt box yes/no

This item asks the operator a question that can be answered YES or NO. When a prompt box yes/no screen is displayed, the teach pendant program pauses until the operator selects YES or NO and presses ENTER.

Select from a list

This item asks the operator to select an item from a list of items. When a list menu is displayed, the teach pendant program pauses until the operator selects an item from the list.

Status menus

This item displays status information to the teach pendant screen. When a status menu is executed, the teach pendant displays the status menu and then continues executing. The values that are displayed are refreshed at least once every second.

Operator entry

This item requires the operator to enter INTEGER, REAL, BOOLEAN, or text values. When an operator entry menu is executed, the program pauses until the operator [TYPE]s the information and then presses F3, DONE.

2. PROMPT BOX MSG MENU SCREEN

A prompt box message menu is used to make sure the operator is aware of something. When a prompt box message screen is displayed, the teach pendant program pauses until the operator presses ENTER. In addition, when the prompt box is displayed, the operator cannot access any other menus. See Figure 1, " Prompt Box Message Menu " for an example of a prompt box message menu.

Figure 1.  Prompt Box Message Menu

Robot is not at
            PERCH position
                  OK


A prompt box message menu uses the Prompt Box Msg(menu) macro.

You can enter the text you want displayed in the prompt box from the Prompt box msg menus screen. Table 2, " Prompt box msg Menus Screen Items " lists the Prompt box msg Menu Screen Items. Table 3, " Prompt msg menus DETAIL Screen Items " lists the Prompt box msg DETAIL Menu Screen Items.

Table 2.  Prompt box msg Menus Screen Items

ITEM DESCRIPTION

Item

This item refers to item numbers (1-99) always in sequence.

Menu number

This item refers to unique menu numbers (1-99).

Menu name

This item is the name of the menu.

3. PROMPT MSG MENU DETAIL SCREEN

Table 3.  Prompt msg menus DETAIL Screen Items

ITEM DESCRIPTION

Prompt msg no:

This item refers to unique menu numbers (1-99).

Menu name

This item is the name of the menu.

Line

This item is the line number for the message. Maximum five line.

Text

This item is the display text used in the prompt box.

4. PROMPT BOX YES/NO MENU SCREEN

A prompt box yes/no menu asks the operator a question that can be answered YES or NO. When a prompt box yes/no screen is displayed, the teach pendant program pauses until the operator selects YES or NO and presses ENTER. In addition, when the prompt box yes/no screen is displayed, the operator cannot access any other menus. See Figure 2, " Prompt Box Yes/No Menu " for an example of a prompt box yes/no menu.

Figure 2.  Prompt Box Yes/No Menu

Send the robot home?
                 YES     NO


Table 4.  Prompt Box Yes/No Menu Screen Items

ITEM DESCRIPTION

Item

This item refers to item numbers (1-99) always in sequence.

Menu number

This item refers to unique menu numbers (1-99).

Menu name

This item is the name of the menu.

5. PROMPT BOX YES/NO MENU DETAIL SCREEN

Table 5.  Prompt Box Yes/No Menu DETAIL Screen Items

ITEM DESCRIPTION

Prompt Y/N menu no:

This item refers to unique menu numbers (1-99).

Menu name

This item is the name of the menu.

Line

This item is the line number for the message. Maximum five lines.

Text

This item is the display text used in the prompt box.

6. SELECT FROM A LIST SCREEN

A list menu asks the operator to select an item from a list of items. When a list menu is displayed, the teach pendant program pauses until the operator selects an item from the list. See Figure 3, " List Menu " for an example of a list menu.

Figure 3.  List Menu

USER
    Move Menu
    1 Ignore
    2 Move to Maint. Pos.
    3 Move to Perch Pos.


Table 6.  Select from a list Screen Items

ITEM DESCRIPTION

Item

This item refers to item numbers (1-99) always in sequence.

Menu number

This item refers to unique menu numbers (1-99).

Menu name

This item is the name of the menu.

7. LIST MENU DETAIL SCREEN

Table 7.  List Menu DETAIL Screen Items

ITEM DESCRIPTION

List menu no:

This item refers to unique menu numbers (1-99).

Menu name

This item is the name of the menu.

Line

This item is the line number for the message. Maximum eight lines.

Text

This item is the display text used in the prompt box.

ActionTP

This item is the TP program you want to run when the corresponding item is selected.

Title

This item is the title for the message.

PROMPT

This item allows you to enter a selection.

8. STATUS MENU SCREEN

A status menu displays status information to the teach pendant screen. When a status menu is executed, the teach pendant displays the status menu and then continues executing. The values that are displayed are refreshed at least once every second. This is a read-only menu.

Table 8.  Status Menu Screen Items

ITEM DESCRIPTION

Item

This item refers to item numbers (1-99) always in sequence.

Menu number

This item refers to unique menu numbers (1-99).

Menu name

This item is the name of the menu.

9. STATUS MENU DETAIL SCREEN

Table 9.  Status Menu DETAIL Screen Items

ITEM DESCRIPTION

Status menu no:

This item refers to unique menu numbers (1-99).

Menu name

This item is the name of the menu.

Line

This item is the line number for the status items. Maximum of nine items

Text

This item is the display text used in the prompt box.

10. STATUS MENU SUB-DETAIL SCREEN

Table 10.  Status Menu Sub-DETAIL Screen Items

ITEM DESCRIPTION

Display Text

This item allows you to specify the text that will be displayed for the status item. You can [TYPE] up to 17 characters of display text.

Variable [TYPE]

This item allows you to specify the kind of variable for the status item:
[TYPE] of Variable What to Define Data Display [TYPE]
NONE none none
R[ ] REG Number INTEGER, REAL, BOOLEAN
DIN[ ] I/O Number INTEGER, BOOLEAN, TEXT
DOUT[ ] I/O Number INTEGER, BOOLEAN, TEXT
RDI[ ] I/O Number INTEGER, BOOLEAN, TEXT
RDO[ ] I/O Number INTEGER, BOOLEAN, TEXT
GIN[ ] I/O Number INTEGER
GOUT[ ] I/O Number INTEGER
KAREL VAR PROG. Name, Var. Name INTEGER, REAL, BOOLEAN, TEXT
SYSTEM VAR System Variable Name INTEGER, REAL, BOOLEAN, TEXT

Variable [TYPE] cont'd

TIME none special [TYPE] — displays current time
CURR PROGRAM none special [TYPE] — displays currently running program
CURR ROUTINE none special [TYPE] — displays currently running routine
TIMER (SEC) Prog. Name, Var. Name Displays KAREL timer in seconds
TIMER (MIN) Prog. Name, Var. Name Displays KAREL timer in minutes
TIMER (HR) Prog. Name, Var. Name Displays KAREL timer in hours
PROG STATUS none special [TYPE] - displays status of current program: RUNNING, MOVING, PAUSED, WAITING, WAITING FOR DI[], WAITING FORRI[], AT HOME, AT REPAIR, ABORTED

For DI[], DO[], RI[], and RO[], the variable data [TYPE]s are as follows:

  • INTEGER - displays as 1, 0

  • BOOLEAN - displays as TRUE, FALSE

  • TEXT - displays as ON, OFF

REG + I/O

This item allows you to specify the number of the register or the I/O signal, when the variable [TYPE] is R[], DI[], DO[], RI[], RO[], GI[], or GO[].

KAREL Program

This item allows you to specify the name of the KAREL program that contains the variable you are displaying, when the variable [TYPE] is KAREL VAR.

Variable Name

This item allows you to specify the name of the variable you are displaying.

System Variable

This item allows you to specify the name of the system variable you are displaying, when the variable [TYPE] is SYSTEM VAR.

Data [TYPE]

This item allows you to specify the variable data [TYPE]s:
  • NONE

  • INTEGER

  • REAL

  • TEXT

  • BOOLEAN


11. OPERATOR ENTRY MENU SCREEN

An operator entry menu requires the operator to enter INTEGER, REAL, BOOLEAN, or text values. When an operator entry menu is executed, the program pauses until the operator types the information and then presses F3, DONE.

Table 11.  Operator Entry Menu Screen Items

ITEM DESCRIPTION

Item

This item refers to the ITEM number that you selected.

Menu number

This item refers to the menu number you selected

Menu name

This item refers to the name of the menu you selected

12. OPERATOR ENTRY MENU DETAIL SCREEN

Table 12.  Operator Entry Menu DETAIL Screen Items

ITEM DESCRIPTION

OP Entry Menu no

This item is the number of the menu (unique ID).

Title

This item is the name of the menu.

Prompt

This item has up to ten prompts.

13. OPERATOR ENTRY MENU SUB-DETAIL SCREEN

Table 13.  Operator Entry Menu Sub-DETAIL Screen Items

ITEM DESCRIPTION

Prompt

This item allows you to specify the text that will be displayed for the prompt item. You can enter up to 17 characters of display text.

Variable [TYPE]

This item allows you to specify the kind of variable for the value of the prompt item:

[TYPE] of Variable What to Define Data Display [TYPE]
NONE none none
R[ ] REG Number INTEGER, REAL, BOOLEAN
KAREL VAR Prog. Name, Var. Name INTEGER, REAL, BOOLEAN, TEXT
SYSTEM VAR System Variable Name INTEGER, REAL, BOOLEAN, TEXT

REG Number

This item allows you to specify the number of the register, when the variable [TYPE] is R[].

KAREL Program

This item allows you to specify the name of the KAREL program that contains the variable you are using, when the variable [TYPE] is KAREL VAR.

Variable Name

This item allows you to specify the name of the KAREL variable you are using, when the variable [TYPE] is KAREL VAR.

System Variable

This item allows you to specify the name of the system variable you are using, when the variable [TYPE] is SYSTEM VAR.

Data [TYPE]

This item allows you to specify the variable data [TYPE]s:
  • NONE

  • INTEGER

  • REAL

  • TEXT

  • BOOLEAN

Variable Minimum

This item allows you to specify the minimum value allowed for the INTEGER or REAL variable.

Variable Maximum

This item allows you to specify the maximum value allowed for the INTEGER or REAL variable.