SetArbitrationMode Method is used to change the arbitration strategy of the arbitration Object. If the mode cannot be changed the method shall return an error. This description applies to the following arbitration objects (MDISDigitalArbitrationObjectType, MDISDiscreteArbitrationObjectType, MDISInstrumentArbitrationObjectType).
Signature:
SetArbitrationMode (
[in] ArbitrationModeEnum ArbitrationMode);
Table 16 – SetArbitrationMode Method parameters
Argument |
Description |
ArbitrationMode |
ArbitrationMode enumeration value Variable, that defines the new arbitration mode, see 8.1.10 |
Method result codes are defined as part of the Call Service (see OPC 10000-4). They are described in Table 124 for ease of reference. The following specific Method result codes are defined in Table 17.
Table 17 – SetArbitrationMode Method result codes
ResultCode |
Description |
Bad_NotSupported |
The requested arbitration mode is not supported. |
Comments
The SetArbitrationMode Method will change the arbitration strategy. The Method will report if any error which occur while writing the value of the Object. Table 18 specifies the AddressSpace representation for the SetArbitrationMode Method.
Table 18 – SetArbitrationMode Method AddressSpace Definition
Attribute |
Value |
||||
SetArbitrationMode |
|||||
References |
Node Class |
DataType |
TypeDefinition |
Other |
|
0:HasProperty |
Variable |
0:InputArguments |
0:Argument[] |
0:PropertyType |
M |
ConformanceUnits |
|||||
MDIS Discrete Arbitration |
|||||
MDIS Digital Arbitration |
|||||
MDIS Instrument Arbitration Base |