beautypg.com

Toggle bit value – Rockwell Automation 9323-S5500D A.I. SERIES MICROLOGIX 1000 AND PLC-500 SOFTW User Manual

Page 459

background image

MicroLogix 1000 and PLC-500 A.I. Series Software Reference

19-28

Toggle Bit Value

You can toggle bit values (for both I/O and data table memory) using the bit toggle

function. Although the bit toggle feature is not a true force function, it can have a

similar use in testing your ladder logic. Conditions in the ladder program that write to

the output data table override the toggle function. This function acts on the data table

I/O image (see the diagrams under the

I/O Forcing

heading), and thus has no effect on

output addresses that are forced ON or OFF.

The bit toggle function is of little use on real I/O in run mode, because both inputs and

outputs are overwritten each program scan. (Toggling a bit is NOT the same as forcing

a bit.)

!

MicroLogix 1000 users: The controller will fault if you set an output bit ON (1) that

does not exist as an actual output point on the controller. See the information on

status bit S:0/8 in

Appendix A - Programming Reference for Packaged Controllers

in

the

Instruction Set Reference

for information on changing this response.

There are several ways to use the bit toggle function:

Through the I/O Module System Configuration screen.

By pressing [Shift-F5] on the Ladder Logic display while in Processor Emulation

Mode (or while online).

From the Custom Display screen. Refer to the section on Custom Display later in

this chapter.

From the Multipoint Monitor screen. Refer to the section on

Multipoint

Monitoring

in

Chapter 4 - Data Table Addressing and Editing

.

To use the bit toggle function from the I/O Module System Configuration screen:

1.

From the top level of the ladder editor, press

[F8]

Display

.

2.

Press

[F3]

Mon i/o

.

This manual is related to the following products: