Formatting a multi line message, 4ć49 – Rockwell Automation 1771-DA,D17716.5.13 U MNL 1771-DA ASCII I/O MODULE User Manual

Page 123

Advertising
background image

ASCII I/O Module Tutorial

Chapter 4

4Ć49

5.

Transfer your message for display on the industrial terminal.

Refer to the procedures in section titled “Writing Data To Your ASCII
Device” (chapter 1), if necessary.

Procedure P1

Connect the 1770ĆCB cable, and set the industrial terminal

to alphanumeric mode (check parameters)

Procedure P6

Enable the MVF instruction. With the PLCĆ3 in run monitor,

enter I001:04 and enable that bit; then I001:02 and enable

that bit (in that order)

Results The industrial terminal displays your message.

PRODUCED XXX PARTS

The value XXX is the instantaneous accumulated value of the free
running timer at the moment you enabled bit I001/04.

When formatting a multi-line or multi-column message, use the ASCII
equivalent of the following control codes for positioning the message.

Control Codes

Hex or ASCII Equivalent

CTRL P

Column number

;

Line number

A

10

38 (fixed in this example)

3B

36, 37, 38,...

41

When you enter the ASCII equivalent of these control codes into the
message file, they will position the cursor at the column and line number
that you specify.

Position Codes

BCD

Diagnostic

BCD

Home

Col #

Line #

A

Del

Codes

Del

1041

1038

1038

3B36

3B38

41

41

3A

3A

00000000

00000000

3A

3A

3A

00

00

0D*

*OD = endĆofĆstring delimiter

Formatting a MultiĆLine Message

Advertising