Exercises

<< Click to Display Table of Contents >>

 

Exercises

1.Create a user event on the SelfHealing-type source of the *CurrentA-type Measurement, by selecting the Create new event Create new event option on the List of Events on the Scripts tab toolbar. Name this event as "OVC" and, in the Expression field, type "Value + Quality". That allows this event to be triggered whenever the source's value changes.

User script

User script

2.On the Scripts tab of the OVC event, type the next script.

If Value > 0 And Quality > 191 Then 'Current entering through terminal 1
  Parent.Parent.Parent.Item("Commands").Item("ProtectionGroup")._
    Item("Grupo1").Operate("Self-Healing")
ElseIf Value < 0 And Quality > 191 Then 'Current leaving through terminal 1
  Parent.Parent.Parent.Item("Commands").Item("ProtectionGroup")._
    Item("Grupo2").Operate("Self-Healing")
End If
'Performs a pulse on the SelfHealingNextStepTrigger measurement
Parent.Parent.Parent.Item("Measurements").Item("SelfHealingNextStepTrigger")._
  Item("Operator").Value = 1
Parent.Parent.Parent.Item("Measurements").Item("SelfHealingNextStepTrigger")._
  Item("Operator").Value = 0

 

3.Copy all Measurements and Commands created on D1 to D2, R1, and R2 devices.

 

NOTES

The *BreakerPosition Measurement cannot be copied. Therefore, copy only its SelfHealing-type source.

Links for Command Units must be fixed for the context of the new devices.

Was this page useful?