SetCount Method is used to Set the Count. This Count maybe any counter.
Signature:
SetCount (
[in] 0:Number Initial);
Table 72 – SetCount Method Arguments
Argument |
Description |
Initial |
The value to initialize the Object Count to, default is 0 |
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.
Comments
The SetCount Method command resets the value of the Count Variable. The Count Variable, may immediately start incrementing depending on how it is defined.
Table 73 specifies the AddressSpace representation for the SetCount Method.
Table 73 – SetCount AddressSpace Definition
Attribute |
Value |
||||
SetCount |
|||||
References |
Node Class |
DataType |
TypeDefinition |
Other |
|
0:HasProperty |
Variable |
0:InputArguments |
0:Argument[] |
0:PropertyType |
M |
ConformanceUnits |
|||||
MDIS Counter Object |
|||||
MDIS CIMV Base |