0% found this document useful (0 votes)
351 views27 pages

SCLViewer - User Manual

This document serves as a user manual for Schneider Electric's SCLViewer/SCLSim software, detailing its features, including IED simulation, IED browser mode, and IED discovery mode. It outlines prerequisites, functionalities, and troubleshooting steps, along with a comprehensive table of contents and abbreviations. The document emphasizes that it is proprietary and should not be shared without authorization.

Uploaded by

pualeao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
351 views27 pages

SCLViewer - User Manual

This document serves as a user manual for Schneider Electric's SCLViewer/SCLSim software, detailing its features, including IED simulation, IED browser mode, and IED discovery mode. It outlines prerequisites, functionalities, and troubleshooting steps, along with a comprehensive table of contents and abbreviations. The document emphasizes that it is proprietary and should not be shared without authorization.

Uploaded by

pualeao
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

Ph MATHIOT

Z3 28/03/2013
Update
Ph MATHIOT
Z 25/5/2011
First issue
ESTABLISHED
REVISIO ISSUE CHECKED BY APPROVED BY RETURN
BY MODIFICATIONS
N STATUS STATUS
DATE DATE DATE

This document is the property of Schneider Electric Energy Automation and shall not be used,
copied or communicated to third parties without prior authorisation.
OWNER

PCL
PROJECT

SCLViewer / SCLSim

SUBSTATION NAME CONTRACTOR

SCALE STANDARD ORDER NUMBER


NA

DOCUMENT TITLE
CURRENT REVISION NAME DATE VISA

ESTABLISHED User Manual


CHECKED
APPROVED
CUSTOMER REFERENCE DOCUMENT REFERENCE
-
ARCHIVE NAME SHEET LAST SH QTY SH
12

1 / 27
T A B L E O F C O N T E NTS

1 Prerequesites _______________________________________________________________ 4
2 Viewer features ______________________________________________________________ 4
3 Simulation features___________________________________________________________ 6
3.1 Simple mode ________________________________________________________________ 6
3.1.1 Start an IED simulation _______________________________________________________________ 6
3.1.2 Stop an IED simulation _______________________________________________________________ 8
3.1.3 Start simulation of a list of IEDs ________________________________________________________ 9
3.1.4 Stop simulation of a list of IEDs ________________________________________________________ 9
3.2 Scenario mode _____________________________________________________________ 11
3.2.1 Starting a scenario _________________________________________________________________ 11
3.2.2 Scenario syntax____________________________________________________________________ 11
3.2.3 Stopping a scenario_________________________________________________________________ 14
4 IED Browser mode __________________________________________________________ 15
4.1 Connect to IED _____________________________________________________________ 15
4.2 Read a data object __________________________________________________________ 15
4.3 Configure and enable 1 RCB __________________________________________________ 16
4.4 Configure and enable all RCBs ________________________________________________ 17
4.5 Control services ____________________________________________________________ 18
5 IED Discovery mode _________________________________________________________ 20
5.1 Connect to IED _____________________________________________________________ 20
5.2 Read data objects and datasets________________________________________________ 20
6 Tools______________________________________________________________________ 22
6.1 Validate SCL _______________________________________________________________ 22
6.2 Assign XSD ________________________________________________________________ 22
6.3 Check IED model____________________________________________________________ 22
7 Options____________________________________________________________________ 22
7.1 Automatic time stamp________________________________________________________ 22
7.2 Automatic feedback _________________________________________________________ 22
7.3 Show all data attributes ______________________________________________________ 23
7.4 Add C264/GTW LD0 _________________________________________________________ 24
8 Troubleshooting ____________________________________________________________ 25
8.1 Killing ‘ghost’ processes _____________________________________________________ 25

2 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
ABBREVIATIONS

BCU Bay Computer Unit


IED Intelligent Electronic Device
SBUS Station Bus
SCS Substation Control System
SCL Substation Configuration Language (IEC 61850-6)
HMI Human - Machine Interface
DO Data Object
DA Data Attribute
DE Direct Execute
SBO Select Before Operate
XSD XML Schema Definition

3 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
1 Prerequesites

- Windows XP , Seven, Server 2008


- .NET framework 2.0 installed

2 Viewer features

Run SCLViewer.exe

Open a SCL file (accepted extensions =.CID, .SCD, .ICD ) :

4 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
The ‘SCLView’ tab allows to view all elements and attributes of SCL document.
The ‘Dataset View’ tab is a filtered view which displays report control blocks, GOOSE control
blocks and Dataset contents :

5 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
3 Simulation features

3.1 Simple mode

The ‘IED Simulation’ tab allows to simulate IED servers as defined by IEC 61850-8-1

3.1.1 Start an IED simulation

To start Server simulation, select the right IED in the treeview, click ‘Start server’ icon or
‘Simulation / Start server’.

IMPORTANT NOTE :
Prior to start IED simulation, Network Interface (NIC) selected must NOT use DHCP. It must be
configured with a fixed IP address.

SCLViewer will create automatically the IP address of the IED to simulate, take care of IP conflict
on your LAN.

It is possible to start several IED simulations in parallel.

6 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
Changing data attributes of IED :

