Getting started

What ScadaBench is

ScadaBench is an offline Windows app that plays IEC 61850 substation devices (IEDs) on your PC, so you can test SCADA and other tools without the real hardware.

ScadaBench is a test bench for IEC 61850 substation systems. It runs on your Windows PC, works offline, and shows everything in English.

It does two jobs:

  • It plays IEDs. An IED is a protection relay, bay controller or meter. You import the configuration file of a real IED, and ScadaBench answers as that IED would: on its own address, with the same data model, reports and GOOSE messages.
  • It reads real IEDs. You can connect to a real device on your network and watch its live values, without changing anything on it.

Words you will see

  • IED: a substation device, such as a relay. Each one has a name, like Feeder01.
  • CID, ICD, SCD: configuration files written in the IEC 61850 format (SCL). A CID describes one configured IED. An SCD describes the whole substation.
  • SLD: single-line diagram. A drawing of the substation’s switches, breakers and busbars.
  • GOOSE: a fast message that IEDs send each other, for trips and interlocks.
  • Port 102: the port on which an IED answers MMS, the protocol that SCADA uses to read it.

The five places

The left side of the window has five places. Click one to open it.

  1. Devices: your IEDs. Import files, choose what ScadaBench does with each IED, and look at its data points. This place opens first.
  2. SLD: draw the substation and link each symbol to an IED signal.
  3. Test: change values on purpose, run generators and timed sequences.
  4. Tools: helpers such as Find IEDs, the SCADA gateway and the GOOSE and Sampled Values traffic.
  5. Settings: the network adapter, your licence and information about the app.

Under the five places, Help opens the guided tour again and links to the video tutorials.

The top bar

  • The title and a short line under it tell you where you are.
  • File holds the project commands: open, new, save, close and the auto save switch. See Saving the project.
  • Undo and Redo step back and forward through your last changes.
  • The Run button starts every IED that is not skipped. While IEDs run, it shows Stop. See Your first run.

Where to go next

Read Install and first start, then run the sample IED in Your first run.

Getting started

Install and first start

Install ScadaBench on Windows 10 or 11, start it for the first time, and follow the short guided tour.

ScadaBench needs Windows 10 or 11 (64-bit) and 4 GB of RAM. You do not need Docker, Python or Node.js. Everything is inside the app.

Choose how to get the app

The download page offers two files:

  • Installer (ScadaBench-Setup): the usual Windows setup. It adds ScadaBench to the Start menu.
  • Portable file (ScadaBench-Portable): one .exe file that runs directly, with no install. Use it when you cannot install programs on a computer.

Both files are the same version and behave the same way.

Install

  1. Open the download page at scadabench.com/download.
  2. Press the button for the installer and save the file.
  3. Double-click the file and follow the steps shown by Windows.
  4. Open ScadaBench from the Start menu.

Portable file

  1. Download the portable file and save it in a folder you can find again.
  2. Double-click it. ScadaBench opens in its own window.

First start

The first time you open ScadaBench, it does three things:

  1. It asks you to start the free trial or to enter a licence key. The trial lasts 7 days. The Licence and VMs section explains the options.
  2. It opens the guided tour. The tour takes about one minute and shows the five places and the Run button. Press Next to move on, or Skip tour (or Esc) to leave it.
  3. It opens the Devices place with an empty project. You are ready for Your first run.

To see the tour again, click Help in the left menu, then Take the tour.

Keep the window usable

ScadaBench is designed for a 1366 by 768 screen and above. On a smaller window, the whole layout scales down to fit, so every control stays on screen.

If the app does not open

Check the Troubleshooting section first. It covers the most common start-up problems.

Getting started

Your first run

Add the built-in sample IED Feeder01, press Run to start it, check that it answers on its own address, then press Stop.

This walk-through uses the built-in sample IED, Feeder01. You do not need a file. It takes about five minutes.

1. Add the sample IED

  1. Click the Devices place in the left menu.
  2. In the empty project, press Use a sample IED.
  3. Feeder01 appears in the list on the left. Click it to see its details on the right.

If you already have IEDs in the project, press Add a sample IED below the list instead.

2. Press Run

  1. Look at the top right of the window. Press Run.
  2. The button changes to Stop, and the run state says Running · 1 IED.
  3. The IED is now live. ScadaBench starts its server, its reports and its GOOSE messages.

While IEDs run, the drawing and the IED roles are locked. This keeps the test safe. Press Stop to edit again.

3. Check the address

  1. Click Feeder01 in the list.
  2. Under its name, the line that starts with Simulate shows its address and port. The port is 102, the standard port that SCADA uses for IEC 61850.
  3. Give this address to your SCADA, gateway or test tool. It connects to Feeder01 the same way it would connect to the real relay.

4. Look at the data

  1. Click the Data points tab of Feeder01.
  2. You see the values the IED publishes, such as the position of its breaker, XCBR1.Pos.
  3. To change a value while the IED runs, go to the Test place.

5. Stop

  1. Press Stop in the top right.
  2. Feeder01 stops answering. The button shows Run again.

Stop is the same for every IED. To stop only one IED, use the buttons in its Devices details, as explained in Simulate and run IEDs.

Next

Getting started

Saving the project and the File menu

How ScadaBench saves your work with auto save, how to turn auto save off, and how to use the File menu, Save, Save as, Undo and Redo.

A project holds your IEDs, your single-line diagram, your test points and your generators. ScadaBench keeps one project open at a time.

Auto save is on by default

With auto save on, every change is written to the project at once. If the computer or the app closes unexpectedly, your last change is still there.

You can see the setting at the top of the window, in the File menu:

  • While auto save is on, the menu item says Turn off auto save. Press it to turn auto save off.
  • While auto save is off, the menu item says Turn on auto save. Press it to turn auto save on again.
  • Turning auto save on writes your unsaved changes first.

Your choice is remembered the next time you start ScadaBench.

Working with auto save off

Sometimes you want to try changes and keep the last saved version safe. Turn auto save off, then:

  1. Make your changes. They stay in the open project, and every page uses them.
  2. The top bar says Not saved · Ctrl+S while changes are waiting.
  3. Press Ctrl+S, or open File and press Save project, to write them.

If ScadaBench closes before you save, the next start opens the last saved project. Your unsaved changes are lost, so save first.

The File menu

Item What it does
Open file… Opens a saved project file.
New project… Closes the open project and starts an empty one. You give it a name.
Save project Writes the unsaved changes (Ctrl+S).
Save as… Saves a copy of the project under another name or location.
Close project… Closes the project and opens an empty one. Open file brings it back.
Turn off / on auto save The switch described above.

Before you start a new project or close the current one, the dialog offers Save a copy…. Use it if you want to keep the project. Once it closes, the project is no longer open in ScadaBench.

Open, New, Save and Close are greyed out while IEDs run. Press Stop first.

Undo and Redo

  • Undo (Ctrl+Z) takes back your last change. Redo (Ctrl+Y) brings it back.
  • ScadaBench remembers the last 20 changes in memory. Older steps cannot be undone.
  • Undo and Redo work only while the IEDs are stopped. Changes made while the IEDs run are not undone.

Devices

Import a CID or SCD file

Import an IEC 61850 CID, ICD or SCD file into ScadaBench, choose which IEDs to add, and remove IEDs you no longer need.

ScadaBench builds each IED from its configuration file. Use the file that your engineering tool exported for the relay or for the whole substation.

Which file to use

  • CID (Configured IED Description): the file of one configured IED. Use it for a single relay.
  • ICD (IED Capability Description): the file of an IED type. It describes what the device can do.
  • SCD (Substation Configuration Description): the file of the whole substation. It holds every IED, the single-line diagram and the GOOSE links between IEDs.

An SCD gives you the most. Its single-line diagram can be built automatically, see Build the diagram from the SCD.

Import the file

  1. Click the Devices place.
  2. Press Import CID / SCD at the top of the IED list. In an empty project, the button is Import CID / SCD file in the middle of the screen.
  3. Choose your file in the window that opens.
  4. The title Choose IEDs to add lists the IEDs in the file, with their manufacturer and type.
  5. Tick the IEDs you want.
  6. Press Add 2 selected IEDs (the number changes with your choice).

The IEDs appear in the list. Each one starts as Simulate, which means ScadaBench plays it. To change this, see Simulate and run IEDs.

Things to know

  • You cannot import while IEDs run. The button is grey, and its tooltip says Stop the run to import IEDs. Press Stop first.
  • ScadaBench keeps the original configuration. Anything unusual in the file is listed as a note. Nothing is dropped.
  • If the file has no data type section, ScadaBench shows: “This file has no data type section (DataTypeTemplates)”. Export the file again from your engineering tool, with the data types included.

Find an IED in a long list

Use the Filter IEDs bar above the list. Type part of a name, or filter by role. Press Clear to see all IEDs again.

Remove IEDs

  1. Press Select at the top of the list. Check boxes appear next to the IEDs.
  2. Tick the IEDs to remove. The bar at the bottom of the list shows N selected. Press All to tick every IED in the filtered list, or Cancel to stop.
  3. Press Delete IED (or Delete 3 IEDs) and confirm in the dialog.

You cannot remove IEDs while they run.

Devices

Simulate and run IEDs

Choose Simulate, Monitor real device or Skip for each IED, run one IED or every IED, and read the run state at the top of the window.

Every IED in ScadaBench has a role. The role decides what ScadaBench does with it when you press Run.

The three roles

Open an IED in the list. Under its name, the What ScadaBench does with this device control shows three choices:

