Displaying a full line stored message – Rockwell Automation 2705 REDIPANEL KEYPAD MODULE USER MANUAL User Manual

Page 44

Advertising
background image

Chapter 7
Programming

7–6

Rung 2:2 shows how the same input, F1, which is used to move the
accumulated value of the counter to the Keypad display, can also trigger a
stored message. The MOVE instruction in rung 2:2, moves the constant 1 to
0:022, the word in the output image table where the Stored Message Display
(SMD) number is sent to the Keypad Module. (See Figure 7.1, Input and
Output Image Tables.) In this case when F1 is pressed, message number 1
”C5.1 ACC.=” will appear on the left side of the display and C5:1
accumulated value will appear on the right.

In Series B Rev. D or earlier Keypad Modules, the SMD number must be a
BCD number only, regardless of what data type the module has been set for.

In some instances the application requires a full line 16–character message,
to prompt the operator, display machine status, warnings or fault messages.
This is accomplished by turning on the DM bit in the output image table at
the same time the message number is moved to the SMD word. The DM bit
is the 16th bit of the starting module group word in the output image table.
(See Figure 7.1, I/O Image Tables.)

Figure 7.4 below shows one example of how to trigger a 16–character
message with PLC–5 ladder logic.

DM Bit

for Rack 2

Keypad

0:020

( )

Figure 7.4

Rung 2:3

12

F3

Function

Key

I:020

] [

GRTR THAN OR EQUAL
Source A

0:022

3

Source B

3

GEQ

16

MOV
Source

3

Dest

0:022

3

MOV

Rung 2:4

Displaying a Full Line Stored
Message

Advertising