<< Click to Display Table of Contents >> Navigation: »No topics above this level« Cpu.CompareRuntimeVersionTo Method |
Call this method to see if the given version is
[Visual Basic]
Public Sub CompareRuntimeVersionTo( _
ByVal vCompare As String _
)
[C#]
public int CompareRuntimeVersionTo(
string vCompare
);
vCompare
The version string without major and minor notation. Has always to have the format cxxxx (e.g.: V2120 or A2031)
-2 if the runtime version is not given. (e.g.: the CPU object is not connected) 0 The runtime version of the PLC is same as the given Version string. -1 The runtime version of the PLC is older as the given Version string. 1 The runtime version of the PLC is newer as the given Version string.
The version to be compared to.
Cpu Class | BR.AN.PviServices Namespace
Generated from assembly BR.AN.PviServices [8.1.0.4]