Interpret the stt subroutine outputs, Example: outputs for hart command 0 – Rockwell Automation 1770,D17706.5.21 SMART TRANSMITTER TOOLKI User Manual
Page 25

Chapter 3
Using The Smart Tranmsitter Toolkit
3-6
Each HART command returns these outputs:
Command-specific outputs returned for a specific HART command.
See appendix A for more detail on the command specific outputs.
Standard Outputs that are returned for every HART command.
This table explains each of the seven standard outputs.
Standard Outputs
Integer
Word 30
STT Subroutine Status Word
(see page 3Ć4)
All handshaking with the STT subroutine is done with the STT status word.
Word 31
STT Subroutine Error Code
➀
This word contains any error code returned by the STT subroutine.
Word 32
Smart Transmitter Interface
Status Word
On powerup, the Smart Transmitter Interface sets bit 7 to a 1. All other bits are set to 0.
Therefore, the value for word 32 is 128 decimal.
The STT utility does not provide any way to reset bit 7 to a zero. Therefore, bit 7 is
always set to 1 in word 32.
Word 33
Smart Transmitter Interface
Error Code
➀
This word contains any error code returned by the 1770ĆHT1.
Word 34
HART
ProtocolĆCommunication Error
Code
➀
This word contains information that pertains to the reception of a message by a device.
An error in this word indicates that the HART transmitter detected a communications
error and the message was not accepted.
The response data is not returned when errors are reported.
Word 35
HART Command Response
Summary Error Code
➀
This word contains information relative to the execution of a HART command. This error
code is command dependent.
Word 36
HART Field Device Error
Code
➀
This word contains information that pertains to the operating status of the HART device
as a whole and is not associated with the completion of any HART command.
➀
See appendix B for a list of error codes.
Example: Outputs for HART Command 0
These three integer words
are the HART address.
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 4 0 128 0 0 0 0 0 0 0
N10:40 9858 269 12807 0 0 0 0 0 0 0
N10:50 0 0 0 0 0 0 0 0 0 0
These seven integer words contain the status of
the STT subroutine and the communications
with the HART field device.
Important: We used this example because every ladder program must
have a JSR instruction and all HART communications must start with
HART command 0. Every HART command (except HART command 0)
requires the HART address.
5. Interpret The STT
Subroutine Outputs