Rockwell Automation 1771-DA,D17716.5.13 U MNL 1771-DA ASCII I/O MODULE User Manual

Page 99

Advertising
background image

ASCII I/O Module Tutorial

Chapter 4

4Ć25

For a display of the following diagnostic codes

12345678
ABCD4321
FACEBAC2

your message file (Table 4.P) would appear as:

Table 3.P

Example Message File

POSITION

FILE DATA

Description (FILE DATA)

001

002

003

004

005

006

007

008

009

010

011

012

013

014

015

016

017

018

019

1041

1031

3B31

413A

1234

5678

3A00

1031

3B32

413A

ABCD

4321

3A00

1031

3B33

413A

FACE

BAC2

3A0D

CTRL P A

CTRL P Column number

; Line number

A BCD delimiter

Diagnostic code

Diagnostic code

BCD delimiter

CTROL P Column number

; Line number

A BCD delimiter

Diagnostic code

Diagnostic code

BCD delimiter

CTRL P Column number

; Line number

A BCD delimiter

Diagnostic code

Diagnostic code

BCD delimiter EOS delimiter

Notice the following:

Home position of the cursor appears once (position 001) before you

specify line and column numbers.

Column numbers remain constant at 31 in this example.
Line numbers advance by one (31, 32, 33,...) in this example.
BCD delimiter precedes and follows the variable.
End-of-string (EOS) delimiter is placed at the end of this single string.

You would have entered zeros for your variables (diagnostic codes) in
positions 005 and 006, 011 and 012, 017 and 018 when setting up your
file. Your program inserts values when you enable the display.

Advertising