Rockwell Automation 2705 REDIPANEL KEYPAD MODULE USER MANUAL User Manual

Page 48

Advertising
background image

Chapter 7
Programming

7–10

Rungs 3–16:
Would appear the same but with different timer/destination bit addresses.

Rung 17:
Destination bit I:024/00 is “ON” when the keypad operator enters destination
number “17”. All other destination bits are “OFF”. The ENTER bit I:020/16
prevents data from being moved until the keypad operator enters a new
preset for T4:16. The MOVE instruction takes the integer data in I:021 and
transfers it to T4:16.PRE.

The PLC 5/15 example program could be expanded to display the timer
preset along with an 8 character message that identifies each timer preset.
The following rungs could be added for each timer.

Rung 19

Rung 18

00

00

I:023
] [

I:023
] [

MOVE
Source

T4:0.PRE

15

Dest

0:021

0

MOVE
Source

4

Dest

0:022

0

MOV

MOV

Rung 18:

When destination bit I:023/00 is “ON” the T4:0.PRE value is displayed
on the right hand side of the keypad module.

Rung 19:
When destination bit I:023/00 is “ON” the constant “4” is moved to the
SMD word, triggering message number 4. “T4:0.PRE=” will be
displayed on the left hand side, identifying the data in the right hand side.

Advertising