Role What it means
Simulate ScadaBench plays this IED. SCADA and other IEDs connect to it. This is the default.
Monitor real device ScadaBench reads the real IED on your network. See Monitor a real device.
Skip The IED stays in the project, with its drawing and GOOSE, but it does not start when you press Run.

Change the role only while IEDs are stopped. The message Stop the run to change what ScadaBench does with this device explains a grey button.

Run every IED

  1. Press Run at the top right. It starts every IED that is not skipped.
  2. The run state shows Running · 3 IEDs. A live dot marks the places that have running IEDs.
  3. Press Stop to stop them all.

Run one IED

You can start one IED and leave the others as they are.

  1. Click the IED in the list.
  2. Press Run this IED. Only this IED starts.
  3. Press Stop this IED to stop it again. The other IEDs keep running.

When some IEDs run and others do not, the top bar says Running 1 of 3 IEDs. Devices shows a line such as 2 of 3 running, with a button Run the other one (or Run the other 2). Press it to start the rest.

What a running simulated IED does

  • It answers IEC 61850 on its own address, port 102.
  • It sends its reports to clients that subscribe.
  • It sends its GOOSE messages while the lab network is in use (see the Network section).
  • It keeps its data points, so you can change them from the Test place or from the SLD.

Add more sample IEDs

Press Add a sample IED under the list. A new sample IED is added with a free name. Use a sample to try ScadaBench without a file.

Put an IED on a real network

By default a simulated IED answers on this PC only. To let other computers reach it, open Settings and choose a network adapter, or press Put on a network on the IED’s address line. The settings are explained in the Network section.

Devices

Monitor a real device

Connect ScadaBench to a real IEC 61850 IED to read its live values. It reads only, unless you turn on Allow commands for that IED.

Use Monitor real device when the real relay is on your network. ScadaBench connects to it as a client and shows its live values. It does not change the device.

Read only by default

  • ScadaBench only reads a real IED.
  • It sends no commands unless you turn on Allow commands for that IED, and the gateway also allows commands to real IEDs.
  • IED Explorer is a separate tool. It asks before every command, see the Tools section.

Set up the connection

  1. Click the IED in the Devices list.
  2. Choose Monitor real device under What ScadaBench does with this device.
  3. In the connection block, check the Device address. ScadaBench fills it from the SCD file. Type another address only if the device uses a different one. The line under the box says From the SCD file or Typed by you.
  4. Check the Port (usually 102).
  5. Under How ScadaBench reads values, choose one option:
    • Reports (recommended): ScadaBench uses a report block only if the IED shows it as free. It tells you which one, and gives it back on Stop. If none is free, it asks for values instead.
    • Ask every second: the safest choice. ScadaBench only asks for values and never touches the report blocks. Updates are slower.
  6. Press Save connection. The button is grey until you change something.

Connect and read

  1. Press Run at the top right. Real IEDs connect with the simulated ones.
  2. Wait until the IED shows Live. Until then its commands stay grey.
  3. Open the Data points tab to see the values. If the connection is lost, a value is shown as Old value: it may have changed since the last update.
  4. Press Stop to disconnect. ScadaBench gives back every report block it used.

You can also press Connect and Disconnect in the IED’s details, while the other IEDs keep their state.

Allow commands (optional)

Commands are for testing with the real equipment. Turn them on only when you mean to operate it.

  1. Open the IED’s Overview tab.
  2. Tick Allow commands. The text under the tick explains what is on.
  3. Press Save connection.
  4. Press Run and wait for Live.
  5. Press Send commands…. A pop-up lists each control, such as Close and Open for a breaker.
  6. Press a command. A red box asks you to confirm. Press Send only if you are sure.
  7. The result says what the device answered and where the position went.

Each command goes to the real device with its own control model. The device checks it, and it can refuse it. Turn Allow commands off again when you are done.

Commands from SCADA through the gateway reach the real IED only when both switches are on: here, and in the gateway settings in the Tools section.

Before you operate

ScadaBench reads how the device takes each command, and whether it is in Local. A device in Local refuses remote commands until someone switches it to Remote. ScadaBench only reads this; the device always has the last word.

Devices

Compare a real device with its SCD

See where a real IED differs from its SCD file, and check every IED at once with the Health check and the Signal flow views.

A real device should match its configuration file. When it does not, the test result is wrong, so check it first.

Compare one device

  1. Connect the real IED: choose Monitor real device and press Run.
  2. Wait until the IED shows Live.
  3. Open the Compare with SCD tab.
  4. ScadaBench reads the device model and lists every point where the device and the SCD file disagree. Typical differences are a data point with another name, a different type or a missing report block.

If the list is empty, the device has exactly the data points, types, data sets and report blocks that the SCD describes. If the list is long, the device probably runs another configuration. Ask the owner of the device which file is current, then import that file again.

The comparison runs only while the device is live. Until then, the tab says what it is waiting for.

Check the whole station

Under Whole station in the list on the left, choose:

  • Health check: answers “Does the real station match the SCD?” It gives one result per IED. It shows whether ScadaBench can reach each device on port 102, and the other checks in the list.
  • Signal flow: shows who sends GOOSE and reports to whom, according to the SCD. The same view is also on each IED’s Signal flow tab.

Use the Health check before a test day. Fix anything marked as a problem, then run again.

SLD

Draw the single-line diagram

Open the SLD place, add breakers, disconnectors, busbars and whole bays with the Add menu, then select, move, rotate, copy and delete symbols.

The SLD place is the single-line diagram (SLD). It draws the substation with one line for each circuit. Each symbol can be linked to an IED signal, so the drawing shows the live state of your test.

Add a symbol

  1. Click the SLD place.
  2. Press Add. A panel of large tiles opens.
  3. Tiles are grouped by purpose:
    • Switching: circuit breaker (CB), disconnector (DS) and earthing switch (ES).
    • Measuring: current transformer (CT), voltage transformer (VT), source and measurement list.
    • Protection & control: relay, trip relay, push button and point panel.
    • Power in and drawing: infeed, tap changer transformer and junction.
    • IEDs and GOOSE: one IED component for each IED.
    • Whole bays: a complete Line feeder, Transformer bay or Bus coupler.
  4. Click a tile to add it to the drawing, or drag it onto the drawing.

Each tile has a short hint. Hover over a whole-bay tile to read what it contains.

Select and move

  • Click a symbol to select it. Its properties open in a panel on the right.
  • Drag a symbol to move it. Arrow keys nudge the selection.
  • Drag a box over empty space to select several symbols at once. Hold Shift or Ctrl and click to add more. Then Duplicate or Delete them with the buttons in the panel.
  • Move the view by dragging with the middle or right mouse button.
  • Shortcuts: Ctrl+C copies, Ctrl+V pastes, Ctrl+D duplicates.

In the properties panel, Rotate turns the symbol by 90 degrees, and Duplicate copies it. Delete removes it.

Name a symbol

Change the Name field in the properties panel. Use the name of the bay or switch in the real substation, for example Q1. The name is shown on the drawing.

Undo and Redo

  • Undo takes back your last change to the drawing.
  • Redo brings it back.
  • The drawing is locked while IEDs run. Press Stop to change it.

Tidy the layout

Tidy up arranges the whole drawing like a standard single-line diagram: busbars on top and bays straight down. With symbols selected, the button says Tidy selection and arranges only those. One Undo puts them back.

Next

SLD

Build the diagram from the SCD

Build the single-line diagram from the Substation section of an SCD file in one step, preview it, then apply it to your drawing with one Undo.

An SCD file already describes the substation: its bays, switches and the IEDs that control them. ScadaBench can draw that for you.

Before you start

  • Import the SCD file in Devices. The Build button needs an SCD.
  • Stop the IEDs if they run. The drawing is locked while they run.

Build the diagram

  1. Click the SLD place.
  2. Press Build from SCD. The window Build the diagram from the SCD opens.
  3. If the project has more than one SCD source, choose the one you want in the list.
  4. Choose how to combine it with your drawing:
    • Add beside my drawing: keeps your drawing and places the new one next to it.
    • Replace my drawing: replaces your drawing with the new one.
  5. Press Preview. ScadaBench reads the file and shows what it found.
  6. Read the preview. Open each section that has items:
    • Needs a link: symbols that still need an IED signal. You link them later.
    • Not drawn: parts of the file that cannot be drawn, with the reason.
    • Notes about the file: anything unusual that ScadaBench noticed.
  7. Press Apply to diagram. The whole drawing is added as one step.

If you change the project after the preview, the window says The project changed after this preview. Press Preview again. Press Preview again before you apply.

Undo a build

Press Undo once. The drawing goes back to how it was before the build.

Tidy after a build

A built diagram can look crowded. Press Tidy up to arrange it in standard single-line order. One Undo puts it back. See Draw the single-line diagram.

SLD

Link symbols to IED signals

Connect each SLD symbol to the IED signal it shows, such as a breaker position or a measurement, using the properties panel and the signal picker.

A symbol on the drawing is only a picture until you link it to an IED. Once linked, it shows the live value of that signal, and it can send commands to the IED.

Open the properties of a symbol

Click the symbol. Its properties open on the right. The panel has one section for each kind of link:

  • … comes from: the signal that shows the symbol’s state. For a breaker, the heading is Position comes from.
  • Command goes to: the IED control that the symbol sends when you operate it.
  • Signals on this relay: the status signals of a relay symbol.
  • Measurements in this list: the measurements shown by a measurement list.
  • Points in this panel: the points of a point panel, see below.
  • How the value changes: a generator or a recording that moves the value. See the Test section.

