beautypg.com

Changing bit state using bit buttons, Pm designer operation manual – B&B Electronics WOP-2121V-N4AE - Manual User Manual

Page 181

background image

4

5

PM Designer Operation Manual

5-1

CHAPTER 5 BUTTONS AND SWITCHES

5.1. Changing Bit State Using Bit Buttons

You can touch a bit button to change the state of the specified bit.

A bit button used for creating a touch cell as a push button. These push buttons mimic mechanical push buttons in
that one logic value represents open contacts and another logic value represents closed contacts.

5.1.1. Basic Operations

A bit button can be configured to perform the following operations:

Operation

Description

Set ON

Sets the specified bit to On when the button is pressed.

Set OFF

Sets the specified bit to Off when the button is pressed.

Set ON Pulse

Sets the specified bit to On when the button is pressed and then sets the bit to Off to generate a
positive pulse with the specified pulse width.

Set OFF Pulse

Sets the specified bit to Off when the button is pressed and then sets the bit to On to generate a
negative pulse with the specified pulse width.

Momentary ON

Sets the specified bit to On when the button is pressed and sets the bit to Off when the button is
released.
Note: Pressing and releasing a momentary button quickly might generate a pulse that is too short
to be detected by the controller. To avoid this problem, specify a sufficient minimum pulse width
for the operation so the setting of the bit to Off is delayed if necessary to generate a pulse that is
always detectable.

Momentary OFF

Sets the specified bit to Off when the button is pressed and sets the bit to On when the button is
released.
Note: See the note above.

Invert

Inverts the state of the specified bit when the button is pressed.

Note: You can configure a bit button to operate a bit of a word or a bit of a double-word. In these cases, you need to
specify the number of the bit to be operated.