SNRequestAllocated –This method requests allocated serial numbers from an OPC UA Server that is performing serial number management for a specific Serial Number Pool.
The signature of this Method is specified below. Table 9 and Table 10 specify the Arguments and AddressSpace representation, respectively.
Signature
SNRequestAllocated (
[in]String SNCollectionID
[in]UInt32 Count
[in]String SNFormat
[in]OPENSCSKeyValueDataType[]PoolSelectionCriteria
[in]String RequestToken
[out]OPENSCSReturnEnum ReturnStatus
[out]OPENSCSSNCollectionDataType SNCollection
[out]String ReturnedRequestToken
);
Table 9 – SNRequestAllocated Method Arguments
Argument |
Description |
SNCollectionID |
See 6.3.1.2. |
Count |
See 6.3.1.2. |
SNFormat |
See 6.3.1.2. |
PoolSelectionCriteria |
See 6.3.1.2. |
RequestToken |
See 6.3.1.2. |
ReturnStatus |
See 6.3.1.2. |
SNCollection |
See 6.3.1.2. |
ReturnedRequestToken |
See 6.3.1.2. |
Method Result Codes are defined as part of the Call service (see OPC 10000-4 and Table 95).
Table 10 – SNRequestAllocated Method AddressSpace Definition
Attribute |
Value |
||||
BrowseName |
SNRequestAllocated |
||||
IsAbstract |
True |
||||
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
0:HasProperty |
Variable |
InputArguments |
Argument[] |
0:PropertyType |
Mandatory |
0:HasProperty |
Variable |
OutputArguments |
Argument[] |
0:PropertyType |
Mandatory |