If the symbol still needs a link, the panel says Connect this symbol to a measurement first. and shows a status such as Needs a link.

Pick a signal

Every link uses the same signal picker.

  1. Choose the Device: the IED, such as Feeder01.
  2. Type part of a name in the search box, for example XCBR1 or Pos. The list narrows as you type.
  3. Choose the signal in the list. It is shown with its full path, such as Feeder01CTRL/XCBR1.Pos.
  4. The picker chooses the point type that the symbol needs, and says why. Change the Point type only when you know you need another kind.

For a breaker, set Position comes from to Feeder01CTRL/XCBR1.Pos. Set Command goes to to the breaker’s control in the same IED, so that Open and Close reach it.

Point panels

A point panel is one card that holds the points of one IED. Use it when a drawing would otherwise need many small symbols.

  1. Press Add, then choose Point panel under Protection & control.
  2. Open the panel’s properties. Under Points in this panel, add points by type (status, double point, value or command) and by object, such as XCBR1.
  3. Press Run. The panel shows the live value of each point. You can change a value or send a command from the panel, as you can from a symbol.

Press Undo if you linked the wrong signal. Each change to the drawing can be undone, one step at a time.

SLD

Operate and test equipment

Use Test to force a value in a simulated IED without sending a command, and Operate to send a real IEC 61850 command such as Open or Close, with Select before Operate.

While IEDs run, the drawing is live. You can then do two different things with a symbol. They look alike, but they do different jobs.

Button What it does Is a command sent?
Test Changes the value in the simulated IED, as if the plant moved by itself. No. No command is sent.
Operate Sends the command that the symbol is linked to, such as Open or Close. Yes. A real IEC 61850 command.

Test a symbol

  1. Press Run.
  2. Right-click the symbol. A menu titled Test opens, with the test buttons for this symbol.
  3. Press a test button. The simulated IED changes at once, and the symbol follows.

You can also open the symbol’s properties and find the Test section there. The menu and the section both say forced change, no command.

Test buttons only work on simulated IEDs. A real IED is never changed by a test button.

Operate a breaker

A breaker needs a Command goes to link first. See Link symbols to IED signals.

  1. Press Run.
  2. Click the breaker and find Operate in its properties. It is tagged real MMS command.
  3. Press Open or Close. The command goes to the IED. The breaker moves only when the IED accepts the command.

If the symbol has no command link, the panel says Add a command link to operate it like SCADA.

Select before Operate

Some IEDs accept a command in two steps: first Select, then Operate. ScadaBench reads this from the IED’s configuration, and shows the time the IED allows.

  • Off (normal): one press selects and operates, the way a station HMI works.
  • On (step by step): for testing. The first press only selects. Then press Operate or Cancel before the time runs out. A countdown shows how long you have.

Turn the step-by-step option on under Show Select before Operate step by step, in Command options. It applies to the whole drawing and to point panels.

Command options

The Command options panel sits under the Operate buttons. Most tests leave it off.

  • Test command: marks the command as a test. A device in test mode acts on it. A device in normal mode ignores it.
  • Interlock check and Synchro check: ask the device to check interlocking or synchronism before it moves.
  • Originator category: who sends the command. Station control is usual for a local SCADA.
  • Originator name: up to 64 characters that the device logs as the sender.

The options are sent with the next command and remembered for this symbol.

Push buttons, trip relays and tap changers

  • Push button: while the IEDs run, a left-click presses it. Its panel shows Press or Toggle, depending on the button type.
  • Trip relay: while the IEDs run, its panel shows Reset and Operate buttons.
  • Tap changer: its panel shows Raise and Lower buttons. Raise and Lower send one step command each.

SLD

See GOOSE messages on the SLD

Add IED components to the single-line diagram, show GOOSE lines between them, open an IED to read its messages, and change a value to send a GOOSE message.

GOOSE is a fast message that IEDs send each other, for example to trip a breaker. The SLD can show who sends each GOOSE message and who receives it.

Add the IEDs

Each IED that sends or receives GOOSE gets one IED component on the drawing.

  1. Press Add, then Add all GOOSE IEDs in the IEDs and GOOSE group. One component appears for each IED that sends or receives GOOSE, in a row above the drawing.
  2. Press Undo to remove them all in one step.
  3. To add IEDs one at a time, press the button that shows how many IEDs are not on the drawing. Press Add next to an IED to add its component.

Show the GOOSE lines

  1. Press the GOOSE messages switch in the toolbar.
  2. A line runs from the IED that sends a message, through the sender, to every IED that receives it.
  3. Press the switch again to hide the lines.

The Who is reading switch works the same way for the SCADA and test programs that read each simulated IED over MMS. It shows their IP addresses.

Read an IED’s messages

  1. Click the IED component. Its sheet opens on the right.
  2. Messages it sends lists each GOOSE message, value by value.
  3. Messages it receives lists the messages it listens to.
  4. Each message says To and the names of the IEDs that receive it. If none does, it says so.

The component itself shows a short summary, such as Sends 2 messages · gets 1.

Send a GOOSE message

  1. Press Run and wait until the IED shows Simulated · running.
  2. In the IED sheet, change a value of a message.
  3. The IED raises the message’s state number once, and every receiver gets the new message.
  4. The line on the drawing shows the message travelling from the sender to its receivers.

A real device is watch only. ScadaBench never sends GOOSE for a real device. Its component says Real device · watch only.

Messages that are not sent

Some GOOSE blocks in a file are switched off, have no data set or have no network address. The sheet shows why, for example Not sent (disabled in file). This is normal for spare inputs.

For more on GOOSE and the network, see the Tools section.

Test

Test points

Save the alarms, statuses and measurements you change most as test points, then change them live on the Test page while the IEDs run.

The Test place is for changing values on purpose. A test point is one signal you want to change during a test: a breaker position, an alarm, a measurement. Test points are saved with the project, so they are still there the next time you open it.

Add a test point

Add test points while the IEDs are stopped.

  1. Click the Test place. The Test points tab is open.
  2. Press Add test point.
  3. Search for the signal. Only signals you can change are listed.
  4. Choose the signal and press Add.

If the IEDs run, the button is grey, with the tooltip Stop the run to add test points.

Change a value while the IEDs run

  1. Press Run at the top right.
  2. Each test point shows its current value. Change it with the control on its row.
  3. The change goes to the simulated IED at once. Clients connected to that IED see the new value.

A value you cannot change is read only. Test buttons never change a real device.

Pulse a status

A status that is True or False can be pulsed. A pulse sets the value for a short time, then sets it back.

  1. While the IEDs are stopped, open Pulse settings on the test point.
  2. Choose the Pulse value (True or False) and the Pulse length (ms), from 100 to 60000.
  3. Run the IEDs. Press Pulse True or Pulse False on the row.

Generators drive a value

If a generator is moving a value, the row says Generator. Your changes are replaced by the generator until you press Resume generator on that row. See Generators.

Order, remove and filter

  • Use the up and down arrows to change the order. Use the remove button (trash icon) to delete a test point. Both are available only while the IEDs are stopped.
  • When you have many test points, the Filter test points bar appears. Type part of a name to narrow the list, or press Clear to see all of them.

Test

Generators

Make a measurement move by itself with a generator: a fixed value, a smooth wave, a ramp, steps, random noise, or a recorded CSV trace.

A generator moves a measurement by itself while the project runs. For example, it swings a current up and down, so your SCADA sees changing values without anyone touching the test.

A generator works only on measurements with a number value.

Create a generator

  1. Click the Test place, then the Generators tab.
  2. Press New generator.
  3. Choose the Device, the IED that holds the measurement.
  4. Search for the measurement in Search measurements, then choose it from the Measurement list.
  5. Choose How the value changes. The options are listed below.
  6. Set the numbers for that behaviour.
  7. Press Save generator.

The Generators table lists each generator with its behaviour. Press Cancel to leave the form without saving.

How the value changes

Choice What happens
Set by hand The value only changes when you type a new one.
Fixed value The value stays at the number you enter.
Smooth wave The value swings up and down around the Middle value.
Ramp The value climbs steadily, then starts again each cycle.
Steps The value jumps between low and high each half cycle.
Random noise The value moves randomly around the Middle value.
Play a recording (CSV) The value follows a recorded time and value file. See Play a CSV recording.

For the wave, ramp, steps and noise choices you also set:

  • Middle value (or Value for a fixed value).
  • Swing (±): how far the value moves away from the middle.
  • Cycle time (seconds): how long one full cycle takes. It must be at least 0.1 second.

Run and watch

  1. Press Run. The generator starts with the project.
  2. The Value now control shows the value that the generator sends.
  3. If you change a value that a generator drives, the row shows Resume generator. Press it to hand control back to the generator.

If you choose Set by hand, the message says You now set this value by hand. Nothing moves by itself in that case.

Test

Timed sequences

Build a timed sequence that sets values or checks values at set times while the IEDs run, and start it by hand or automatically with Run.

A sequence is a list of steps. Each step happens at a set time after the sequence starts. Use it to repeat the same test every time, without pressing buttons at the right moment.

Create a sequence

  1. Click the Test place, then the Sequences tab.
  2. Press New sequence.
  3. Type a Sequence name, for example Breaker trip test.
  4. Tick Start automatically with Run if the sequence must start each time you press Run.

Add steps

