This interface can be used to read/write certain properties of the active DSS object. The structure of the interface is as follows:


int32_t RelaysI(int32_t Parameter, int32_t Argument);


This interface returns an integer with the result of the query according to the value of the variable Parameter, which can be one of the following:


Parameter 0: Relays.Count

This parameter gets number of Relays in active circuit.


Parameter 1: Relays.First

This parameter sets first relay active. If none, returns 0.


Parameter 2: Relays.Next

This parameter sets next relay active. If none, returns 0.


Parameter 3: Relays.MonitoredTerm read

This parameter gets the number of terminal of monitored element that this relay is monitoring.


Parameter 4: Relays.MonitoredTerm write

This parameter sets the number of terminal of monitored element that this relay is monitoring.


Parameter 5: Relays.SwitchedTerm read

This parameter gets the number of terminal of the switched object that will be opened when the relay trips.


Parameter 6: Relays.SwitchedTerm write

This parameter sets the number of terminal of the switched object that will be opened when the relay trips.


Parameter 7: Relays.Idx read

This parameter gets the active relay by index into the Relay list. 1..Count.


Parameter 8: Relays.Idx write

This parameter sets the active relay by index into the Relay list. 1..Count.


Parameter 9: Relays.Open

This parameter opens recloser's controlled element and lock out the relay.


Parameter 10: Relays.Close

This parameter closes the switched object controlled by the relay. Resets relay to first operation.


Parameter 11: Relays.Reset

This parameter resets the relay to its normal state. If open, lock out the relay. If closed, resets relay to first operation.