beautypg.com

3 message print - mp – Rockwell Automation 1772-LP3 PLC - 2/30 Programmable Controller Programming and Operations Manual User Manual

Page 174

background image

Report Generation

Chapter 9

9Ć6

Table 9.C

Address Delimiters

Delimiter Format

Explanation

Message Report Format

*XXX*

Enter 3Ćdigit word address

between delimiters.

Displays BCD value at

assigned word address.

*XXX1*

or

*XXX0*

Enter 3Ćdigit word address and

a 1" for upper byte or a 0" for

lower byte between delimiters.

Displays the octal value at

assigned byte address.

*XXXXX*

Enter 5Ćdigit bit address

between delimiters.

Displays the ON or OFF status

of the assigned bit address.

#XXX#

Enter 3Ć, 4Ć, or 5Ćdigit word

address between delimiters.

Displays the BCD value at

assigned word address.

!XXX!

Enter 3Ć, 4Ć, or 5Ćdigit word

address between delimiters.

Displays the 4Ćdigit hex value

at address.

&XXX1&

&XXX0&

Enter 3Ć, 4Ć, or 5Ćdigit word

address and a 1" for upper

byte or a 0" for lower byte

between delimiters.

Displays the octal value at the

assigned byte address.

^XXXXX^

Enter 5Ć, 6Ć, or 7Ćdigit bit

address between delimiters.

Displays the ON or OFF status

of the assigned bit address.

As an example, suppose it was desired to report the output condition, or or
off, of a device, SR6, during each cycle of machine operation. Delimiters
would be used to denote the output address 013/05, and the cycle counter
accumulative value (stored at 030

8

). The desired message, SR6 is

(on or off) in cycle (xxx), would be entered into memory with the
following keystrokes: [S][R][6][ ][I][S][ ][*][0][1][3][0][5][*][ ][I][N]
[ ][C][Y][C][L][E][ ][#][0][3][0][#][.][ESC].

The message entry must be terminated with the escape ([ESC]) key. Until
[ESC] is pressed, all keystrokes become part of the message. Pressing
[ESC] again will return to ladder diagram display. Pressing [CANCEL
COMMAND] on the PLC-2 Family keytop overlay will also terminate
message store and return to ladder diagram display if a peripheral device
was used to enter report generation mode.

Accessible in any mode, the message print command is used to print the
contents of a message to verify it. This command is accessed by pressing
[M] [P] [,] [message number] [RETURN]. Valid message numbers are
listed under MESSAGE STORE.

In the example, the message print command would give the following:

SR6 IS *01305* IN CYCLE #030#.

9.1.3
Message Print - MP