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

Page 100

Advertising
background image

ASCII I/O Module Tutorial

Chapter 4

4Ć26

Verify that this message file displays the diagnostic codes as shown.

1.

Load the message file into the file-to-file move instruction 9rung 15)
exactly as shown in table 3.P. Use procedures P3 and P5 from
“Writing Data to Your ASCII Device”, P. 1-14.

Procedure P3

Set your industrial terminal to PLCĆ2 mode

Procedure P5

Load data into the fileĆtoĆfile move instruction

2.

Set your initialization words (Table 4.O)

3.

Change the block length of the BTW instruction (rung 17) from 16 to
22.

4.

Change your industrial terminal to alphanumeric mode. Transfer
data to the industrial terminal by changing the processor mode select
switch to the RUN/PROG position.

Results The industrial terminal displays the column of diagnostic codes in
the upper left corner of the screen.

12345678

ABCD4321

FACEBAC2

With a read/write program, you can enter the text of your message into
processor memory by using the industrial terminal as an ASCII data
terminal (as compared with entering data with the data monitor mode of
the industrial terminal described in the previous two examples). When
entering data from an ASCII data terminal, you can use the rubout or
delete key. Pressing either key deletes the previous character from the
ASCII module’s input buffer. You can delete one or more characters up to
the entire string bounded by the previous end-of-string delimiter.

NOTE: The correct operation of your module depends on proper
handshake programming for read and write block transfer instructions.
Be sure to read the description of handshaking in chapter 4, and study the
handshake programming examples.

Advertising