User manual

IEC61131 User and Reference Manual
April 22, 2008
308
Inputs
Type
Description
v3Code
Integer
Transmitter variable code 3.
The variable code specifies which variable is read from
the HART device. See the documentation for your
HART device for valid values.
Outputs
Type
Description
done
Boolean
TRUE when the enable input is TRUE and a response
is received from the HART device.
FALSE in all other cases.
error
Boolean
TRUE when the enable input is TRUE and a there is
an error in the command, or if the HART device fails to
respond to any of the attempts.
FALSE in all other cases.
status
Integer
This output contains the status of the HART command
sent to the HART device.
0 =HART interface module is not communicating
1 =Command ready to send to device
2 =Command sent to device
3 =Response received
4 =No valid response received after all attempts made
5 =HART interface is not ready to transmit
code
Integer
This output contains one of the following depending on
the command status.
The number of the current command attempt, or,
Zero if the hart device does not respond after all
command attempts, or,
The response code from the HART device to the
command sent. See the Response Code section
below for information on response codes.
v0
Float
variable 0 value
u0
Integer
variable 0 units code
v1
Float
variable 1 value
u1
Integer
variable 1 units code
v2
Float
variable 2 value
u2
Integer
variable 2 units code
v3
Float
variable 3 value
u3
Integer
variable 3 units code
See Also
hart1, hart2, hart3