Contains configuration variables for a single Opto22 HART I/O module channel.
More...
Contains configuration variables for a single Opto22 HART I/O module channel.
void Opto22.HART.HartConfig.DefaultHartConfig |
( |
| ) |
|
Sets the properties of a HartConfig
struct to good default values.
Property | Default Value |
masterType | 1 |
retryLimit | 3 |
burstMode | 1 |
promiscuousMode | 0 |
numberOfPreambles | 5 |
byte Opto22.HART.HartConfig.masterType |
|
getset |
The module can be a Primary or Secondary master on the HART bus.
Valid Value | Meaning |
0 | Secondary Master |
1 | Primary Master |
byte Opto22.HART.HartConfig.retryLimit |
|
getset |
The number of times to retry after an error.
The module will attempt to resend a message after a failure (wiring fault, addressing fault, etc.). The total number of attempts before a NACK is generated is retryLimit + 1
because of the initial transmission attempt.
Allowed Values: 0-5
byte Opto22.HART.HartConfig.burstMode |
|
getset |
Determines whether the module will report burst messages or not.
Valid Value | Meaning |
0 | Module will not report bursts |
1 | Module will report bursts |
byte Opto22.HART.HartConfig.promiscuousMode |
|
getset |
Determines whether the module will report messages addressed to/from other masters.
Valid Value | Meaning |
0 | Module will not report other master messages |
1 | Module will report other master messages |
byte Opto22.HART.HartConfig.numberOfPreambles |
|
getset |
The number of preambles that precede each message.
Allowed Values: 5-20
The documentation for this struct was generated from the following file:
- C:/Java/Jenkins/jobs/Hart-DotNet-SDK/workspace/OptoHARTToolkit/HartClassLibrary/Hart.cs