beautypg.com

Provide the stt subroutine inputs, Example: inputs for hart command 0 – Rockwell Automation 1770,D17706.5.21 SMART TRANSMITTER TOOLKI User Manual

Page 22

background image

Chapter 3

Using The Smart Transmitter Toolkit

3-3

All data that is used by the STT subroutine is obtained from the integer and
floating point data files that you create for each HART field device.
Before you make a call in your ladder logic to the STT, you must put the
required data into these data files.

There are two types of input data:

Command-specific inputs are specific for each HART command.

See appendix A.

Standard inputs are required for every HART command. This table

explains each of the six standard inputs.

Standard Inputs

Integer

Word 0

I/O Rack Number of

1770ĆHT1

This integer word contains the I/O rack number of the 1770-HT1 that is connected to the HART

field device. Valid values are 1 through 7.

Word 1

I/O Group Number of

1770ĆHT1

This integer word contains the I/O group number of the 1770-HT1 that is connected to the

HART field device. Valid values are 0, 2, 4, and 6.

Word 2

Channel Number of HART

field device

This integer word contains the channel on the 1770-HT8 or the 1770-HT16 that is wired to the

HART field device. Valid values are 1 through 32.

Word 3

Polling Address of HART

field device

This integer word contains the polling address of the HART field device. Use a Rosemount 268

Handheld terminal or Cornerstone software to configure this address.
If you are wired:

pointĆtoĆpoint, the polling address is 0 (zero).

multiĆdrop, the polling address is 1 through 15.

Note: Most HART field devices come from the factory with a default polling address of zero.

Word 4

Smart Transmitter Interface

Command Number 16

decimal (10 Hex)

This integer word contains the number of the Smart Transmitter Interface command. Currently,

the only supported command is 16. This command indicates that you want to send a HART

command to a HART field device. Always place a 16 in word 4 of the integer data file.

Word 5

HART Command

This integer word contains the number of the HART command that the STT subroutine

generates and processes. Valid values are 0, 1, 3, 35, 38, 43, and 44.
Every HART command, except 0, requires the HART address returned by HART command 0.

Example: Inputs for HART Command 0

N10:0 indicates that the 1770-HT1 is located at I/O rack 4.

N10:1 indicates that the 1770-HT1 is located at I/O group 6.

N10:2 indicates that the HART field device is wired to channel 3.

N10:3 indicates that the HART field device has a polling address of 0.

N10:4 indicates that the Smart Transmitter Interface command is 16 (for STT release 1.00, it is always 16).

N10:5 indicates that this example is using HART command 0.

Data Table Report PLC–5/25 Addr 31 Data Table File N10:0

Address 0 1 2 3 4 5 6 7 8 9

N10:0 4 6 3 0 16 0 0 0 0 0

N10:10 0 0 0 0 0 0 0 0 0 0

N10:20 0 0 0 0 0 0 0 0 0 0

N10:30 0 0 0 0 0 0 0 0 0 0

N10:40 0 0 0 0 0 0 0 0 0 0

N10:50 0 0 0 0 0 0 0 0 0 0

2. Provide The STT

Subroutine Inputs