Trend file – Rockwell Automation 1336T ControlNet Frn1.02 Rev 1.5 User Manual

Page 107

Advertising
background image

4–65

Using Unscheduled Messaging

Publication 1336 FORCE–5.18 ––March, 1999

The Trend Status function allows you to read the status of the
specified trend file.

PLC Block Transfer Instruction Data

PLC Message Write instruction length:

3 words

PLC Message Read instruction length:

4 words

Header

Word 1

Header

Word 1

Header

Word 2

Header

Word 2

Header

Word 3

Trend Number

Message Structure

Header

Word 3

Trend Number

PLC Decimal Value

4097

PLC Decimal Value

4097 –– Message OK

–28671 –– Message Error

Message Length

3

Message Length

4

PLC Request –– PLC Message Write

Drive Response –– PLC Message Read

Data

Word 4

Status

Message Operation

You can use the Trend Status function to read the status of the trend
specified by Trend Number.

The following are the valid trend numbers:

This number:

Specifies that the command is to be sent for:

4096

Trend 1

8192

Trend 2

12228

Trend 3

16384

Trend 4

The following are the possible status values that can be returned in
word 4:

This

number:

Indicates that the trend is:

1

Stopped.

2

Running.

3

In the tripped trigger state. The condition has
become true, and the post samples are being taken.

4

In the forced trigger state. The trigger condition
was forced to be true so that the post samples
could be taken.

Trend File

Trend Status

Advertising