Then, click ‘Update DO’ icon to commit the data change :

7 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
To check if Simulation is running correctly, you can test it with SEPAM IecViewer17 or any other
generic MMS browser (such as SISCO AX4MMS , Omicron IED Scout, … ) :

3.1.2 Stop an IED simulation

To stop Server simulation, select the right IED in the treeview, click ‘Stop server’ icon or Menu
‘Simulation / Stop server’.

8 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
3.1.3 Start simulation of a list of IEDs

It is possible to start the simulation of a list of IED, very useful when a large amount of IED must be
simulated.

3.1.4 Stop simulation of a list of IEDs

9 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
To stop servers simulation, you must use Menu / ‘Simulation’ / ‘Stop all servers’

10 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
3.2 Scenario mode

It is possible to create and run sequential scenario to perform data changes in 1 or several IED.

3.2.1 Starting a scenario

3.2.2 Scenario syntax

The scenario structure is a CSV file organized per line, each line represents a data change
instruction.
The different columns have the following meaning :

<IEDName>;<IECReference>;<data value>;<data type>;<action>;

<data type> <data value>


BOOLEAN {true,false}
Dbpos {intermediate,off,on,bad}
Bstring2 {00, 40, 80, C0}
Vbstring {00 .. FFFF} ; 16 bits max in hexadecimal value
UINT64 integer value {0 .. 2^63-1}
UINT32 integer value {0 .. 2^32-1}
UINT16 integer value {0 .. 65536}
UINT8 integer value {0 .. 255}
INT64 integer value {-(2^63) .. 2^63-1}
INT32 integer value {-(2^31)..2^31-1}
INT16 integer value {-32768..32767}
INT8 integer value {-128..127}
FLOAT32 float value like 123.456

11 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
FLOAT64 double float value like 123.456
Quality integer {0..FFF8}
0000 : valid
4000 : invalid
C000 : questionable (invalid)
4100 : olddata (unknown)
C100 : olddata (unknown)
6000 : overflow
5000 : out of range
4400 : oscillatory (togglling)
4200 : failure (selfcheck fault)
4080 : inconsistent (jammed)
C080 : inconsistent (jammed)
0020 : substituted
0010 : test
0008 : blocked (suppress)
Timestamp (UTC) <seconds>.<ms>
Seconds : since 1-1-1970
ms : milliseconds
Note : .<ms> is optional
Enum=enum_name integer value {0..255} ; ‘enum_name’ is not interpreted
VisStringXX visible string like in ==>
P145Control/LLN0$DC$NamPlt$vendor;MiCOM;VisString255;
XX can be omitted

OctetXX octet string like in ==> P145Control/XCBR1$ST$Pos$origin$orIdent;phil;Octet64;


XX can be omitted
VostringXX octet string like in ==> P145Control/XCBR1$ST$Pos$origin$orIdent;phil;Vostring64
XX can be omitted
none Means that no type is specified

<action> Meaning
100 Waits “100” milliseconds before executing next line
Timer function
exit Exits the scenario (to avoid infinite loop scenario)
GoosePub Forces the Goose publishing for this data

Typical examples for various data types :

C1143H03;C1143H03Control/XCBR1$ST$Pos$origin$orCat;8;Enum=C1143H03_TEMPLATE_orCategory;0
;
C1143H03;C1143H03Control/XCBR1$ST$Pos$origin$orIdent;Dummy string;Octet64;0;

12 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
C1143H03;C1143H03Control/XCBR1$ST$Pos$stVal;on;Dbpos;0;
C1143H03;C1143H03Control/XCBR1$ST$Pos$q;0000;Quality;0;
C1143H03;C1143H03Control/XCBR1$ST$Pos$t;now;Timestamp (UTC);0;

C1143H14;C1143H14Control/XCBR1$ST$BlkOpn$stVal;true;BOOLEAN;GoosePub;
C1143H14;C1143H14Control/XCBR1$ST$BlkOpn$t;now;Timestamp (UTC);300;

C1143H14;C1143H14Measurements/PriFouMMXU1$MX$Hz$mag$f;48.99;FLOAT32;0;
C1143H14;C1143H14Measurements/PriFouMMXU1$MX$Hz$t;now;Timestamp (UTC);1;
C1143H14;C1143H14Measurements/PriFouMMXU1$MX$PhV$phsA$cVal$mag$f;123.456;FLOAT32;0;
C1143H14;C1143H14Measurements/PriFouMMXU1$MX$PhV$phsA$t;now;Timestamp (UTC);1000;

Some advanced functions are provided to animate measurements :

Sinus function :

sin(min, max, angleMultiplier)

min : minimum value


max : maximum value
angleMultiplier : float value used to tune the speed angle ;
value of 1.0 correspond to a rotating speed of 2 ¶ /sec

Ramp function :

ramp(min, max, period)

min : minimum value (floating point)


max : max value reached at the end of the period (floating
point)
period : ramp period in seconds

Random function : Returns any floating point value


between min and max
random(min, max)

min : minimum value (floating point)


max : maximum value (floating point)

1 advanced function is provided to animate status :

Toggle function

toggle
13 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
This function has no parameter

