beautypg.com

Rockwell Automation GMLC Reference Manual User Manual

Page 455

background image

Publication GMLC-5.2 - November 1999

418

Display and Operator Interface Blocks

Entering Choices

To define the choices, enter the desired text for the first choice in the data
entry box to the right of the number 0. Each choice can be of any length
and can include embedded spaces. Up to 10 choices may be specified for
use with a single Toggle Choice block.

For example:

You can enter up to 10 choices (selection variable values of 0 – 9) in this
manner.

At runtime, when the operator selects No, the value 0 is assigned to the
selected user variable; when the operator selects Yes the value 1 is
assigned to the selected user variable.

Editing the Choices

The current choices are shown in the scrolling choices list. The list can be
edited by selecting the desired choice, and entering a new message in the
data entry box.

Tag Explorer

User Variables is pre-selected, by default.

Tag Window

Select the user variable that stores the value corresponding to the choice
selected from the toggle menu during runtime.

Note: If a user variable does not appear, right click in the List window

and select New to create a new user variable.

To define the:

Type:

First choice as no

No in the first field.

Second choice as yes

Yes in the field to the right of the number 1.