Overcurrent Automation Interface
Overcurrent Automation Interface
Automation Interface
OMICRON Test Universe
2
Contents
Contents
3
OMICRON Test Universe
Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
4
Overcurrent Automation Interface
5
OMICRON Test Universe
Reference
The following section contains the enumeration of all the properties and
methods that will be available via automation in the OMOvcBND module.
Application Object
The application object is the root of the OMICRON Overcurrent object hierarchy.
It is the only object that can be created directly by other OLE Automation
controllers (e.g. MS Excel using CreateObject).
This object is unique within the OMICRON Overcurrent Module. If you want to
create another Application object with CreateObject, a new instance of the
OMICRON Overcurrent program is started to handle this object.
You can use this object as a starting point to navigate through the hierarchy tree.
You can get references to the Document Object (Document) and the Predefined
Constant Values (Constants) objects.
Properties
Application (read only)
Syntax: object.Application
6
Overcurrent Automation Interface
Syntax: object.Constants
Syntax: object.Document
7
OMICRON Test Universe
Syntax: object.Name
Type: String
Syntax: object.Parent
Type: Object
Description: This property always returns the parent object in the object
hierarchy. In this case it is the Application Object itself
(Application).
8
Overcurrent Automation Interface
Visible
Syntax: object.Visible
Type: Boolean
Note: If you use an external OLE Automation controller (e.g. OMICRON Control
Center) and you create the Application Object (Application) therefore
starting the OMICRON Overcurrent program, you have to set the visible
property to TRUE before you see the main window of the application.
Methods
Quit
Syntax: object.Quit
9
OMICRON Test Universe
Document Object
With the Document Object (Document) you have access to the data in the
Overcurrent module.
Properties
Application (read only)
Syntax: Object.Application
10
Overcurrent Automation Interface
Syntax: object.ChangeAllowed
Type: Boolean
Comment
Syntax: object.Comment
Type: String
Description: This property allows access to the comment string that can be
shown in the report.
11
OMICRON Test Universe
Syntax: object.HwInfo
Syntax: object.Parent
Type: Object
Description: This property always returns the parent object in the object
hierarchy. In this case it is the Application Object (Application).
12
Overcurrent Automation Interface
Syntax: object.PuDoTest
Syntax: object.Shots
Description: Returns the Shots collection object. This object holds the list of
overcurrent test points that form the test sequence.
13
OMICRON Test Universe
Syntax: object.TestObject
TestSettings
Syntax: object.TestSettings
14
Overcurrent Automation Interface
Syntax: object.Version
Type: String
15
OMICRON Test Universe
Methods
UpdateAllViews(hint)l
Syntax: object.UpdateAllViews(hint)
Long hint
Type: None
Description: This method updates the UI and the report. The optional Hint
parameter is used to add information that the views can
interpret. By calling this method without parameters, all the UI
is fully updated.
16
Overcurrent Automation Interface
TestSettings Object
Properties
AbsMaxTime
Syntax: object.AbsMaxTime
Type: Double
Syntax: object.Application
17
OMICRON Test Universe
Syntax: object.BinaryOutputs
DelayTime
Syntax: object.DelayTime
Type: Double
Description: Get / set the delay time in seconds. This is the time between
shots where all the output magnitudes will be 0.
18
Overcurrent Automation Interface
FaultType
Syntax: object.FaultType
Type: Long
Description: Get: Returns the type of fault of the first shot. If no shot is
available, the type of fault of the first PUDO test will be
returned. If no PUDO test exists, the current value of the user
interface will be returned.
Set: Sets the type of fault of all existing shots and PUDO tests.
If none is available the value of the user interface will be set.
The possible values for this property are:
FAULT_L1E
FAULT_L2E
FAULT_L3E
FAULT_L1L2
FAULT_L3L1
FAULT_L2L3
FAULT_L1L2L3
FAULT_3I0 (Zero-sequence fault)
FAULT_I2 (Negative sequence fault)
19
OMICRON Test Universe
FaultVAngle
Syntax: object.FaultVAngle
Type: Double
Description: Get: Returns the fault angle for the voltages in degree of the
first shot. If no shot is available, the fault angle of the first
PUDO test will be returned. If no PUDO test exists, the current
value of the user inteface will be returned.
Set: Sets the fault angle for the voltages in degree of all
existing shots and PUDO tests. If none is available the value of
the user interface will be set.
LoadIsRel
Syntax: object.LoadIsRel
Type: Boolean
Description: Get / set whether the load current is fixed for all shots (False)
or different for each fault and equal to a fraction of the fault
current for each point (True).
20
Overcurrent Automation Interface
LoadCurrent
Syntax: object.LoadCurrent
Type: Double
Description: Get / set the Load Current in times In. This setting will be used
by the module when LoadIsRel is False.
LoadCurrentRel
Syntax: object.LoadCurrentRel
Type: Double
Description: Get / set the Load Current in times Ifault. This setting will be
used by the module when LoadIsRel is True.
21
OMICRON Test Universe
PreFaultTime
Syntax: object.PreFaultTime
Type: Double
FaultVoltageLN
Syntax: object.FaultVoltageLN
Type: Double
Description: Get / set the line to neutral fault voltage, in Volts. This value is
linked to FaultVoltageLL, so changes in one of them are
reflected on the other.
22
Overcurrent Automation Interface
FaultVoltageLL
Syntax: object.FaultVoltageLL
Type: Double
Description: Get / set the line to line fault voltage, in Volts. This value is
linked to FaultVoltageLN, so changes in one of them are
reflected on the other..
Syntax: object.FixedTrigger
23
OMICRON Test Universe
Syntax: object.GroupOfFault
Type: Long
Description: Get the group to which the fault set in FaultType belongs. Each
group may have its own settings for each of the three
protective units (I>, I>> and I>>>)
The possible values for this property are:
GROUP_LN All the line to ground faults
GROUP_LL All the line to line faults, including L1L2L3
GROUP_3I0 Includes the Zero-sequence fault
GROUP_I2 Includes the Negative sequence fault
GROUP_I1 Includes the Positive sequence fault
Syntax: object.Parent
Description: This property always returns the parent object in the object
hierarchy. In this case it is the Document Object (Document).
24
Overcurrent Automation Interface
RelMaxTime
Syntax: object.AbsMaxTime
Type: Double
25
OMICRON Test Universe
FixedTrigger Obeject
This object allows reading and setting the Fixed Trigger object. This king of
trigger has a fixed number of binary inputs plus one trigger criterion (AND or
OR).
Properties
Input (index)
Syntax: object.Input(index)
Integer index (1 to 10
Type: Long
Syntax: object.InputName(index)
Integer index (1 to 10)
Type: String
Description: Get the name of a given input. This name is the same that will
appear in the UI.
26
Overcurrent Automation Interface
Syntax: object.InputSelected(index)
Integer index (1 to 10)
Type: Boolean
Logic
Type: Long
Description: Get / set the logic relationship between the trigger inputs.
The possible values for this property are:
LOGIC_AND (The logic AND of all inputs activates the
trigger)
LOGIC_OR (The logic OR of all inputs activates the
trigger)
27
OMICRON Test Universe
Trigger Example
Dim otm As Object
Dim Ovc As Object
Dim Con As object
Set otm = Document.InsertObject("OMOvcBND.Document")
Set Ovc = otm.Specific
Set Con = Ovc.Constants
Dim trigger As Object
Set trigger = Ovc.Document.TestSettings.FixedTrigger
'In the Hw configuration there is an input named "Trip"
'We want to set that one to "Positive" and all the rest to
"Don't care"
Dim tripFound As Boolean
Dim i As Integer
For i = 1 To 10
If trigger.InputSelected(i) Then
If trigger.InputName(i) = "Trip" Then
trigger.Input(i) = Con.TRIG_POS
tripFound = True
Exit For
Else
trigger.Input(i) = Con.TRIG_DONTCARE
End If
End If
Next i
If Not tripFound Then
MsgBox("ERROR: Trip input was not found")
Else
trigger.Logic = Con.LOGIC_OR
End If
28
Overcurrent Automation Interface
Properties
Count (read only)
Syntax: object.Count
Type: Long
29
OMICRON Test Universe
Syntax: object.Item(SignalID)
Long SignalID - Signal ID of the binary output
30
Overcurrent Automation Interface
Syntax: object.Item(Index)
Variant Index - Index number of the binary output
31
OMICRON Test Universe
BinaryOutput Object
Properties
Value (default property)
Syntax: object.Value
Type: Boolean
Description: This property is True when the binary output is set (active), and
False when it is not (inactive).
32
Overcurrent Automation Interface
Syntax: object.Name
Type: String
Description: Get the name of the output (as set by the user in the Hardware
Configuration dialog).
33
OMICRON Test Universe
HWInfo Object
This object allows reading some values from the hardware. All the values are
read-only
Properties
34
Overcurrent Automation Interface
Syntax: object.CMCSerNo
Type: String
Description: Returns the serial number of the CMC test set that is used for
the test. In case of off-line testing (no CMC connected), the
returned string will be "???????"
Syntax: object.CMCType
Type: String
Description: Returns the type of the CMC test set that is used for the test
(e.g., "CMC256-6"). In case of off-line testing (no CMC
connected), the returned type is the one you selected for the
test simulation.
35
OMICRON Test Universe
Syntax: object.CMCIDStr
Type: String
36
Overcurrent Automation Interface
TestObject Object
This object allows access to the Overcurrent Test Object, including the Device
block.
When changing the value of the Test Object settings, the Test Module must be
reconfigured to adapt to the new settings, which is done automatically after each
change of a Test Object setting. As this can take a noticeable amount of time,
the TestObject automation object provides a flag to disable the automatic
reconfiguration. The property AutoUpdate, True by default, selects whether or
not the OMOvcBND module should be automatically configured whenever any
settings are changed. If the user sets this property to False, then he should call
the PostProcessTOChanges method after he is finished doing changes.
PostProcessTOChanges is called automatically when the TestObject object
is destroyed, if any changes had been made and not processed.
Syntax: object.AddInfo1
Type: String
AddInfo2
Syntax: object.AddInfo2
Type: String
Address
Syntax: object.Address
Type: String
37
OMICRON Test Universe
BayAddr
Syntax: object.BayAddr
Type: String
BayName
Syntax: object.BayName
Type: String
Syntax: object.CTRatio
Type: String
Description: Get the ratio of the CT. This Value is equal to Iprim / INom.
DebounceTime
Syntax: object.DebounceTime
Type: String
DeglitchTime
Syntax: object.DeglitchTime
Type: String
DevType
Syntax: object.DevType
Type: String
38
Overcurrent Automation Interface
Fnom
Syntax: object.Fnom
Type: String
IMax
Syntax: object.IMax
Type: String
INom
Syntax: object.INom
Type: String
Iprim
Syntax: object.Iprim
Type: String
Manufacturer
Syntax: object.Manufacturer
Type: String
39
OMICRON Test Universe
Name
Syntax: object.Name
Type: String
Phases
Syntax: object.Phases
Type: String
Syntax: object.PTRatio
Type: String
Description: Get the ratio of the PT. This value is equal to Vprim / VNom.
ResidualI
Syntax: object.ResidualI
Type: String
ResidualV
Syntax: object.ResidualV
Type: String
40
Overcurrent Automation Interface
Serial
Syntax: object.Serial
Type: String
SubsAddr
Syntax: object.SubsAddr
Type: String
SubsName
Syntax: object.SubsName
Type: String
VMax
Syntax: object.VMax
Type: String
VNom
Syntax: object.VNom
Type: String
41
OMICRON Test Universe
Vprim
Syntax: object.Vprim
Type: String
Syntax: object.CurrTolAbs
Type: String
CurrTolRel
Syntax: object.CurrTolRel
Type: String
CurrTToBus
Syntax: object.CurrTToBus
Type: String
Directional
Syntax: object.Directional
Type: String
42
Overcurrent Automation Interface
Syntax: object.FaultGroup(Index)
Long Index
Description: Get the FaultGroup object. The index must be one of the
following:
GROUP_LNAll the line to ground faults
GROUP_LL All the line to line faults, including L1L2L3
GROUP_I0 Includes the Zero-sequence fault
GROUP_I2 Includes the Negative sequence fault
PwrTOnBus
Syntax: object.PwrTOnBus
Type: String
TimeTolAbs
Syntax: object.TimeTolAbs
Type: String
TimeTolRel
Syntax: object.TimeTolRel
Type: String
43
OMICRON Test Universe
Syntax: object.Application
Type: String
Syntax: object.Parent
Type: String
Description: This property always returns the parent object in the object
hierarchy. In this case it is the Document Object (Document).
AutoUpdate
Syntax: object.AutoUpdate
Type: String
44
Overcurrent Automation Interface
Methods
UpdateAfterChanges()
Syntax: object.UpdateAfterChanges()
Type: String
45
OMICRON Test Universe
FaultGroup Object
This object allows access to the protective units in a Fault Group. All fault groups
have by design the same structure and the same parameters. There are three
protective units per group, of which the second and third units (I>> and I>>>) are
Definite Time, while the first unit (I>) can be definite time or Inverse time with an
adjustable characteristic.
Properties
IGrActive
Syntax: object.IGrActive
Type: Boolean
Description: Get / set whether the I> protective unit is active. The unit can
be configured regardless of the value of this parameter..
IGrIpickup
Syntax: object.IGrIpickup
Type: Double
Description: Get / set the pickup value for the I> protective unit in times In..
IGrTimeIndex
Syntax: object.IGrTimeIndex
Type: Double
Description: Get / set the Time index for the tripping characteristic of the I>
protective unit. If the unit is set to Definite Time, this parameter
is considered as the operating time, in seconds. If the unit is
set to a curve, this parameter is considered as the time index
for the curve, and has no dimension. .
46
Overcurrent Automation Interface
IGr2Active
Syntax: object.IGr2Active
Type: Boolean
Description: Get / set whether the I>> protective unit is active. The unit can
be configured regardless of the value of this parameter.
IGr2Ipickup
Syntax: object.IGr2Ipickup
Type: Double
Description: Get / set the pickup value for the I>> protective unit in times In.
Gr2OperTime
Syntax: object.IGr2OperTime
Type: Double
Description: Get / set the operating time for the I>> protective unit, in
seconds.
IGr3Active
Syntax: object.IGr3Active
Type: Boolean
Description: Get / set whether the I>>> protective unit is active. The unit can
be configured regardless of the value of this parameter..
IGr3Ipickup
Syntax: object.IGr3Ipickup
Type: Double
Description: Get / set the pickup value for the I>>> protective unit in times
In..
47
OMICRON Test Universe
IGr3OperTime
Syntax: object.IGr3OperTime
Type: Double
Description: Get / set the operating time for the I>>> protective unit, in
seconds.
ResetRatio
Syntax: object.ResetRatio
Type: Double
Description: Get / set the nominal Reset Ratio (Ipickup / Idropoff) for the
group. If TestSettings.EvaluateResetRatio is True, this will be
the nominal value against which the measured ratio is
evaluated. The value of this property goes from 1 to 5 in steps
of 0.01..
Syntax: object.TripChar
Description: Get the TripChar object for access to the tripping characteristic
of the I> protective unit..
Syntax: object.StageCount
Type: Long
Description: Returns the amount of Stages which are defined for a specific
Fault Group (Element Type).
48
Overcurrent Automation Interface
Methods
CreateStage
Syntax: CreateStage ()
DeleteStage (Index)
GetStage (Index)
49
OMICRON Test Universe
TripChar Object
Gives access to the Tripping Characteristic object. This characteristic can be
predefined or user-set. The predefined characteristics are: Definite time.
Properties
A (read only)
Syntax: object.A
B (read only)
Syntax: object.B
Syntax: object.IsDefiniteTime
Syntax: object.IsI2t
50
Overcurrent Automation Interface
Syntax: object.IsInverse
Syntax: object.IsPredefined
Syntax: object.IsUserChar
K1 (read only)
Syntax: object.K1
51
OMICRON Test Universe
K2 (read only)
Syntax: object.K2
Name
Syntax: object.Name
P (read only)
Syntax: object.P
Q (read only)
Syntax: object.Q
52
Overcurrent Automation Interface
Syntax: object.UserPoints
Methods
SetPredefinedChar (type)
53
OMICRON Test Universe
SetI2tChar(Name, A, P, Q)
Syntax: SetI2tChar(Name, A, P, Q)
String Name
Double A
Double P
Double Q
54
Overcurrent Automation Interface
SetUserChar(Name)
Syntax: SetUserChar(Name)
String Name
Description: Set the characteristic to User Char, with the provided name.
Returns True if the operation was successful, False otherwise.
Note: We use this method to give a name to the User Characteristic and
activate it. Please note that this method will clear the User Point
array (UserPoints object). After using this method, the points must
be added to UserPoints. It is important to know that the points in
UserPoints will be deleted if SetInverseChar,
SetPredefinedChar or SetI2tChar are called; also, that
UserPoints will be read-only until the characteristic has been set
to User Char with this method.
55
OMICRON Test Universe
Properties
Count (read only)
Syntax: object.Count
Type: Long
Syntax: object.Item(Index)
Long Index
Description: This property returns a user point Object (UserPoint) from the
UserPoints collection. The index is the number of the entry in
the list (between 1 and UserPoints.Count). If no index is given,
the UserPoints Collection Object is returned (reference to self)
56
Overcurrent Automation Interface
Methods
Add(Ipu, Time)
Description: Creates a new user point and adds it to the collection. Returns
the UserPoint object if the point was successfully created and
added, Nothing if the method could not add the point. Points
added to the characteristic are automatically by increasing
current values, so it is not safe to assume that the newly added
point will be at the end of the collection: it can be anywhere.
The user must provide the current in times the pickup current,
and the corresponding time. It is not possible to add points
having the same current value as one point already in the
table. The user characteristic must follow a down-and-right
direction, points that would create an upward or leftward
direction of the characteristic are not allowed.
Remove (index)
Syntax: Remove(Index)
Long Index
Type: Boolean
Description: Removes a point from the list. Index must be between 1 and
UserPoints.Count. Returns True if the point was removed,
False otherwise. Please note that it is permitted to remove all
points of a characteristic.
57
OMICRON Test Universe
RemoveAll()
Syntax: RemoveAll()
Type: Boolean
58
Overcurrent Automation Interface
UserPoint Object
Properties
Current (read only)
Syntax: object.Q
Type: Double
Description: Get the point's current in times the pickup current. This value is
set when the point is added with the UserPoints.Add method.
Syntax: object.Q
Type: Double
Description: Get the time in seconds. This value is set when the point is
added with the UserPoints.Add method.
59
OMICRON Test Universe
oc.Connect
ocTO.AutoUpdate = False
ocTO.Directional = True
ocTO.PwrTOnBus = False
60
Overcurrent Automation Interface
ocTO.CurrTToBus = False
ocTO.CurrTolRel = 10
ocTO.CurrTolAbs = 0.1
ocTO.TimeTolRel = 3
ocTO.TimeTolAbs = 0.1
'After the general settings, let's set the groups one by one
group.IGrActive = True
group.IGrIpickup = 5
group.IGrTimeIndex = 1
char.SetInverseChar("GE DFP100 VI", 3.922, 0.0982, 2, 1,
0, 0)
group.IGr2Active = True
group.IGr2Ipickup = 100
group.IGr2OperTime = 0.1
group.IGr3Active = False
group.IGr3Ipickup = 100
group.IGr3OperTime = 1
group.IGrActive = True
group.IGrIpickup = 5
group.IGrTimeIndex = 1
char.SetUserChar("UserChar")
char.UserPoints.Add(1.05, 100.0)
char.UserPoints.Add(1.20, 40.0)
char.UserPoints.Add(1.50, 28.0)
61
OMICRON Test Universe
char.UserPoints.Add(2.00, 23.0)
group.IGr2Active = True
group.IGr2Ipickup = 100
group.IGr2OperTime = 0.1
group.IGr3Active = False
group.IGr3Ipickup = 100
group.IGr3OperTime = 1
group.IGrActive = True
group.IGrIpickup = 1
group.IGrTimeIndex = 1
char.SetPredefinedChar(ocConst.PREDEF_NORMAL_INVERSE)
group.IGr2Active = True
group.IGr2Ipickup = 4
group.IGr2OperTime = 0.1
group.IGr3Active = False
group.IGr3Ipickup = 10
group.IGr3OperTime = 0.05
group.IGrActive = True
group.IGrIpickup = 1
group.IGrTimeIndex = 1
char.SetPredefinedChar(ocConst.PREDEF_NORMAL_INVERSE)
group.IGr2Active = True
group.IGr2Ipickup = 4
group.IGr2OperTime = 0.1
group.IGr3Active = False
group.IGr3Ipickup = 10
group.IGr3OperTime = 0.05
62
Overcurrent Automation Interface
ocApp.Quit
63
OMICRON Test Universe
Properties
Count (read only))
Syntax: object.Count
Type: Long
Syntax: object.Item(Index)
Long Index
Description: This property returns a test point (Shot) from the Shots
collection. The index is the number of the entry in the list
(between 1 and Shots.Count). If no index is given, the Shots
Collection Object is returned (reference to self)
Methods
Add (Itest))
Syntax: Add(Itest)
Double Itest
Description: Creates a new test point and adds it to the collection. Returns
the Shot object if the point was successfully created and
added, Nothing if the method could not add the point. New
points are added at the end of the test point list. The user must
provide the current in absolute values.
64
Overcurrent Automation Interface
Remove (Index)
Syntax: Remove(Index)
Long Index
Description: Removes a point from the list. Index must be between 1 and
Shots.Count. Returns True if the point was removed, False
otherwise.
RemoveAll()
Syntax: RemoveAll()
65
OMICRON Test Universe
Shot Object
This object gives access to the test point's nominal values and results.
Properties
ActualTime (read only)
Syntax: object.ActualTime
Description: Get the actual test time in seconds or -1 if no trip was detected.
This property is meaningful only when TestStatus is
TEST_TESTED
FaultLoop
Syntax: object.FaultLoop
Description: Get or Sets the Fault Loop. Please use the AutoConst Object
to determine the values for the different Fault Loops.
Syntax: object.GetRelativeToElementType
66
Overcurrent Automation Interface
Syntax: object.GetRelativeToElementName
Syntax: object.MaxTime
Description: Get the maximum permissible trip time for the point in seconds,
or -1 if it is infinite (no trip).
Syntax: object.MinTime
Description: Get the minimum permissible trip time for the point in seconds,
or -1 if it is infinite (no trip).
Syntax: object.NominalTime
Description: Get the nominal trip time for the point in seconds, or -1 if it is
infinite (no trip).
67
OMICRON Test Universe
Syntax: object.OkStatus
Syntax: object.Overload
Description: True if overload was detected during testing of this point. The
user must then decide whether the value of OkStatus is still
useful. This property is meaningful only when TestStatus is
TEST_TESTED.
Syntax: object.RelError
Description: Get the relative error for the point, in %. This property is
meaningful only when TestStatus is TEST_TESTED.
Syntax: object.TestCurrent
Description: Get the test current for the point in times Ipickup.
68
Overcurrent Automation Interface
Syntax: object.TestCurrentAbs
Syntax: object.TestStatus
Description: Get the status of the test point. The property will return one of
the following values:
TEST_TESTED The point is fully tested
TEST_NOT_TESTED The point is not tested
TEST_OUT_OF_RANGE Not tested - out of range
TEST_OUT_OF_TIMERANGE Not tested - out of time range
TEST_TRIP_PREFAULT Not tested - tripped during
prefault
Out or range happens when the currents and/or voltages
necessary to test the point according to the user's
specifications exceed the hardware's limits or any of the
maximums set in the Test Object for the relay's protection
(TestObject.VMax and TestObject.IMax).
Out of time range happens when the maximum test time
exceeds the limits of the module. Please note that this does not
include "No tripping", which resolves to the maximum fault time
(absolute or relative, as appropriate.)
If the point tripped during pre-fault, the results are
meaningless, since the fault values where not even applied -
no times will be found in this case.
69
OMICRON Test Universe
PuDoTest Object
This object allows access to the Pickup / Dropout test in the overcurrent module.
Properties
Dropout (read only)
Syntax: object.Dropout
Type: Double
Description: Get the relay's dropout value. The user must first consult
TestStatus to see if the value is meaningful.
Evaluate
Syntax: object.Evaluate
Type: Boolean
Description: Get / set whether the test will be evaluated. If the test is not
evaluated, its result will not be used for the module's
evaluation.
Syntax: object.Overload
Type: Double
Description: True if overload was detected during testing. The user must
then decide whether Pickup and Dropout are still useful.
Syntax: object.Passed
Type: Boolean
Description: Get whether the pickup test was passed (True) or failed
(False). This value is meaningful only if TestStatus is PU_-
TESTED and Evaluate is True.
70
Overcurrent Automation Interface
Syntax: object.Pickup
Type: Double
Description: Get the relay's pickup value. The user must first consult
TestStatus to see if the value is meaningful.
Resolution
Syntax: object.Resolution
Type: Double
Description: Get / set the resolution of the test, in cycles. This value affects
the timing of the Pu/Do test steps.
Syntax: object.RelError
Type: Double
Description: Get the relative error of the Pu/Do ratio, in percent. This value
is meaningful only if TestStatus is PU_TESTED.
TripValue
Syntax: object.TripValue
Type: Double
Description: Get / set the value of the initial trip for the EM test, in times the
pickup current.
71
OMICRON Test Universe
Type
Syntax: object.Type
Type: Long
Syntax: object.TestStatus
Type: Long
Note: The following section describes the scope and meaning of the
values for TestStatus.
PU_TESTED applies to both types of tests. It means that the test was fully
completed and both the Pickup and the Dropout values were found. All results
are valid.
PU_NO_START applies only to the Start test. It means that the Start contact
never was active. Often this is a signal of wrong wiring or incorrect configuration
of the Trigger (FixedTrigger object.) No results are valid
72
Overcurrent Automation Interface
Syntax: object.TestStatusStr
Type: String
73
OMICRON Test Universe
Example of Test
This example will set the Pu/Do test and a list of points, will perform a test and
will read some results.
Option Explicit
Dim oc As Object
Dim ocApp As Object
Dim ocConst As Object
Dim ocShots As Object
Dim ocPuDo As Object
'Now check that all points are passed, and the overload
status
74
Overcurrent Automation Interface
Failed = False
Overloaded = False
75
OMICRON Test Universe
MsgBox msg
LeaveApp:
ocApp.Quit
End Sub
76
Support
Support
When you are working with our products we want to provide you with the
greatest possible benefits. If you need any support, we are here to assist you!
OMICRON electronics GmbH, Oberes Ried 1, 6833 Klaus, Austria, +43 59495
77
Support
78