Skip to Content
On this page

IEC 61850 MMS client

The managed IEC61850 client reuses a standard Gateway TCP/TLS channel to establish COTP, ACSE, and MMS associations. It supports model browsing, batch reads and writes, reports, data sets, files, Journals, control blocks, and controls. Its dedicated debug page can also observe GOOSE, SV, and R-Session traffic on a physical interface.

Select IEC 61850 MMS client when creating the device. See Collection Configuration for common channel, device, and variable operations.

Compatible devices and models

Device series / model examplesConnection requirements
IEDs and protection/control devices providing IEC 61850 MMSConnect to MMS over TCP/TLS and match logical devices, logical nodes, functional constraints, datasets and reports to SCL. Configure link-layer GOOSE/SV through their dedicated interfaces.

Map the IED engineering model to gateway leaves

  1. Check the commissioned ICD/CID/SCD model and MMS interface in the vendor engineering tool. Record the actual LD, LN instance, DO, DA and FC. A display label is not an MMS reference.
  2. For reports, configure dataset members and order, then the referencing URCB/BRCB, triggers and client allocation. Creating a dataset does not enable reporting or release another client’s RCB reservation.
  3. Establish an association and copy an actual leaf from Model browsing. For LD0/MMXU1.TotW.mag.f, FC MX, create a Float at LD0/MMXU1.TotW.mag.f;FC=MX. Replace LD0 with the real model name.
  4. Compare the same leaf’s type and value in Node read/write before periodic acquisition. Use the complete structure and Object when quality and time must also be retained.

Configure MMS, reports and GOOSE networks separately

MMS uses a TCP association; GOOSE/SV use their layer-two interfaces; R-Session uses separate UDP configuration. Successful MMS browsing does not establish GOOSE multicast forwarding. Check NIC, VLAN, APPID and publishing control-block identity.

After model changes, reconnect and refresh types. Batch count limits variables per read, concurrency limits outstanding transactions and PDU size limits encoded packets. Establish one correct leaf before increasing scale.

Connect and configure variables

Create the connection

  1. Open Development Configuration → Collection Configuration and create a TCP Client channel.
  2. Set the channel remote address to IED IP:port. Plain MMS commonly uses port 102.
  3. Create a device on that channel and select IEC 61850 MMS client.
  4. Enter the ACSE authentication password when the IED requires it.
  5. Start the channel and device, then open the dedicated debug page after the device becomes online.

Device settings

SettingDefaultDescription
MMS request timeout10000 msMaximum wait for one confirmed request.
Association timeout10000 msTime limit for COTP, ACSE, and MMS association setup.
Maximum MMS PDU65000Maximum PDU size declared and accepted by the client.
Maximum outstanding calls5Confirmed requests that may wait concurrently.
Batch read count50Maximum variables in one batch read plan.
Data-set member limit100Maximum members accepted for remote or dynamic data sets.
Maximum file size134217728 bytes (128 MiB)Maximum bytes streamed into one backend temporary file. This bounds disk use and abnormal responses without preallocating an equally sized memory buffer.
ACSE authentication password-Enter only when required by the IED. Keep production passwords out of screenshots and logs.

Configure TLS on the standard TCP Client channel. See Certificate Management.

IEC61850 Managed Client: Node Read/Write

Variable address

Use the strict address format:

LD/LN.DO.DA;FC=XX

Example: PRS778LD0/MMXU1.A.phsA.cVal.mag.f;FC=MX.

The driver supports Gateway Boolean, integer, floating-point, string, and Object variables. Match scalar types to the actual MMS attribute. Select Object for a complete structure or array; the register array-length field does not define the MMS shape.

Array indices start at zero: LD0/MMXU1.HA.phsAHar[7].cVal.mag.f;FC=MX selects one Float leaf. Nested arrays use consecutive indices, such as rows[1][2].mag.

An Object value contains specification and value. Structures use member names; arrays retain their nesting and length. Integers are decimal strings, bit strings contain bitLength and hexadecimal bytes, and UTC timestamps retain all eight encoded bytes as hexadecimal. Finite floats are JSON numbers; nonfinite values use NaN, Infinity, or -Infinity strings. Scripts and forwarding caches preserve this same object shape.

