Rockwell Automation GMLC Reference Manual User Manual
Page 454

Publication GMLC-5.2 - November 1999
Toggle Choice
417
When the Toggle Choice block executes, a prompt message appears on
the operator interface (either the GML Commander Terminal Window via
port A, or a separate operator interface terminal via port B), followed by
the currently selected choice. To scroll through the available choices, the
operator should press NEXT or
±
on the integrated Setup and Diagnostic
Panel on the IMC-S/21x controllers, or the Space bar on a terminal. The
choices are displayed sequentially in the order shown in the scrolling
choices list. When the desired selection appears, pressing ENTER selects
it, which updates the value of the selected variable. Decisions can then be
made based on the value of the selection variable in subsequent blocks.
See the Setup section of the Installation and Setup manual for your
motion controller for more information on configuring the operator
interface.
If other tasks are executing (multitasking), the task that contains this
block pauses while the operator chooses the item, but the other tasks
continue to execute. In this way, a Toggle Choice block in one task does
not pause execution of any other tasks or hang the task dispatcher.
Prompts
The prompt message may be up to 24 characters long and may contain
any legal ASCII character (see Appendix A for an ASCII reference table)
except those shown in the following table.
Illegal ASCII Text Field Characters
ASCII
Keyboard
Decimal
Hex
Description
LF
CTRL + J
10
0A
Line Feed
ESC
CTRL + [
27
1B
Escape
;
;
59
3B
Semi-colon
:
:
58
3A
Colon
“
“
34
22
Quote