beautypg.com

Stepping through word state using step buttons, Pm designer operation manual – B&B Electronics WOP-2121V-N4AE - Manual User Manual

Page 226

background image

5

PM Designer Operation Manual

5-46

CHAPTER 5 BUTTONS AND SWITCHES

5.12. Stepping Through Word State Using Step Buttons

You can press a step button to writes the value of the button’s next state to the specified variable.

5.12.1. Basic Operations

Unlike most kinds of objects, a step button displays all the states at once with the current state highlighted instead of
displaying just the current state. A step button can let the operators know all the available states and what the next state
will be when they touch it.

The state of a step button is determined by the value of the specified variable and the specified state type. When a step
button is pressed, it calculates the value of the next state and writes that value to the specified variable. The next state is
the current state plus one when the current state is not the last state. When the current state is the last state, the next state
is state 0.

5.12.2. Operation Options

The following operation options can be added to a step button to make it more informative, secure, and useful. You need to
select and set these options in the Step Button property sheet.

Options

Description

Touch Operation
Control

The touch operation of the step button can be enabled and disabled either by a specified bit
or by the current user level. Select and set this option in the Advanced page.

Minimum Hold Time

The touch operation will not be activated until the step button is pressed and held down for
the specified time period (Minimum Hold Time). Set this option in the Advanced page.

Operation Logging

Each data change performed by the step button can be recorded in the operation log. Select
and set this option in the Advanced page.

Visibility Control

The step button can be shown or hidden either by a specified bit or by the current user level.
Select and set this option in the Visibility page.