User manual

IEC61131 User and Reference Manual
April 22, 2008
273
gethart
Get HART module configuration
Description
The gethart function block returns the configuration parameters for a 5904 HART Interface
module.
module
gethart
preambles
attempts
useAutoPreamble
typeDevice
Arguments
Inputs
Type
Description
module
Integer
The module address of the HART 5904 module. Valid
values are 0 to 3.
Outputs
Type
Description
attempts
Integer
The number of times each HART command will be
sent.
preambles
Integer
The number of preambles to send if fixed preambles
selected.
useAutoPreamble
Boolean
Use number of preambles requested by device when
TRUE.
Use fixed number of preambles when FALSE.
typeDevice
Integer
Master device type
0 = secondary master device
1 = primary master device
See Also
sethart, hart5904