Rockwell Automation 2705 REDIPANEL KEYPAD MODULE USER MANUAL User Manual

Page 46

Advertising
background image

Chapter 7
Programming

7–8

Figure 7.5

Rung 2:5

11

16

MOV

MOV

16

F2

Function

Key

I:020

] [

Rung 2:6

MOV
Source

I:021

50

Dest

C5:1.PRE

69

MOV
Source

2

Dest

0:022

2

MOV
Source

C5:1.PRE

69

Dest

0:021

69

Enter

Key

I:020

] [

Enter

Key

I:020

] [

MOV

In the example shown in Figure 7.5, rung 2:5 is used to move the value from
the input image table, I:021, to counter C5.1 preset, each time the Enter key
is pressed.

Rung 2:6 in Figure 7.5 shows how the function key F2 or the Enter key are
used to display stored message #2,

”C5.1 PRE.=”

, on the left side of the

keypad and the current or new preset value of counter C5.1 on the right.
This rung is used strictly to allow the operator to view the value that is about
to be changed. To actually change the preset, the new value must first be
entered into the input image table. This is accomplished by first punching in
the desired preset value using the numeric keys on the Keypad Module, then
pressing the ENTER key. The new value is then placed in the input image
table or in the case of this particular configuration, word I:021. Placing rung
2:5 before rung 2:6 ensures the new updated preset value will be displayed.

Advertising