For each step:

  1. Type the Time (seconds) from the start, from 0 to 86400. Decimals are allowed, such as 2.5.
  2. Choose the Action:
    • Set value: writes the value you enter into the signal.
    • Check value: looks at the signal at that time and does not change it.
  3. Choose the Device, then search for the Signal in Search references. Use the Point type list to narrow the search.
  4. Type the Value. For a true or false signal, type true or false. For a number, type a finite number.
  5. Press Add step.

The steps appear in a table: Seconds, Action, Reference, Value. Press Remove on a row to delete that step.

If a step is not valid, the form says why, for example Choose a signal from the search results.

Run a sequence

  1. Press Run at the top right. The IEDs start.
  2. Press Run sequence on the sequence. Its steps start at the times you set.
  3. The Test place shows 1 sequence running while it plays.

Delete removes the whole sequence. Press New sequence to start another one.

You can edit a sequence only while the IEDs are stopped. The page says Stop the simulation to edit sequences.

Repeat a recorded test

To play a recording of real values instead of typed steps, use a CSV trace. See Play a CSV recording.

Test

Play a CSV recording

Load a CSV file with a time column and a value column, choose how values between samples and after the last sample behave, and play it on a measurement while the IEDs run.

A CSV recording lets a measurement follow real values over time. Use it to replay a fault record, a load curve or any other time and value log, exactly as it was recorded.

Prepare the file

The file must be a UTF-8, comma-separated CSV file with column headers in the first row.

  • A time column, in seconds from 0. Time must go up strictly, row by row.
  • A value column with the numbers to play. Values use the units of the signal you play on. No unit conversion is done, so write the values in the signal’s own units.

A file can hold up to 100,000 rows and 5 MB. ScadaBench picks the columns named time and value when they exist; otherwise it uses the first two columns. You can choose the columns yourself.

Load the recording

  1. Open a generator with How the value changes set to Play a recording (CSV). You can also use the same choice in the How the value changes section of an SLD symbol.
  2. Press CSV trace and choose your file. ScadaBench reads its columns at once.
  3. Choose the Time column and the Value column from the two lists.
  4. Choose what happens Between samples:
    • Hold previous value: the value stays the same until the next sample. Use it for status-like data.
    • Linear interpolation: the value slides smoothly from one sample to the next. Use it for measurements.
  5. Choose what happens After last sample:
    • Hold final value: the value stays at the last sample.
    • Repeat trace: the recording starts again from the beginning.
  6. Press Apply CSV playback.

The message says Trace saved in the project. Run or resume automation to play it. The trace is stored with the project, so you do not need the file again.

Play it

  1. Press Run at the top right.
  2. The measurement follows the recording from the start.
  3. Press Stop to end the test.

If playback does not start

  • Check that the generator or symbol is still set to Play a recording (CSV).
  • Check that the IEDs run. A stopped IED has no live value.
  • Check that the file has numbers in the value column. Text in that column cannot be played.

Tools

SCADA gateway

Let your SCADA connect to the IEDs of your project over IEC 104, Modbus TCP or DNP3, and send commands to them.

The SCADA gateway lets your SCADA system talk to the IEDs in your project. ScadaBench acts as the substation gateway. Your SCADA connects to ScadaBench, and ScadaBench answers with the values of the IEDs.

Three protocols are available:

  • IEC 60870-5-104 (IEC 104): the usual link between a substation and a control centre.
  • Modbus TCP: a simple register protocol used by many PLCs.
  • DNP3: common in North American utilities.

Before you start

  • Add your IEDs in Devices, for example the sample IED Feeder01.
  • Decide where your SCADA runs. If it runs on this PC, use This PC only. If it runs on another PC, use All networks (see the Network section).

Start the gateway

  1. Open Tools, then SCADA gateway & master.
  2. Choose Station gateway.
  3. Pick the protocol: IEC 60870-5-104, Modbus TCP or DNP3.
  4. Under Who can connect, choose This PC only or All networks.
  5. Press Start gateway.
  6. Point your SCADA at the address and port shown under SCADA connects to.

When you press Start gateway, ScadaBench prepares the point list for you and starts listening. It does not start the IEDs.

Start the IEDs with Run

The gateway and the IEDs are separate. This is on purpose.

  • Start gateway starts listening for SCADA.
  • Run starts the IEDs.

If the gateway runs but the IEDs are off, the page says so. Every point is sent to SCADA as invalid until you press Run the IEDs (or Run at the top). An invalid point is never made up. It is simply marked as not valid.

Points

Each row in the Points tab is one point that SCADA can read or command.

  1. Press Propose from IEDs to fill the list. ScadaBench keeps only what SCADA usually needs: positions, alarms and trips, measurements, device health and commands.
  2. Use Add points to add more. You can add points from an IED, made-up points, or rows pasted from Excel.
  3. Change any address so it matches your SCADA point list. Every address can be edited.
  4. Use Export CSV and Import CSV to move the list to and from a file. The columns are type,address,ied,reference,scale,description.

The point kinds are:

Kind Meaning
Single point ON or OFF status
Double point Open or closed position
Measurement Measured value (decimal)
Integer measurement Whole number value
Single command ON or OFF command
Double command Open or close command

You must press Stop gateway before you change the point list. The page says “Stop the gateway to change the point list.”

Commands from SCADA

SCADA commands operate the IEDs over real IEC 61850 MMS.

  • Commands to simulated IEDs work as soon as the gateway runs and the IED runs.
  • Commands to a real IED need two switches on:
    1. Allow SCADA commands to real IEDs in the gateway settings. This is on by default.
    2. Allow commands for that device in Devices. This is off by default.

You can also send a command from the Points tab with a Send button.

  1. Press the Send button of the point.
  2. Read the warning. It names the IED and the object.
  3. Press Yes, send and the command name to confirm. Press Cancel to stop.

The warning for a real device is stronger. Make sure the device is safe to switch first.

Commands tab

The Commands tab shows every command in three steps:

  1. What was asked.
  2. What the IED did.
  3. What ScadaBench saw afterwards.

A command from this page is logged as You · this page.

Traffic tab

The Traffic tab shows the messages between SCADA and the gateway, newest at the bottom. Use Pause, Resume and Clear view to control it.

The status line shows how many SCADA connections are open, for example 1 SCADA connected or No SCADA connected yet.

Allowed SCADA address (optional)

You can type one SCADA address under Allowed SCADA address. Only that address may connect. Other callers are refused and shown in the Traffic tab. Leave it empty to let anyone connect.

DNP3 checks the master address instead, so any SCADA address may connect to it.

Own address (optional)

Like a real gateway, the gateway can have its own address. Type it under ScadaBench Lab. Only programs on this PC can reach that address. For another PC or a virtual machine, choose All networks instead.

The ScadaBench Lab card must exist first. See the Network section.

Stop the gateway

Press Stop gateway. The remembered settings stay in place. If the gateway was running when you closed ScadaBench, it starts listening again by itself the next time. The IEDs still start only with Run.

Tools

SCADA master

Use ScadaBench as the SCADA master to test an RTU, gateway or outstation: read every point and send commands after a confirmation.

The SCADA master role turns ScadaBench into the SCADA. ScadaBench connects to your gateway, RTU or outstation, reads every point and can send commands.

Use it to check a real or simulated device before you connect the real SCADA.

Connect to the device

  1. Open Tools, then SCADA gateway & master.
  2. Choose SCADA master.
  3. Pick the protocol:
    • IEC 60870-5-104: ScadaBench is the controlling station (104 master).
    • DNP3: ScadaBench is the DNP3 master.
    • Modbus TCP: ScadaBench is the Modbus client.
  4. Type the Host address of the device, and its Port.
  5. Press Connect.

The status shows what is happening:

  • Not connected: nothing is open.
  • Connected: the link is up.
  • Link lost, trying again: the device stopped answering. ScadaBench tries again by itself.
  • Stopped with a problem: read the message under the status.

Press Disconnect when you are done.

Finding the points

  • IEC 60870-5-104 and DNP3 ask for every value by themselves when they connect. All points appear without typing addresses.
  • Modbus TCP cannot list its points. Tell ScadaBench which ranges to read, or use Find registers to discover them.

Settings

The main settings are shown first:

  • IEC 60870-5-104: TCP port and Common address (ASDU).
  • DNP3: TCP port, Outstation address and Master address.
  • Modbus TCP: TCP port and Unit ID.

Advanced settings hold the timers and the other protocol options. Change them only if your device asks for it. The defaults work with most devices.

Sending a command

  1. Choose the command kind:
    • Double command (C_DC) and Single command (C_SC) for IEC 104 breakers and switches.
    • Regulating step (C_RC) for a tap changer.
    • Setpoint kinds for values such as a voltage setpoint.
    • Binary output (CROB) and Analog output for DNP3.
    • Write coil, Write register and Write float for Modbus.
  2. Type the command address. For IEC 104, the status point and the command point often have different addresses. Check the command address in the device point list.
  3. Press Review… and read the confirmation.
  4. Confirm the command. Press Cancel to stop.

The Command log shows each command with the device’s answer, the last cause and the time.

Check your point list

Use the point table to see what SCADA received. ScadaBench shows whether each point was received, is missing, or has a different type than you expected.

Run the master and the gateway together

SCADA master and Station gateway can run at the same time. Switch between them with Act as whenever you like: nothing stops or disconnects. A green dot on a role button means that role is running now.

This also lets you test ScadaBench’s own gateway: start the gateway, then connect the master to 127.0.0.1 and the gateway’s port.

Protocol converter uses the master and the gateway together, so it runs on its own. Its button is greyed out while the gateway runs or the master is connected; hover over it to see why.

Tools

Protocol converter

