Rockwell Automation 2705 REDIPANEL KEYPAD MODULE USER MANUAL User Manual

Page 62

Advertising
background image

Chapter 7
Programming

7–24

In Part A and B we learned how to examine information from the PLC by
using the Keypad. In order to have an 8–character message work with the
variable data a message number must be put into the stored message word of
the output image table at the same time the variables appear on the keypad
display. Therefore, the following rung is all that is required for a message to
be displayed:

+

10

(

PUT

)

0413

0513

003

G

6

310

003

!

+

!

!

!

Rung 6:
This rung says that when function key F1 is depressed, message number 3
will be put into the stored message number location.

Destination bits allow for the retrieval of data from an existing area in the
data table where information is known to reside.

00

(

PUT

)

0137

500

G

+

12

(

PUT

)

0412

0137

G

16

310

003

!

!

19

313

0510

!

!

+

!

!

+

+

!

!

Rung 18:
When function key F3 is depressed, the preset (137) value from counter 037
will be displayed on the Keypad Module.

Rung 19:
Input signal 313/00 is a destination bit. To enable this destination bit,
depress the ENTER key. The keypad will display >>–––>>–––. Now you
enter a “1” for the first bit of destination bits available (which is 313/00 in
the input image table of the Keypad Module). Depress the ENTER key again
and rung 19 will get word 510 and take that numeric value and put it in the
preset of counter 037.

Note: Word 510 is simply an arbitrary word. To use destination bits you
need a table of data to draw information from. Our data base starts at word
510 for this example.

Part D: Displaying Message and
Variable Data Simultaneously for
PLC-2

Part E: Using Destination Bits to
Retrieve or Change Data for
PLC-2

Advertising