beautypg.com

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

Page 105

background image

4–63

Using Unscheduled Messaging

Publication 1336 FORCE–5.18 ––March, 1999

The Trend Command function allows you to send a disable trend,
enable trend, or force trigger command to the drive for a specific
trend operation.

PLC Block Transfer Instruction Data

PLC Message Write instruction length:

4 words

PLC Message Read instruction length:

3 words

Header

Word 1

Header

Word 1

Header

Word 2

Header

Word 2

Header

Word 3

Trend Number

Message Structure

Data

Word 3

Trend Number

PLC Decimal Value

–28672

PLC Decimal Value

4096 –– Message OK

–28672 –– Message Error

Message Length

4

Message Length

3

PLC Request –– PLC Message Write

Drive Response –– PLC Message Read

Data

Word 4

Command

Message Operation

You can use the trend command to send one of the following
commands to the drive: disable trend, enable trend, or force trigger.
To send a Trend Command function, you need to specify both the
trend number and the command 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 valid command numbers:

This number:

Sends a command to:

0

Disable the specified trend.

1

Enable the specified trend.

2

Force a trigger for the specified trend.

Trend File

Trend Command