Examples :

C1BCUS73;C1BCUS73CONTROL/GGIO9$MX$AnIn1$mag$f;sin(0,200,0.012);FLOAT32;100;

C1BCUS73;C1BCUS73CONTROL/GGIO9$MX$AnIn2$mag$f;ramp(-200,200,0.1);FLOAT32;100;

C1BCUS73;C1BCUS73CONTROL/GGIO1$ST$Ind1$stVal;toggle;BOOLEAN;100;

3.2.3 Stopping a scenario

Menu ‘Simulation / Stop scenario’

14 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
4 IED Browser mode

This mode allows to connect to 1 IED defined in the SCD file and provides the following features :
- read data objects
- RCB options configuration and activation
- Control services : Select, Operate, Cancel

4.1 Connect to IED

Click again on same icon to disconnect IED.

IMPORTANT NOTE : ONLY 1 IED AT A TIME CAN BE CONNECTED

4.2 Read a data object

Select the DO in the tree view , data attributes are displayed on the right panel.

15 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
If you click Auto Refresh button, data are read periodically in the IED every 2 seconds.

4.3 Configure and enable 1 RCB

16 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
Select the RCB in the tree view and right click

Once RCB has been configured and enabled, the report messages are received and decoded in
the log window and updated in the data window.

4.4 Configure and enable all RCBs

Select the IED in the tree view and right click

17 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
4.5 Control services

Select the data object to control in the tree view and right click :

18 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
19 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
5 IED Discovery mode

It is possible to discover the modelling of an IED just by typing the IP address.


In this mode, it is NOT necessary to load a SCL file.

5.1 Connect to IED

IMPORTANT NOTE : ONLY 1 IED AT A TIME CAN BE CONNECTED

Click again on same icon to disconnect IED.

5.2 Read data objects and datasets

If you select a dataset, all members are fetched from the IED and displayed :

20 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
21 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
6 Tools

6.1 Validate SCL

This function allows to validate SCD file loaded against XSD file (SCL 1.4 by default also called
SCL 2003).
If some errors are detected, they are displayed in log window.

6.2 Assign XSD

This function allows to change the default XSD file (SCL schema) for validation

6.3 Check IED model

This function verifies the integrity and consistency of the IED modeling, typically cross references
of elements and ‘types’ are checked. Any missing ‘type’ referenced by another element will raise
an error.
The result is displayed in a log window and saved in a log file.

The SCL checks performed and detected are :


• Missing LNodeType
• Missing DOType
• Missing DAType
• Missing SDO
• Missing BDA
• Missing EnumType
• Unknown bType
• Missing Dataset referenced in Goose or ReportControl
• FCDA not found in LN
• Duplicated <object> (LDevice, LN, Dataset, ReportControl)
• Duplicated <type> (LNodeType, DOType, DAType, SDO, BDA, EnumType)
• String too long in DAI
• DAI value conversion impossible
• Illegal MAC address

7 Options

7.1 Automatic time stamp

Menu ‘Options / Automatic time Stamp’ is a toggling option which updates time stamp
automatically with current UTC when an operator generates an ‘Update DO’

7.2 Automatic feedback

22 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
Menu ‘Options / Automatic feedback’ is a toggling option which generates automatically the status
change after a control request (direct or SBO).

Limitations : this option works only for objects CDC = { SPC , DPC }

7.3 Show all data attributes

Menu ‘Options / Show all Data attr.’ is a toggling option which allows to display non real time
attributes in IED simulation panel such as attributes belonging to CF,DC,CO,EX,…

Without option set

With option set

23 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
7.4 Add C264/GTW LD0

Menu ‘Options / Add C264/GTW LD0’ is a post processor which adds LD0 logical device for PACiS
C264 and PACiS GTW devices in current SCD file. It does not modify current SCD file but creates
a new SCD file on same folder with ‘SCD_LD0’ extension.

This function is required to be executed prior to start a C264 or GTW simulation due to DBID /
Vdbs management.

24 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
8 Troubleshooting

When any of the function provided by SCLViewer is not working properly, here is a short list of
verifications to perform :

Possible error Action suggested

Is my SCD file correct against schema (XSD) ? Run “Validate SCL” to check this

Is my IED modelling correct for simulation or Run “Check IED model”


browsing ?

Is there any IP conflict on my LAN ? Check all IP present on subnetwork

I cannot browse or discover a running 61850 Try to ping it first


IED

When I simulate an IED, data changes are not Check for “ghost” processes and kill them all
updated to clients (see below)

8.1 Killing ‘ghost’ processes

3 types of process can run when SCLViewer is running :

- SCLViewer.exe : the HMI executed under .NET ; only 1 instance at a time


- scl_srvr.exe : the MMS and GOOSE process ; 1 instance per IED simulated
- sbusAxs32.exe : the MMS client process ; only 1 instance at a time

To be sure to restart SCLViewer from a ‘clean’ situation , identify and kill the following processes if
they are present :

25 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
26 / 27
This document is the property of Schneider Electric Energy Division and shall not be used, copied or communicated to
third parties without prior authorisation
END OF THE DOCUMENT

You might also like