Trend file – Rockwell Automation 1336T PLC Comm. Adapter, Series B, FRN 2.xx-3.xx User Manual

Page 206

Advertising
background image

7–60

Publication 1336 FORCE–5.13 –– September, 1998

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

PLC Block Transfer Instruction Data

BTW instruction length:

3 words

BTR 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 –– Block Transfer Write

Drive Response –– Block Transfer 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