Read a gateway or RTU as a master in ScadaBench, then serve the same points to your SCADA over another connection.

The protocol converter sits between a device and your SCADA. ScadaBench reads the device first, as a master. It then serves the same points upstream to your SCADA, as a slave, outstation or server.

Use it when you want to test a converter, or when your SCADA cannot talk to the device directly.

Step 1: Read the device

  1. Open Tools, then SCADA gateway & master.
  2. Choose Protocol converter.
  3. In the left column, type the device Host and Port, and pick its protocol.
  4. Press Connect.
  5. Wait until the device values appear under Device points.

Untick any device point you do not want to serve.

Step 2: Serve to SCADA

  1. Set the upstream side in the column Converter settings.
  2. Press Start serving.
  3. Connect your SCADA to ScadaBench.

Press Stop serving when you are done.

The Served to SCADA tab shows what your SCADA sees. Each watched device point is listed with its upstream address.

Command routes

IEC 104 devices do not say which addresses accept commands. For each command your SCADA may send, add a route:

  1. Press Add route.
  2. Type the Upstream address that your SCADA uses.
  3. Pick the Upstream command (double or single command).
  4. Pick the Device command and type the Device address it becomes.
  5. Press Save routes.

DNP3 binary outputs and Modbus coils pass through without a route.

Passing commands to the device

The switch Pass SCADA commands to the device controls whether commands reach the device.

  • On: commands from your SCADA on the relayed points go on to the real device.
  • Off: the device is only read. Your SCADA gets a negative answer for every command.

Tabs

  • Device points: the points read from the device.
  • Served to SCADA: what your SCADA sees.
  • Command routes: the routes for IEC 104 commands.
  • SCADA traffic and Device traffic: the messages on each side.
  • Commands: every command in three steps: what was asked, what the device did, and what ScadaBench saw afterwards.

Tools

IED Explorer

Connect to any IED by its address, browse its data model, watch live values and send a command after one confirmation.

IED Explorer is an IEC 61850 client. Use it to look inside an IED, see its values and, if needed, operate a breaker or switch.

Explorer works with real IEDs and with simulated IEDs. A simulated IED answers at its address while Run is on.

Connect

  1. Open Tools, then IED Explorer.
  2. Type the address of the IED in IED address, for example 192.168.1.50.
  3. Check the Port. IEC 61850 uses port 102.
  4. Press Connect.

Press Disconnect when you are done.

For a simulated IED on this PC, type its address from the project, for example a 127.50.0.x address. Press Run first.

Browse the data model

  1. Open a logical device.
  2. Open a logical node, for example XCBR1.
  3. Open a data object to see its values.

Each level loads only when you open it, so even large IEDs open quickly. Use Filter logical nodes to find a node by name.

Open data objects refresh by themselves every 2 seconds. Press Read all now to read them again at once.

Datasets and Report blocks are listed only. Explorer never enables or reserves a report block, so your SCADA and gateways keep theirs.

Watch list

Watch the values you care about in one list.

  1. Press + next to any value to add it to the Watch list.
  2. Press Start watching to refresh the list at the interval you pick under Refresh every.
  3. Press Stop watching to pause it.
  4. Press Export CSV to save the values to a file.
  5. Press Clear the watch list to empty it.

Send a command

Explorer sends a command only after you confirm it.

  1. Open the control, for example the breaker position.
  2. Choose the command. The page shows Command: and what the device reads now.
  3. Read the confirmation: Send "..." to ... on ...?
  4. Press Yes, send and the command name to send it. Press Cancel to stop.

The command uses the device’s own control model. If the device asks for select before operate, Explorer does that for you.

When the IED does not answer

  • The page says Refreshing paused because the IED did not answer. Press Read all now to try again.
  • A status of Connection lost means the link is down. Check the cable and the address, then press Connect.
  • The device closed the connection. Press Connect to try again. means the device ended the session.

Tools

Find IEDs

Scan a network for IEC 61850 devices on port 102 and see each device's vendor, model and logical devices.

Find IEDs scans a network for IEC 61850 devices. It checks each address for port 102 and asks every device that answers who it is. It sends nothing else.

Scan a network

  1. Open Tools, then Find IEDs.
  2. Pick the Network adapter the devices are plugged into.
  3. Type the Addresses to check. You can type a network such as 192.168.1.0/24, one address such as 192.168.1.50, or a range such as 192.168.1.20-40. At most 256 addresses are checked at once.
  4. Check the Port. It is 102 for IEC 61850.
  5. Press Find IEDs.

The page says how many addresses it will check, for example Will check 254 addresses, 192.168.1.1 to 192.168.1.254, on port 102.

Press Stop to end the scan early. Press Scan again to repeat it.

Read the results

Each device that answers is listed with:

  • its address,
  • its vendor, model and firmware,
  • its logical devices.

A device that is already in this project is marked Already in this project.

Press Open in Explorer to open a device in IED Explorer.

To test with one of these devices in a project, import its CID or SCD file in Devices and choose Connect to real device.

No device answered

Check these things:

  1. The cable is plugged in, and the adapter you picked is the one the devices use.
  2. The devices are switched on.
  3. The address range matches the devices’ network.

If you scan 127.x addresses on this PC, the simulated IEDs answer only while Run is on. Press Run first, then scan again.

Tools

SNMP devices

Simulate network switches and GPS clocks that answer SNMP, or read any SNMP device and receive its traps.

SNMP is how switches, GPS clocks and UPS units report their health. The SNMP devices tool works in two roles:

  • Simulate devices: ScadaBench plays the device. Your SCADA or network monitor reads it and receives its traps.
  • Read devices: ScadaBench reads a real or simulated SNMP device, shows its values with names and receives its traps.

Both roles can run at the same time.

Simulate a device

  1. Open Tools, then SNMP devices.
  2. Choose Simulate devices.
  3. Press Add device and pick one of:
    • Network switch (8 ports)
    • GPS time server
    • Empty device
    • Copy of a device (snmpwalk file)…
    • From a ScadaBench CSV file…
  4. Press Start devices.

Each device answers SNMP on its own address, port 161, until you press Stop devices. The devices start again by themselves when ScadaBench opens.

If Windows’ own SNMP service already uses port 161, ScadaBench tells you. Then change the Port to 1161 in the device settings.

To reach a device from another PC, put your project on a network first. See the Network section. Each SNMP device then gets its own free address on the same card as the IEDs.

Values, settings, traps and requests

Each device has four tabs:

  • Values: each value with its name. Values change like the real device.
  • Settings: name, address, port, SNMP versions and users.
  • Traps: traps the device received or sent.
  • Requests: the SNMP requests the device answered.

Changes are saved as you make them. If the devices are running, each saved change restarts them.

SNMP versions

  • v1 and v2c use a community name, for example public. Managers that use the read community can only read.
  • v3 uses a user name with a security level:
    • No password: anyone who knows the user name can read.
    • Password only: messages are signed, so they cannot be changed or faked.
    • Password + encryption: messages are signed and encrypted.

Passwords need at least 8 characters.

Read a device

  1. Choose Read devices.
  2. Type the address and the community or user of the device.
  3. Press Connect.

ScadaBench reads every value once with a full walk, shows the important values on top and reads them again by itself. Traps the device sends are listed too.

Values are named from MIB files when they are available.

Delete a device

Select the device, open its menu with More actions for this device, and press Delete device. Its settings and values are removed from the project.

Tools

GOOSE and Sampled Values traffic

See which GOOSE and Sampled Values messages really arrive on the network, and compare them with your SCD.

The traffic tool shows which GOOSE and Sampled Values messages are really on the network. It checks every GOOSE block and Sampled Values stream of your project against what arrives.

Open it from Tools, then GOOSE & Sampled Values traffic.

What you need

  • GOOSE works inside ScadaBench with nothing extra.
  • Sampled Values need the free Npcap driver and the ScadaBench Lab network. Without them, the page shows Lab network only.
  • To see GOOSE from other PCs or real devices, install Npcap too. See the GOOSE and Npcap page in the Network section.

Read the status

Each GOOSE block shows one state:

State Meaning
Not running The block is not running. Press Run to start sending and listening.
Not received yet ScadaBench is listening but no message has arrived.
Receiving Messages from this block are arriving.
Received with a problem Messages arrive, but they do not match the SCD. The page gives the reason.
Stopped arriving Messages arrived before but have stopped.

If a state stays on Not received yet, check that the publisher runs and is plugged into the same network.

Where GOOSE goes

The Where GOOSE goes view shows which IEDs receive each GOOSE block. Use it to check that a trip or interlock message reaches the right IED.

Tips

  • Compare the traffic with what you expect from the SCD.
  • Wi-Fi often drops GOOSE from simulated IEDs. Use a cable when you can.
  • The traffic view only reads messages. It does not change them.

Network

This PC only or a network

Choose where your simulated IEDs answer: only on this PC, on the ScadaBench Lab card, or on a real network card.

Your simulated IEDs can answer in three places. Pick the one that matches what you want to test.

The three choices

Choice Who can reach the IEDs Windows changes Good for
This PC only (loopback) Programs on this PC only None The simplest test. Start here.
ScadaBench Lab Programs on this PC, at each IED’s own address from the SCL file. Ping works. One Windows prompt, once, to create the card Testing with real addresses on one PC, without a virtual machine
A real network card (Ethernet or Wi-Fi) Other PCs and real devices on that network Addresses are added to the card. Windows asks for approval. Testing with other devices on your network

This PC only

  • Each IED listens on a private 127.50.0.x address.
  • Only this PC can reach these addresses.
  • Nothing in Windows is changed.

