Example, User text string write – Rockwell Automation 1336T PLC Comm. Adapter, Series B, FRN 2.xx-3.xx User Manual

Page 189

Advertising
background image

7–43

Publication 1336 FORCE–5.13 –– September, 1998

Example

In this example, the BTW defined a text string of Press 8 Level 2 to
be written to the drive. This information was entered in ASCII text,
with the two characters of each word entered in opposite order. The
BTR returned a value of 261 in word 2, indicating a successful write.
In addition, it returned the text string in words 4 through 11.

If an error had occurred in the BTW, the BTR would have returned
an error code in word 3 of -32507.

1

0

N10:10

2

3

4

5

6

7

8

9

BTW
Data File

Data Format

0

21072

00\00

rP

11

00\0B

-32507

7E\FB

21317

se

8275

s

8248

8

17740

el

17750

ev

8268

L

2

N10:90

0

21072

0

261

21317 8275

8248 17740 17750 8268

N10:100

12832

N10:20

12832

BTR
Data File

N10:10

N10:20

ASCII Display Values

User Text String Write

(continued)

Advertising