Example, User text string read – Rockwell Automation 1336T ControlNet Frn1.02 Rev 1.5 User Manual

Page 88

Advertising
background image

4–46

Using Unscheduled Messaging

Publication 1336 FORCE–5.18 ––March, 1999

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

Example

In this example, the PMW defined a User Text String Read request in
word 2 of the PMW with a value of 261. The PMR 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

N7:10

2

3

4

5

6

7

8

9

PLC MSG
Write File

PLC MSG
Read File

Data Format

0

0

21072

3

0

261

261

21317 8275

8248 17740 17750 8268

12832

N7:90

00\00

rP

00\00 01\05

se

s

8

el

ev

L

N7:100

2

N7:20

\00\00

\00\03 \01\05

N7:20

N7:100

ASCII Display Values

User Text String Read

(continued)

Advertising