This is the default. Choose it when your SCADA and the IEDs both run on this PC.

ScadaBench Lab

  • Each IED answers at its own address from the SCD file, for example 192.168.1.50.
  • Ping, your SCADA and GOOSE on this PC reach the IEDs.
  • Nothing goes out on your Ethernet or Wi-Fi.

See the ScadaBench Lab page in this section for the steps.

A real network card

  • The IEDs are placed on the card you choose, such as Ethernet.
  • Other PCs and real devices on the same network can reach them.
  • ScadaBench checks each address before it uses it. Windows asks for approval once, and you can see every change first.

See the Real network cards page in this section for the steps.

Change the choice

  1. Open Settings, then the Network & GOOSE tab.
  2. Press Put my IEDs on a network.
  3. Pick This PC only, ScadaBench Lab or a network card.
  4. Follow the steps on the screen.

To go back to this PC only, press Use this PC only. The page also has Back to this PC only.

The IEDs must be stopped to change the network. Press Stop first.

Important

ScadaBench is a laboratory tool. Do not connect it to a live operational substation network.

Network

ScadaBench Lab card

Create the ScadaBench Lab network card, put each simulated IED at its own address, and use Ping, Repair and Remove.

The ScadaBench Lab card lets each simulated IED answer at its own address from the SCD file. You do not need a virtual machine. Ping, your SCADA and GOOSE on this PC all reach the IEDs.

Nothing goes out on your Ethernet or Wi-Fi.

Create the card (first time only)

  1. Open Settings, then the Network & GOOSE tab.
  2. Press Put my IEDs on a network, then choose ScadaBench Lab.
  3. Press Create the lab network card.
  4. Approve the Windows permission prompt (UAC). It may open behind the ScadaBench window.

The page says Waiting for Windows: approve the permission prompt (UAC). when Windows is working. Creating the card needs no download and no restart.

Use the card

  1. Press Use the lab network. This needs no Windows prompt.
  2. Press Run to start the IEDs.

When you press Run, the addresses of the IEDs that start go on the lab card. When you press Stop, the addresses come off the card again. The next Run puts them back.

Read the address list

Each IED has one row with its address and a status:

Status Meaning
Ready The address can be used.
Same range as a real card Note only. The address is in the same range as a real card.
A real device uses this address A device on the network already answers. Pick another address.
Used twice Two IEDs have the same address. Give each one its own.
Address of this PC The address belongs to this PC’s own card. Pick another.
Moves to the lab card ScadaBench put this address on a real card earlier. Use moves it to the lab card.
Address not valid Type an address like 192.168.1.21.
No address Type an address for this IED.

Press Show the 3 addresses (or the number you have) to see the full list.

Change an address

  1. Click the address of the IED.
  2. Type another address and press Enter.

A running IED moves to the new address at once. The SCD file is never changed.

To go back to the address from the file, press Use file address.

Ping an IED

  1. Press Run.
  2. Press Ping and choose the IED.

A reply looks like this: Reply from 192.168.1.50: time<1ms TTL=128. If the IED is not running, there is no reply. Press Run first.

Repair the card

After an update, the card may need its service updated. The page then says Start and Stop can be faster: press Repair to update the lab network service.

  1. Press Stop to stop the simulation.
  2. Press Repair. Windows asks for permission once.

Remove the card

  1. Stop the run.
  2. Press Remove the lab network card. Windows asks for permission once.

Your IEDs go back to This PC only. The card, its addresses and its service are removed.

Notes

  • You can switch the network only while the run is stopped.
  • The SCL file stays the same, whatever address you type.

Network

Real network cards

Put your IEDs on Ethernet or Wi-Fi: approve each address once, read what Windows asks, and remove the changes with Clean up.

Use a real network card when other PCs or real devices must reach your simulated IEDs. ScadaBench adds the IED addresses to the card you choose. Windows asks for approval once.

Use a cable when you can. Wi-Fi often drops GOOSE from simulated IEDs.

Put the IEDs on your card

  1. Open Settings, then the Network & GOOSE tab.
  2. Press Put my IEDs on a network.
  3. Pick your network card, such as Ethernet. If the list is old, press Refresh the network cards.
  4. Wait while ScadaBench checks the addresses. The page says Checking the addresses…
  5. Press Show the exact Windows changes to read the list.
  6. Press the button that starts with Put and names your card, for example Put 3 IEDs on “Ethernet”.
  7. Approve the Windows prompt (UAC) when it appears. The prompt may be behind the ScadaBench window.
  8. When the page says The lab network is ready, press Done.

Read the change list

The review shows one row for each change:

Result Meaning
Will be added ScadaBench adds this address when you press the put button. Clean up removes it later.
Already there The address already exists. ScadaBench uses it and never removes it.
Will be removed ScadaBench added this earlier and removes only this.
Will be switched on again ScadaBench had switched off a Windows rule. Clean up switches it back on.

After Windows answers, the result is Done or Failed. Failed means Windows refused this change.

Address problems

Message What to do
No cable Plug the device or switch into this port. The list updates by itself.
Taken on the network Another device answers on this address. Pick a different one.
Card gets its address automatically The card uses DHCP, so a fixed address would cut its connection. Pick ScadaBench Lab or a card with a fixed address.
Used by another adapter Another card of this PC has this address. Pick another address.
No free address Type an address in another network.
Free No conflict. The address will be added.

Press Cancel to leave without changes.

Clean up

ScadaBench remembers every change it made. To remove them:

  1. Open Settings, then the Network & GOOSE tab.
  2. Find ScadaBench network changes and press Clean up….
  3. Read the list. Press Remove these changes to undo them, or Keep them to stop.

Clean up removes only what ScadaBench added. Addresses that were already there stay.

Go back to this PC only

Press Back to this PC only in the network settings. The IEDs then answer on this PC again.

Network

GOOSE and Npcap

How GOOSE works inside ScadaBench, when you need the free Npcap driver, and what the GOOSE status words mean.

GOOSE is the fast message that IEDs send each other for trips and interlocks. This page explains when you need the free Npcap driver, and what the GOOSE status words mean.

GOOSE inside ScadaBench

GOOSE between simulated IEDs in the same ScadaBench project works without Npcap.

When you need Npcap

Install the free Npcap driver if you want to:

  • share GOOSE from ScadaBench with other programs or PCs on the network,
  • hear GOOSE from real devices,
  • receive Sampled Values.

Get Npcap from npcap.com, install it, then press Run again in ScadaBench.

ScadaBench shows the state in the About page:

  • Npcap installed: GOOSE can be shared with the network and real devices can be heard.
  • Npcap missing: GOOSE works inside ScadaBench only.

If you press Run without Npcap and try to share GOOSE, the page says: “GOOSE sharing needs the free Npcap driver. Install it from npcap.com, then press Run again.”

Sampled Values

ScadaBench listens to Sampled Values and checks them. It does not publish them. Sampled Values need the ScadaBench Lab network. Without it, the status reads Lab network only.

Sending GOOSE

  • A simulated IED with GOOSE in its SCD shows Sends GOOSE while it runs.
  • An IED without GOOSE in the SCD shows GOOSE off, or No GOOSE in SCD.

GOOSE status words

Status Meaning
Not running Press Run to start sending and listening.
Not received yet ScadaBench is listening. If this stays, check that the publisher runs and is on the same network.
Receiving GOOSE from this block is arriving.
Received with a problem Messages arrive but do not match the SCD. The page gives the reason.
Stopped arriving Messages arrived before but have stopped. The publisher may be off, unplugged or restarted.

Reasons for a problem

Reason What to do
Unreadable message Check the publisher configuration.
Configuration revision differs The publisher runs a different configuration than the SCD. Update the IED or the SCD so both match.
Different dataset The publisher sends a different dataset. Check the GOOSE block dataset.
Different GOOSE ID The publisher sends another GOOSE ID. Load the matching configuration.
Publisher needs commissioning Finish commissioning the publishing IED.
Messages stopped Check the cables and that the publisher is running.

To see what really arrives, open Tools, then GOOSE & Sampled Values traffic.

Network

Firewall prompts

What Windows Firewall asks when ScadaBench is used on a network, and how to allow the gateway or the virtual machine helper through it.

Windows Firewall can stop other PCs from reaching ScadaBench. This page explains the prompts you may see and how to allow the traffic.

The Windows question

The first time a ScadaBench program listens for network traffic, Windows may ask whether to allow it. Allow it only on the network you trust, such as your private test network. Never allow it on an operational substation network.

Gateway on All networks

When the SCADA gateway listens on All networks, the page checks Windows Firewall for you.

  • Other computers can reach the gateway on TCP port 102 (or the port you chose): the firewall is open.
  • Other computers cannot reach the gateway yet: Windows Firewall stops them.: the firewall needs a rule.
  • Windows made a rule that blocks the gateway: this usually happens when the “allow access?” question was closed. Allow it now.

To fix it:

  1. Press Allow through Windows Firewall….
  2. Read What ScadaBench will change.
  3. Press Yes, apply.
  4. Approve the Windows prompt (UAC).

ScadaBench changes only the rules it needs for the gateway. Press Clean up in Settings › Network & GOOSE to undo them.

Virtual machine helper

If your virtual machines cannot find the licensed PC, the Virtual machines section shows Your virtual machines cannot reach the helper yet: Windows Firewall stops them.

  1. Press Allow through Windows Firewall….
  2. Read the changes and press Yes, apply.
  3. Approve the Windows prompt (UAC).