{ "specification": { "name": "Data", "type": "Structure", "children": [ { "name": "stVal", "type": "Unsigned", "size": 16 }, { "name": "q", "type": "BitString", "size": 13 }, { "name": "t", "type": "UtcTime" } ] }, "value": { "stVal": "1", "q": { "bitLength": 13, "bytes": "0000" }, "t": "01234567FFFFFFD5" } }

Variable RPC writes submit the complete object with a specification matching the current device. Invalid widths, members, ranges, and array shapes are rejected before transmission. The IED still enforces its own permissions and functional constraints. Specifications are reused within one connection and queried again after reconnecting; reconnect after changing the IED type model. Reports use metadata already obtained by polling; a report received before that metadata is ready does not create an untyped complex value.

Browse and verify the model

Device debug

Open Development Configuration → Collection Configuration, select the online IEC61850 device, then open Debug → Protocol Debug · IEC 61850 MMS client.

TabPurpose
Connection StatusRemote address, timeouts, TLS, association state, and negotiated parameters.
Model BrowserLazily browses LD, LN, FC, DO, and DA nodes and exports or imports selections.
Node Read/WriteReads or writes MMS values by canonical reference and FC.
RCB SubscriptionsShows RCB state and the latest report for the current connection generation.
GOOSE SubscriptionsMerges MMS GoCB state with real Layer 2 frames and shows current data-set values.
Layer 2 FramesCaptures and decodes GOOSE, SV, and R-Session on a selected interface.
Data SetsReads values and directories and creates or deletes dynamic data sets.
File ServiceLists, downloads, deletes, renames, and obtains files. Downloads are written block by block to a backend temporary file and then returned as a file stream.
JournalScans all LDs for Journal names and reads entries over a UTC time range.
Control BlocksReads or writes RCB, SGCB, GoCB, and SVCB fields.
Control OperationsReads the control model and executes a confirmed control.
SOE EventsQueries, pages, and exports stored SOE events.

Collect a point from the model

  1. Refresh the model and expand one LD, LN, FC, DO, and leaf DA.
  2. Copy the complete reference and functional constraint, then read it in Node Read/Write.
  3. Create a regular variable with the copied address and compatible data type. For example, VideoLD/MMXU1.TotW.mag.f;FC=MX illustrates a Float leaf; replace it with an object that exists on your IED.
  4. Use array length 0 for a scalar. Compare the direct read with periodic collection, then change a test source value and verify a new sample.

An ICD/SCD model is a reference; the online directory and returned value determine the actual object. Public register byte-order and string-reversal fields do not convert typed MMS values.

IEC61850 Managed Client: Model browser

Configure an RCB

Read the control block and dataset first. Disable RptEna before changing fields in the order permitted by the IED, then enable it and wait for a new report.

FieldCheck
Resv / ResvTmsBoolean reservation for URCB versus reservation seconds for BRCB. A remaining-time readback can already be lower.
RptID / DatSetReport identity and dataset. Match the new report’s member count and order.
OptFlds / TrgOpsUse hexadecimal bytes with the declared bit-string width; verify fields and reasons in the received report.
BufTmMilliseconds for change-report aggregation, separate from offline queue capacity.
IntgPdMilliseconds for integrity reporting, which also requires its trigger to be enabled.
GIRequests one general interrogation after reporting is enabled; the IED can reset it to false.
EntryID / TimeofEntryBuffered-entry identity and entry time. Remote capabilities determine whether they can be written.
PurgeBufDeletes remote buffered reports and can discard pending data.

Visible RCB rows are not all active subscriptions. Distinguish data-change reports, integrity, and GI, then release the temporary subscription and reservation after testing.

IEC61850 Managed Client: RCB subscriptions

Model, report, and file verification

Browse the real LD/LN/FC/DO/DA model and copy a leaf reference with its functional constraint; a dataset or structure is not interchangeable with a scalar point. Verify direct reads and periodic collection separately. Association timeout, request timeout, negotiated MMS PDU, outstanding-request limits, and read batch counts constrain different stages.

