beautypg.com

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

Page 90

background image

4–48

Using Unscheduled Messaging

Publication 1336 FORCE–5.18 ––March, 1999

Example

In this example, the PMW 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
PMR 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 PMW, the PMR would have returned
an error code in word 3 of -32507.

1

0

N7:10

2

3

4

5

6

7

8

9

PLC MSG
Write 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

N7:90

0

21072

0

261

21317 8275

8248 17740 17750 8268

N7:100

12832

N7:20

12832

PLC MSG
Read File

N7:10

N7:20

ASCII Display Values

User Text String Write

(continued)