The rule lets only your virtual network reach one port. Clean up removes it again. See the Virtual machines page in the Licence section.

Check failed

If the page says Windows Firewall could not be checked, the firewall state is unknown. Check that Windows Firewall is running, then open the page again.

Other firewalls

If you use a security program with its own firewall, it may block ScadaBench too. Allow ScadaBench and the port in that program, following its own steps.

Network

Address gone and disconnected messages

What the messages Address gone, No cable, Connection lost and Stopped arriving mean, and what to do about each one.

ScadaBench shows short status words when a network address or a connection goes away. This page explains each one.

Address gone

Running, address gone means the gateway is listening on one address of this PC, and Windows no longer has that address.

ScadaBench checks the address every 2 seconds. The page shows a message that names the address, for example:

Address gone: 198.18.21.50 is no longer on this PC

SCADA cannot connect while the address is gone.

Common causes:

  • the ScadaBench Lab card was removed or repaired,
  • Windows restarted and the address was not put back,
  • another program took the address off,
  • you pressed Clean up while the gateway was running.

What to do:

  1. Press Stop gateway.
  2. Press Start gateway again. The address goes back on the card.
  3. If it still fails, open Settings › Network & GOOSE and press Repair on the ScadaBench Lab card.

The status clears by itself when the address is back.

No cable

No cable means Windows reports that the network card is not connected.

  • Plug the cable into the card or the switch.
  • The list updates by itself. You do not need to press a button.
  • If you start the IEDs without a cable, their addresses are not added to the card. Plug the cable in, then press Start again.

Not connected and Connection lost

These two words mean an IED or a device is not linked to ScadaBench.

Word Where you see it Meaning
Not connected IED Explorer, SCADA master Nothing is open. Press Connect.
Connection lost IED Explorer, real IED The link broke. Check the cable and the address, then press Connect.
Link lost, trying again SCADA master The device stopped answering. ScadaBench tries again by itself.
Stopped with a problem SCADA master Read the message under the status.
Old value A real IED’s values The connection was lost. The value may have changed since.

ScadaBench never shows a lost value as fresh. A point with no fresh value is sent to SCADA as invalid.

Stopped arriving

Stopped arriving is a GOOSE status. Messages came before but have stopped. The publisher may be off, unplugged or restarted. See the GOOSE and Npcap page.

Lab card addresses not on the card

If the card no longer shows an address that ScadaBench used, the page says it was not on the card (Windows restarted, the card was repaired or another program took it off). There is nothing to take off, so ScadaBench skips it.

Licence and VMs

Free trial

Start the free 7-day trial of ScadaBench with an email code, see how many days are left, and what happens when it ends.

The free trial gives you every feature of ScadaBench for 7 days. You need no card and no payment details. One trial is allowed per computer.

Start the trial

You need internet for this step. Once the trial has started, ScadaBench works offline.

  1. Start ScadaBench. The activation screen opens.
  2. Type your email address under Your email address.
  3. Press Send code.
  4. Check your inbox and your spam folder. The email has a 6-digit code. The code works for 15 minutes.
  5. Type the code under Code from the email.
  6. Press Start free trial. The page says Starting trial… while it works.

Your email is only used to allow one free trial per person.

The first screen may also show a button named Start 7-day free trial. It starts the same trial.

See how many days are left

Open Settings, then the License tab. The status reads, for example:

  • Free trial: 5 days left

When 2 days or fewer are left, the status turns into a warning. Buy a lifetime license before the trial ends to keep working without a break.

Check the date online

Press Check online now to confirm the date with the license server once. Your trial continues right away.

When the trial ends

ScadaBench stops working until you activate a license. Your projects are safe. They stay in the data folder and open again as soon as ScadaBench is activated.

To continue, follow the Activate a key page in this section.

Licence and VMs

Activate a license key

Buy a lifetime license, paste the key from your purchase email and activate ScadaBench on one computer.

A lifetime license has no time limit. It works on one computer only.

Buy a license

  1. Press Buy lifetime license. It opens the secure purchase page in your browser.
  2. Pay on that page. Your key appears right after payment, and it is also sent by email.

Payment happens on that page, not inside ScadaBench.

Activate this computer

  1. Open the activation screen, or Settings, then the License tab.
  2. Type your key under License key. The key looks like SUBS-XXXX-XXXX-XXXX-XXXX.
  3. Press Activate this computer. The page says Activating… while it works.
  4. When it is done, the status reads Lifetime license and Licensed to shows your name.

You need internet for this step. If this computer has no internet, see the Offline activation page in this section.

One computer only

  • A license works on one computer and cannot be moved to another.
  • Reinstalling Windows on the same computer is fine.
  • A new computer needs its own license.

Refunds

If you have not activated the license yet, you can ask for a full refund within 7 days of purchase. Email [email protected] with your license key. The key is deactivated on refund. Once a license is activated, it cannot be refunded.

The free trial lets you test ScadaBench first. Start it from the Free trial page.

Licence and VMs

Offline activation

Activate ScadaBench on a computer with no internet: copy the activation code, get a license file on another computer and load it.

Use offline activation for a substation PC or lab PC without internet. You need one other computer with internet.

What you need

  • The ScadaBench computer, with no internet.
  • Another computer with internet and a browser.
  • Your license key from the purchase email.
  • A USB stick or another way to move a small text file.

Step 1: Copy the activation code

  1. Open the activation screen on the offline computer, then open Server & offline options.
  2. Press Copy activation code. It is shown under Activation code.
  3. If no code is shown, press Copy Machine ID instead.
  4. Paste the code into a text file and save it on the USB stick.

The activation code identifies this computer. It also lets your virtual machines use this license later.

Step 2: Get the license file

  1. On the other computer, open the offline activation page at license.scadabench.com/activate.
  2. Type your license key.
  3. Type the activation code (or the Machine ID) from the text file.
  4. Download the file named license.cert.
  5. Copy it to the USB stick.

Step 3: Load the file

  1. Copy license.cert to the offline computer.
  2. Open the activation screen, then Server & offline options.
  3. Press Load license file and pick license.cert.

You can also open the file in a text editor, copy all its text, paste it under Or paste the license file text and press Activate offline.

When it works, the status reads Lifetime license.

Notes

  • The license file works only on the computer whose code you copied.
  • Keep the purchase email and the license file safe.

Licence and VMs

Use ScadaBench in a virtual machine

Let virtual machines on your licensed PC use its license with no key and no internet, with Hyper-V, VMware or VirtualBox.

A virtual machine (VM) on your licensed PC needs no key, no file and no internet. It uses the license of the PC it runs on. This works with Hyper-V, VMware and VirtualBox.

Step 1: Share the license on the host PC

The host PC is the computer that runs the virtual machine.

  1. On the host PC, activate ScadaBench first, if it is not activated yet.
  2. Open Settings, then the License tab.
  3. Under Virtual machines, turn on Let my virtual machines use this license.

The switch then shows one of these lines:

  • On: virtual machines on this PC can use this license.
  • On, but the helper is not running yet. The helper starts the next time you sign in to Windows.

Step 2: Allow the virtual machines through Windows Firewall

If the section says Your virtual machines cannot reach the helper yet: Windows Firewall stops them.:

  1. Press Allow through Windows Firewall….
  2. Read What ScadaBench will change.
  3. Press Yes, apply.
  4. Approve the Windows prompt (UAC).

The page says Windows Firewall already lets your virtual machines ask this PC when this step is done. Clean up in Settings › Network & GOOSE removes the rule again.

Step 3: Check the network of the virtual machine

The VM must share a network with the host PC. Use the setting that matches your software:

  • Hyper-V: use a virtual switch that the host PC can see, such as the Default Switch.
  • VMware: use a NAT network or a Host-only network.
  • VirtualBox: give the VM a network adapter set to Host-Only Adapter.

If the VM cannot find the host, check its network adapter first.

Step 4: Activate in the virtual machine

  1. In the VM, install ScadaBench and open it.
  2. On the activation screen, open Using a virtual machine?. You do not need to type anything.
  3. Wait a few seconds. The page shows Looking for a licensed PC on the virtual network… and then continues by itself.

When it works, Settings › License in the VM shows Licensed through your host PC.

Host key

Both PCs show a Host key. The two keys must match. Use it to check that the VM uses the right host.

Notes

  • The VM keeps working offline while the host PC is switched on with the option ticked.
  • Untick Let my virtual machines use this license to stop sharing at any time.
  • A VM copied to another computer stops. It needs a license on that computer.

Licence and VMs

Check for updates

See your ScadaBench version, check for a newer one in Settings, and open the download page to install it.

ScadaBench can check whether a newer version is available.

Check for an update

  1. Open Settings.
  2. Go to the About tab.
  3. Find the Updates part. It shows your current version, for example Version 0.1.37.
  4. Press Check now. The page says Checking… while it works.

If a newer version exists, press Open the download page and install it from there.

Your projects and license

  • Your projects stay in the data folder next to the app.
  • Your license stays with this computer. You do not need a new key for the same computer.

Troubleshooting

Run refused

What to do when ScadaBench will not start the IEDs: address in use, an address refused by Windows, or a disconnected network card.

When you press Run and the IEDs do not start, ScadaBench gives a reason. Read the message on the page. The Activity list keeps the same reason with each IED and address.

Find the case that matches your message below.

Case 1: Address or port in use

The message says another program is using the port or the address. For example:

Feeder01 cannot listen on 127.50.0.2:102 because another program is using it.

IEC 61850 uses port 102. Only one program can use it at an address at a time.

