beautypg.com

Selecting work value using multi-state switches, Pm designer operation manual – B&B Electronics WOP-2121V-N4AE - Manual User Manual

Page 208

background image

5

PM Designer Operation Manual

5-28

CHAPTER 5 BUTTONS AND SWITCHES

5.7. Selecting Work Value Using Multi-state Switches

You can use a multi-state switch to change the state of the specified variable.

5.7.1. Basic Operations

A multi-state switch can be configured to perform as one of the following types of controls:

Control Type

Description

Button

The multi-state switch is a push button. It changes the state of the specified variable to the next state
when it is touched. Note that the next state is not necessarily the current state plus one. For details,
see ?, ?.

List

The multi-state switch is a list box. It lists the text of all the states of
the switch one state per line starting from state 0 as shown in the
right example.

The text of the current state is highlighted. If the desired state is not in
the view, you can use the scroll bar attached to the right side of the
list box to scroll the text. When you select a desired state by touching
its text, the list box writes the value of the selected state to the
specified variable.

Drop-down
List

The multi-state switch is a drop-down list. It displays the text of the current state and a button with the
down arrow symbol as shown in the following example.

When the button is touched, the switch list displays a list box beneath itself as shown in the following
example.

The list box lists the text of all states of the switch one state per line starting from state 0. The text of
the current state is highlighted. If the desired state is not in the view, you can use the scroll bar
attached to the right side of the list to scroll the text. When you select a desired state by touching its
text, the switch writes the value of the selected state to the specified variable and closes the list box.

If you want to cancel the operation when the list box is showing, touch anywhere other than the text in