Tiza Group

Home / Guides / Testing, commissioning and faults

PLC Not Reading the Status of the Relays: Causes and Checks

Why the PLC does not see relay status over the network: link, model, reports, data type and reservation, with measurable steps. We configure it remotely.

By Shadai García, CEO and protection engineer at Tiza Group.

Short answer

When a substation PLC does not read the relay status, most often the connection is there but the data is not published or not interpreted: the relay does not send the report, another client reserved it, the data type does not match or the model loaded in the PLC is from another version. It is separated by layers: link, association, data and meaning. It is fixed with a test read from the relay before touching the PLC program.

Symptom

The substation PLC should receive the relay status (position of breakers and disconnectors, alarms, trips) for its interlocking and sequences, but those values stay at zero, frozen, with invalid quality, or arrive from one relay and not from another. Sometimes the symptom appears after replacing a relay, updating the PLC program or rearranging the network.

To understand what each IEC 61850 service does in a PLC and how the project is built, see PLC with IEC 61850: Modicon M580, S7-1500 and ControlLogix. This guide is limited to ordering the causes of the symptom and measuring them.

Likely causes, from most to least likely

CauseHow to recognize itWhat confirms it
The data is not in the relay’s report or data setThe connection is active but the value does not changeLook at the relay’s data set and report block
Report block not enabled or reserved by another clientAnother client (SCADA, gateway) does receive data and the PLC does notReport block state and who has it reserved
Different data type or encodingInverted states, nonexistent intermediates, jumping valuesCompare the type in the relay with that of the PLC tag
Model imported in the PLC from another versionIt worked until a relay was replaced or updatedCompare the file version with the relay’s
Link, address or segmentIntermittent or no response to basic network testsConnectivity test and review of address and mask
Relay connection limitOne relay communicates and another does not; it fails when a client is addedNumber of simultaneous associations against the device maximum
PLC exchange cycle badly sizedThe value arrives, but late or in jumpsTask update time against the data change
Byte or word order (Modbus)Meaningless values that do changeRegister read by hand against the expected one

How to diagnose it

  1. Test the relay without the PLC. Connect a test client and read the breaker status directly. If it changes when you operate or simulate, the relay publishes correctly. If not, stop here: the problem is the relay or its configuration.
  2. Separate by layers. Layer 1, link: does the PLC respond to network tests and is the relay port reachable? Layer 2, association: does the PLC manage to open the session as a client? Layer 3, data: is the data in an enabled report or is it read by polling? Layer 4, meaning: does the value have the expected type and encoding? Follow that order and stop where it fails.
  3. Check who else uses the relay. A report block can be reserved to one client at a time, and relays limit the number of associations. If another system took it first, the PLC is left without a report. The differences between buffered and unbuffered reports, and what happens after a disconnection, are in MMS buffered and unbuffered reports.
  4. Compare the models. The file the PLC uses must be that of the real relay, with its revision. If the relay was replaced or updated, the references may have changed; this is also covered in data set that stops reporting after being edited.
  5. Verify the data type. A breaker position is transmitted as a two-bit double-point value; to see why it matters, read breaker status inverted in the SCADA, which applies equally to the PLC. If the status arrives but with invalid quality, the check continues in data quality and time stamp.
  6. If the PLC uses Modbus, read the register by hand with the map in the relay manual and compare: base address (zero or one), register type and word order. The general logic is in Modbus data model and functions.
  7. Size the cycle. If the status arrives but late, compare the time of the task that processes it with the speed of the change: a slow task can miss short states.

Illustrative example

A PLC must read the status of six relays. Five appear correctly and one stays at zero. With a test client, the sixth relay responds and its status changes when simulated. Looking at its report block shows it is taken by the SCADA and the relay only admits one client on that block. A second report block with the same data set is assigned to the PLC and enabled, and the status arrives. It is a generic situation; the number of available blocks depends on each relay.

What to do

  • Data outside the report: include it in the data set, enable the report with the right trigger conditions and an integrity period.
  • Reservation or connection limit: spread the clients across different report blocks or let a gateway concentrate the reading; confirm the maximum in the relay manual.
  • Data type: declare the PLC tag as a double-point value and ensure the bit order; document the encoding.
  • Model from another version: re-import the current file and redo the references that changed.
  • Network: fix the address, mask or segment, and check that traffic is not being filtered in a switch or firewall.
  • Cycle: speed up the task or use the event time stamp, not the arrival time.

Field checklist

  • Status read directly from the relay with a test client.
  • Network connectivity from the PLC to the relay verified.
  • Client session open and data present in an enabled report.
  • Report block reservation and number of associations reviewed.
  • PLC model version equal to the relay’s.
  • Data type (double-point, not boolean) and bit order confirmed.
  • Task cycle compatible with the data change.
  • Real or simulated change reflected in the PLC.

What not to do

  • Do not force states in the PLC program to “see” that it works: an interlock with a forced state can allow an unsafe operation.
  • Do not operate an energized device to test the read; use relay simulation or an isolated bay.
  • Do not release or cancel the report block reservation of another system without coordinating it: it leaves the SCADA without data.
  • Do not use slow polling reads to replace a report if the status takes part in interlocking.
  • Do not put the PLC on the process or trip network without an approved network design.

When to call us

Call us when the status still does not arrive after separating by layers, when there are relays from several brands with different encodings, or when the status feeds interlocking and sequences that must be tested with evidence. With the PLC and relay files we organize the exchange point by point. We configure it remotely: ask for help with the configuration.

References

  • IEC 61850-7-2, Communication networks and systems for power utility automation: Part 7-2: Basic information and communication structure: Abstract communication service interface (ACSI).
  • IEC 61850-8-1, Communication networks and systems for power utility automation: Part 8-1: Specific communication service mapping (SCSM): Mappings to MMS (ISO 9506-1 and ISO 9506-2) and to ISO/IEC 8802-3.
  • IEC 61131-3, Programmable controllers: Part 3: Programming languages.

Frequently asked questions

Why does the PLC connect to the relay and still not read the breaker status?

Because connecting is not receiving data. In IEC 61850 the PLC must also associate as a client and subscribe to a report block that includes the data, or read it periodically. If the report is not enabled, is reserved by another client or the data is not in its data set, the connection looks healthy and the value does not arrive.

The breaker status arrives, but inverted or with a strange value?

Almost always it is the data type. A breaker position is a double-point value with four combinations (intermediate, open, closed, invalid) and is encoded in two bits. If the PLC takes it as a boolean, or if the bit or word order is different, it looks inverted or unstable.

What do I test first: the PLC or the relay?

The relay. With a test client connected to the relay, check that the data exists and changes. If it works there, the problem is in the PLC or in the network between them; if it does not, it is the relay.

WhatsApp