For URCB/BRCB, read the current DatSet, ConfRev, TrgOps, OptFlds, reservation/ownership, and enabled state before changing them. Follow the displayed units for buffer and integrity times. Request a general interrogation, then change a real source value and inspect report reasons and member order. A valid GI/integrity snapshot does not establish a data-change event.

Enable SOE storage in the device, configure its database, retention, offset, and retry cache, then save the parent device as well as the subdialog. Current SOE storage records report change events; GI/integrity snapshots are not directly stored as SOE. Compare the latest report, SOE query, and database commit. Capacity is event rows, not report count; eviction can lose older pending rows.

Datasets preserve remote member order. Read the directory before interpreting values. Exceeding the member cap rejects the complete set rather than silently truncating it. Raising a cap does not add remote members or enable reporting.

For files, an empty specification lists the visible directory; an explicit specification is sent to the remote service. Maximum file size limits the whole file, not each block. Verify downloaded length and available SHA256, rather than a success prompt alone. A readable directory does not grant FileOpen permission. Reestablish the session after MMS PDU changes and verify the same complete content. Long downloads use a separate session and still require valid authentication and timeouts. Query/download and remote mutations require their respective Web and IED permissions.

GOOSE data and Journal queries

Current GOOSE data

GOOSE/SV require a physical network interface and Npcap on Windows or AF_PACKET permissions on Linux. For Layer 2 Frames, start with a five-second capture and 100-frame limit, then inspect the decoded fields and raw bytes. MMS-only collection does not require a Layer 2 subscription.

Opening GOOSE Subscriptions briefly listens on the physical interface routed to the current IED. A valid 0x88B8 frame remains visible even when the IED does not answer MMS GoCB directory requests. The row shows GoCB, DataSet, GooseId, APPID, StNum, SqNum, and value count.

Expand the row to compare data reference, description, FC, MMS type, previous value, and current value. References and FCs come from the GOOSE data-set directory. Descriptions are matched from Gateway variables on the current device; - means no description is configured.

IEC61850 Managed Client: GOOSE subscriptions

Layer 2 frames

Select the physical interface connected to the IED network, then capture a bounded number of frames. Inspect Ethernet source/destination, EtherType, APPID, VLAN information and decoded GOOSE/SV fields together with the raw bytes. The capture interface must be on the segment carrying those multicast frames; an MMS TCP connection alone does not provide their contents.

IEC61850 Layer 2 capture interface and frame inspection

Journal queries

The Journal tab scans every logical device returned by the server and selects the first LD that actually exposes a Journal name. Choose a name and time range, then run Query Journal.

When all LDs successfully return empty directories, the page explicitly reports that no logical device returned a Journal name. This is a server-model condition, not a client parsing failure. You may enter a known Journal name manually when the server accepts direct reads but omits the directory entry.

IEC61850 Managed Client: Journal

Verification

  1. Confirm that Association State is Connected.
  2. Expand a responsive LD in Model Browser, copy a leaf reference, and read it under Node Read/Write.
  3. If reports are configured, verify an actual report’s time, reason, DataRef, and member order.
  4. If Layer 2 functions are used, verify the receiving NIC, decoded GOOSE/SV/R-Session fields, references, and current values.
  5. Check the Journal directory. Treat an all-empty result as a server that publishes no Journal.
  6. File mutations, data-set changes, control-block writes, and controls change IED state. Run them only on approved test objects.

Troubleshooting

SymptomCheck
Association cannot be establishedRemote address, port, network, firewall, ACSE password, channel TLS, and certificates.
Only some LDs fail to expandWhether those domains answer paged GetNameList requests and whether dynamic control blocks are registered correctly. Do not treat successful LDs as offline.
GOOSE status is emptyPhysical NIC, VLAN, multicast, APPID, Npcap/AF_PACKET permission, and cyclic publishing.
GOOSE values lack canonical referencesData-set existence and permission to read GetNamedVariableListAttributes.
Journal list is emptyCheck every LD directory. An all-empty result means the server publishes no Journal.
File service failsIED file-service support, file name, permission, and maximum file size.
Write or control failsObject FC, control model, IED permission, variable protection mode, and site interlocks.