User manual
IEC61131 User and Reference Manual
April 22, 2008
307
hart33
Send HART command 33
Description
The hart33 function block sends a HART protocol command 33 (“read specified transmitter
variables”) to a HART device and processes the response.
enable
module
addressOfDevice
e
v0Code
v1Code
v2Code
v3Code
hart33
error
done
status
v0
code
u0
u1
v1
v2
v3
u2
u3
Arguments
Inputs
Type
Description
enable
Boolean
Set to TRUE to send one HART command. Enable
must then be set to FALSE and back to TRUE to send
another command. Each command is complete when
either the done or error output is TRUE.
module
Integer
The module address of the HART 5904 modem
module. Valid values are 0 to 3.
This must correspond with the module number of a
hart5904 Hart Modem I/O hardware.
addressOfDevice
Integer
The address of the HART device. Valid values are 0 to
15.
v0Code
Integer
Transmitter variable code 0.
The variable code specifies which variable is read from
the HART device. See the documentation for your
HART device for valid values.
v1Code
Integer
Transmitter variable code 1.
The variable code specifies which variable is read from
the HART device. See the documentation for your
HART device for valid values.
v2Code
Integer
Transmitter variable code 2.
The variable code specifies which variable is read from
the HART device. See the documentation for your
HART device for valid values.