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

Page 187

Advertising
background image

7–41

Publication 1336 FORCE–5.13 –– September, 1998

If an error has occurred in the BTW, word 2 of the BTR returns a
value of -32507.

Example

In this example, the BTW defined a User Text String Read request in
word 2 of the BTW with a value of 261. The BTR responds by
returning a value of 261 in word 2, indicating a successful read. In
addition, it returned the user text string in data words 4 through 11
stored in the drive. The characters of each word are returned in
reverse order. The user text string should read Press 8 Level 2.

1

0

N10:10

2

3

4

5

6

7

8

9

BTW
Data File

BTR
Data File

Data Format

0

0

21072

3

0

261

261

21317 8275

8248 17740 17750 8268

12832

N10:90

00\00

rP

00\00 01\05

se

s

8

el

ev

L

N10:100

2

N10:20

\00\00

\00\03 \01\05

N10:90

N10:100

ASCII Display Values

User Text String Read

(continued)

Advertising