Rockwell Automation 2705 REDIPANEL KEYPAD MODULE USER MANUAL User Manual

Page 61

Advertising
background image

Chapter 7
Programming

7–23

Rungs 13 - 17 retrieve and display a message:

+

15

(

PUT

)

0413

0511

001

G

13

310

001

!

!

+

14

310

15

(

L

)

410

16

!

!

+

+

!

!

Rung 13:
When function key F6 is depressed, a number is retrieved from word 511 and
put in the output image table location (413) reserved for a stored message
number. (Refer to output image table.) Shown above - message number “1”
is being moved to word 413.

Rung 14:
In order for the message to continually be displayed, the Display Message bit
(410/16) of the output image table must be on. Rung 14 latches this bit on.

14

(

PUT

)

0412

00

G

!

+

15

14

(

U

)

310

410

16

+

14

(

PUT

)

0413

0477

000

G

!

!

16

310

003

!

!

17

310

0477

00

!

!

+

!

!

+

+

+

!

!

!

Rung 15:
When function key F5 is depressed the display

Rung 16:
message bit is released. Rung 16 and 17 put zeros

Rung 17:
in the data table words 412 and 413 so that the display is cleared when F5 is
depressed.

Part C: Displaying a
16–Character Message for
PLC–2

Advertising