IEC 61850 Client
In Client mode inSCADA connects over MMS to IEDs (protection relays, measurement devices, breaker control units and the like) to read data and send control commands.
Step 1: creating the connection
Section titled “Step 1: creating the connection”| Parameter | Example | Description |
|---|---|---|
| Protocol | IEC 61850 | The protocol |
| IP Address | 192.168.1.50 | The target IED’s IP address |
| Port | 102 | The MMS port (default: 102) |
| Local IP | (empty) | The local adapter’s IP address (for a host with several NICs) |
| Local Port | (empty) | The local port (optional) |
| Response Timeout | 5000 ms | How long a response is waited for |
| Message Fragment Timeout | 5000 ms | The message fragment timeout |
| Authentication Parameter | (empty) | An authentication parameter (optional) |
| SCL File Content | (the file) | The IED’s SCL file (.icd / .scd / .cid) |
| Server Model Index | 0 | Which server model in the SCL file to use |
Importing the SCL file
Section titled “Importing the SCL file”The critical step of an IEC 61850 connection is loading the SCL file. It describes the IED’s whole data model — logical device, logical node, data object, data attribute.
- Obtain the SCL file (.icd, .scd or .cid) from the IED’s manufacturer
- Upload it while creating the connection
- inSCADA parses it and derives the device’s server model
Step 2: creating the device
Section titled “Step 2: creating the device”| Parameter | Example | Description |
|---|---|---|
| Object Reference | IED1LD1 | The logical device reference (from the SCL) |
| Scan Time | 1000 ms | The polling interval |
| Scan Type | PERIODIC | PERIODIC or FIXED_DELAY |
Step 3: creating frames
Section titled “Step 3: creating frames”| Parameter | Example | Description |
|---|---|---|
| Object Reference | IED1LD1/MMXU1 | The logical node reference |
A frame represents one logical node. Create a frame for each logical node in the SCL file (XCBR, XSWI, MMXU and so on).
Typical frames
Section titled “Typical frames”| Frame name | Object reference | Description |
|---|---|---|
| Breaker | IED1LD1/XCBR1 | Circuit breaker state and control |
| Disconnector | IED1LD1/XSWI1 | Disconnector state |
| Measurement | IED1LD1/MMXU1 | Voltage, current and power measurements |
| Protection | IED1LD1/PTOC1 | Overcurrent protection information |
| Base | IED1LD1/LLN0 | The logical device’s base information |
Step 4: creating variables
Section titled “Step 4: creating variables”| Parameter | Example | Description |
|---|---|---|
| Object Reference | IED1LD1/MMXU1.PhV.phsA.cVal.mag.f | The full data attribute reference |
| FC | MX | The functional constraint |
| Type | Float32 | The data type |
Reading and writing
Section titled “Reading and writing”A variable’s FC decides what kind of operation it is:
| FC | Operation | Example |
|---|---|---|
| ST | Read — state information | XCBR1.Pos.stVal (breaker position) |
| MX | Read — a measured value | MMXU1.PhV.phsA.cVal.mag.f (phase-A voltage) |
| CO | Write — a control command | XCBR1.Pos (open or close the breaker) |
| SP | Write — a setpoint | Sending a setting value |
Control modes
Section titled “Control modes”IEC 61850 supports two modes for a control command:
- Direct Operate: send the command straight away — fast, but unconfirmed
- SBO (Select Before Operate): select first, then operate — the safe form of control
Step 5: starting the connection
Section titled “Step 5: starting the connection”Start the connection from the Runtime Control Panel. inSCADA will:
- Open the TCP connection (port 102)
- Establish the MMS association
- Load the server model from the SCL
- Begin reading data periodically
The connection status will show “Connected”.