What to do:

  1. Close other IEC 61850 tools that may be open: other IED simulators, IEDScout, and an old copy of ScadaBench.
  2. In ScadaBench, press Stop for the IEDs, then Run again.
  3. If the message names a program, close that program. Otherwise, check that no other copy of ScadaBench or another SCADA test tool is open.

Case 2: Address refused by Windows

The message names the address and gives a reason. Common reasons:

Reason in the message What to do
The address is not an address of this PC now Open Settings › Network & GOOSE and press Repair on the ScadaBench Lab card, or pick the card again. Then press Run.
Windows does not allow the port Check your security programs and Windows Firewall. See the Firewall prompts page.
Windows error number (for example 10013) Note the number. Email [email protected] with the Activity list.

A message for a network card can also say that the address is already on another adapter. Pick another address for that IED. The Lab network page explains the status words.

Case 3: Card disconnected

The message says the card has No cable, or that the address could not be added because the link is down.

  1. Plug the cable into the network card or switch.
  2. Wait a few seconds. The list updates by itself.
  3. Press Run again.

Addresses are never added to a card with no link. Nothing is changed while the card is down.

Where to see the reason

  • The message under the Run button.
  • The Activity list, which names each IED, its address and the reason.

If you still cannot start the IEDs, see the Troubleshooting pages for an IED that cannot be reached, or for a network address that is gone.

Troubleshooting

IED not reachable from another PC

Check the address, the network, the firewall and the port when another PC cannot reach a simulated IED in ScadaBench.

Your IED runs on this PC, but another PC or a real device cannot reach it. Work through these checks in order.

1. Is the IED running?

Press Run and check that the IED shows Publishing. An IED that is stopped cannot answer.

2. Is the IED on a network?

An IED set to This PC only answers on this PC only. Other PCs cannot reach it at all.

Open Settings, then Network & GOOSE, then Put my IEDs on a network. Choose ScadaBench Lab or your network card. See the Network section.

3. Is the address right?

  1. Find the address of the IED in Devices or in the address list.
  2. From the other PC, use an address on the same network, for example 192.168.1.50.
  3. Both PCs must be on the same network range. A mask such as /24 means the first three numbers must match.

4. Can the other PC ping it?

From the other PC, open a command prompt and type:

ping 192.168.1.50

Use the IED’s own address. If you get a reply, the network path works. If you get no reply, check steps 2, 3, 5 and 6.

5. Is the port open?

IEC 61850 uses port 102. A firewall on either PC can block it.

  • On the ScadaBench PC, check Windows Firewall as described on the Firewall prompts page.
  • On the other PC, allow the program that connects, or allow port 102 for your test network.

6. Is the cable connected?

If the card shows No cable, plug the cable into the card or the switch. The list updates by itself.

7. Still no answer?

  • Press Stop, then Run again. The address goes back on the card.
  • Check the Activity list for an address that was refused and the reason.
  • If the other PC also runs ScadaBench, open IED Explorer there, type the address, keep port 102 and press Connect.

Troubleshooting

GOOSE not seen

Find out why a GOOSE block shows Not received yet, Received with a problem or Stopped arriving, and how to fix it.

GOOSE is not seen when a block shows Not received yet, Received with a problem or Stopped arriving. Work through the steps below.

Not received yet

ScadaBench is listening, but no message has arrived.

  1. Check that the publisher runs. Press Run for the publishing IED.
  2. Check that the publisher and the subscriber are on the same network setting. Both must be on This PC only, or both on the ScadaBench Lab card, or both on the same real network card.
  3. If the GOOSE must reach another PC or a real device, install the free Npcap driver and share GOOSE with the network. See the GOOSE and Npcap page.
  4. If you use Wi-Fi, switch to a cable. Wi-Fi often drops GOOSE.
  5. Open Tools, then GOOSE & Sampled Values traffic, and check what really arrives.

Received with a problem

Messages arrive, but they do not match the SCD. The page gives the reason:

  • Configuration revision differs: the publisher runs a different configuration than the SCD. Update the IED or the SCD so both match.
  • Different dataset: check the dataset of the GOOSE block.
  • Different GOOSE ID: load the matching configuration.
  • Publisher needs commissioning: finish commissioning the publishing IED.
  • Unreadable message: check the publisher configuration.

Stopped arriving

Messages came before but have stopped. The publisher may be off, unplugged or restarted.

  1. Check that the publisher is switched on and running.
  2. Check the cable.
  3. Press Run again for the publishing IED.

Npcap is missing

GOOSE works inside ScadaBench without Npcap. Sharing GOOSE with other PCs and hearing real devices needs Npcap. The About page shows Npcap missing until you install it.

Troubleshooting

Real device not answering

What to do when a real IED does not answer, shows old values, or gives the result unknown after a command.

This page covers a real IED that does not answer, shows old values, or gives an unknown result after a command.

The device does not answer

The status shows Trying again, Could not connect or No address.

  • No address: type the device address in the connection card.
  • Trying again: the device did not answer. Check the cable, the address and that port 102 is open. ScadaBench keeps trying.
  • Could not connect: check the same things, then press Connect again.
  • The device closed the connection. Press Connect to try again.: the device ended the session. Press Connect.

Check the network: the real device and this PC must be on the same network range. See the Network section.

Values are old

A status of Old value means the connection was lost. The value may have changed since.

  • ScadaBench never shows a lost value as fresh.
  • A point without a fresh value is sent to SCADA as invalid.
  • Press Read all now in IED Explorer, or press Connect again to read the values.

Result unknown after a command

ScadaBench shows a message such as:

Bay1 did not answer in time; result unknown — check the position before trying again

This means the command was sent, but the device did not confirm the result in time. The command may or may not have happened.

  1. Do not send the command again straight away.
  2. Look at the device or the equipment. Check the position, for example on site or in the device’s own display.
  3. Open the Commands tab. It shows three steps: what was asked, what the device did, and what ScadaBench saw afterwards.
  4. Send the command again only when you know the current position.

A command is refused

If a command to a real IED is refused, check both switches:

  1. Allow commands for that device in Devices must be on. It is off by default.
  2. In the SCADA gateway settings, Allow SCADA commands to real IEDs must be on. It is on by default.

The refusal message explains which switch is off.

Commands from SCADA stop working

Check that the device is live (status Live) and that its Allow commands switch is on. A device that is connecting or trying again cannot take commands.

Troubleshooting

Not saved

What the Not saved message means in the top bar and on the SNMP, gateway and command settings, and how to save again.

ScadaBench shows Not saved when a change could not be written to the project file. Your change is not lost while ScadaBench is open. Fix the problem and save again.

Where you see it

  • Not saved yet in the top bar. The diagram could not be saved.
  • Not saved · Ctrl+S next to the File menu. Auto save is off and some changes are not written yet.
  • Not saved yet. The Traps tab needs attention (or the Settings tab) in SNMP devices.
  • These changes are not saved yet in the gateway point list.
  • Not saved, so the setting went back for a select before operate setting.

What to do

  1. Read the message under the warning. It names the problem.
  2. Fix the problem, for example a value that is out of range or a field left empty.
  3. Wait a few seconds. The change saves by itself once the problem is fixed, or the next edit tries again.

If it still says Not saved:

  1. Press Ctrl+S, or open File and press Save project.
  2. If the message stays, press Save as… and save a copy to a new file.

Auto save

Auto save is on by default. Every change is written at once.

  • To turn it off, open File and press Turn off auto save. Changes are kept while ScadaBench is open. Press Ctrl+S to write them.
  • To turn it on again, press Turn on auto save.

With auto save off, changes that are not saved are lost if ScadaBench closes before you save. The next start opens the last saved project.

Gateway point list

The point list can only change while the gateway is stopped. If the page says Stop the gateway to change the point list., press Stop gateway first.

If a row has a problem, the list does not save until the row is fixed. You can also press Discard unsaved changes to drop the changes.

Troubleshooting

Recover a project after a crash

What to do when the ScadaBench window stops drawing, when ScadaBench closed unexpectedly, or when a startup recovery notice appears.

Sometimes the window stops drawing or ScadaBench closes unexpectedly. Your project is usually safe. This page shows how to get it back.

The window stops drawing

The page shows Something went wrong. Your IEDs are still running.

The IEDs run in the background engine, not in the window. They keep running.

  1. Press Reload.
  2. Check the project. It should open as it was.

ScadaBench closed unexpectedly

  1. Start ScadaBench again.
  2. ScadaBench opens the last saved substation. The message says Recovered the last saved substation. All IEDs remain stopped.
  3. Check your project.
  4. Press Run to start the IEDs again.

With auto save on (the default), your last change is already saved. With auto save off, changes made after your last Save project may be lost. Press Ctrl+S often when auto save is off.

Startup notice: the record was moved

A notice can say that ScadaBench could not read the last autosave and moved it to the recovery folder. For example:

ScadaBench started with an empty substation; the record was moved to the recovery folder.

The unreadable autosave is moved to the recovery folder, so nothing is deleted. To bring back a project you saved earlier, open File and press Open file….

Get back a saved project

  1. Open File.
  2. Press Open file… and pick the project file.

To keep a copy of the project, press Save a copy…. It is saved to your Downloads folder or as a file you choose.

Leftover network addresses

After a crash, the ScadaBench Lab card may still hold addresses from the last run. ScadaBench shows Remove them or Keep the addresses for now. Press Show addresses to see the list first.

  • Remove them takes off the addresses that ScadaBench added. Windows asks once.
  • Keep the addresses for now leaves them on the card for now.