Beruflich Dokumente
Kultur Dokumente
IEC61850 Server
Revision
The information contained in this document is confidential and proprietary to COPA-DATA France and is covered under
the terms and conditions of a Nondisclosure Agreement (NDA). COPA-DATA France submits this document with the
understanding that it will be held in strict confidence and will not be used for any purpose other than the evaluation of
this product and COPA-DATA France qualifications. No part of the document may be circulated, quoted, or reproduced
for distribution outside the Client organization without prior written approval from COPA-DATA France.
COPA-DATA France, All Rights Reserved.
CP_R31_006_B
1 Setup IEC61850................................................................................................................................. 3
1.1 Install Ethernet driver ................................................................................................................ 3
1.2 Install straton IDE and Runtime ............................................................................................... 4
2 Create the IEC61850 Server application ....................................................................................... 4
2.1 New straton project.................................................................................................................... 4
2.2 Import variables in straton ........................................................................................................ 5
2.3 t-attribute ..................................................................................................................................... 6
2.4 Quality time ................................................................................................................................. 6
2.5 Download SCL file ..................................................................................................................... 7
2.6 Download straton application ................................................................................................... 8
3 Create GOOSE communication ...................................................................................................... 9
3.1 GOOSE configuration ............................................................................................................... 9
3.2 GOOSE supervision ................................................................................................................ 10
4 Configure the keepalive of the operating system ....................................................................... 11
5 MMS error codes ............................................................................................................................. 12
6 Frequently Asked Questions .......................................................................................................... 12
Annex A – How to download the latest updated SCL files automatically? ..................................... 14
CP_R31_006_B
The Ethernet Multiple Network Protocol Driver is available from COPADATA web site for 32 bits
and 64 bits operating systems. Download from http://www.copadata.com/embedded
NB: This feature needs IEC61850 protocol Add-ons, since version 8.6 simply check ‘Add-ons for
straton’ while installing Straton Editor and they will be automatically installed.
IMPORTANT:
If the IED is modified, think to re-insert the last updated SCL file and do not forget to check
Download SCL File option!
See the Annex A of this document if the latest version of the SCL files must be downloaded on
the runtime at the same time as the application.
CP_R31_006_B
2.3 t-attribute
The t-attribute can be managed automatically by the stack or through straton application.
In a straton program, if you create a variable for t-attribute the driver does not update the
t-value anymore.
When in the straton program there is no variable for “t”, only then the driver will set
t-attribute value automatically.
The time quality can be retrieved in the IEC61850 Client by using VSIGETBIT function, see the
IEC61850 Client tutorial.
NOTES:
On the target, SCL files are downloaded in the “Custom” folder (same directory as the runtime).
Windows: Default port for communication is 502 or 1100
Linux: Create the Custom folder “sudo mkdir Custom” and start the runtime with:
./t5linux /path850=Custom/ (default communication port is 1100)
Result is:
The application is not yet downloaded or an error occurs during startup. More detail can be
found in the output view.
CP_R31_006_B
With Linux, the adapter identification can also be the name of the interface (for example: eth0)
CP_R31_006_B
Note: After inserting the SCL for the GOOSE, if no variable appears, it means that no GOOSE
configuration is present in the SCL file.
Note: With some distribution of Linux, GOOSE may encounter difficulties to emit packets directly
if no connection request has been made first. In order to solve this issue, type in a console, with
administrator rights, the following command line:
ifconfig eth0 promisc
Replace eth0 by your interface’s name.
For the moment only the three less significant bits are used.
With Linux, configure these parameters by typing in a console, with administrator rights:
This should reduce the time the system takes to close a connection after a hard disconnection
(typically the RJ45 socket unplugged) to about 10 seconds.
Complete description of the TCP/IP keepalive can be found at
http://stuff.onse.fi/man?program=tcp§ion=7
With WinCE 5.x or 6.x machine the ‘keep-alive’ can be modified in the Registry Editor:
HKEY_LOCAL_MACHINE\Comm\Tcpip\Parms
CP_R31_006_B
If the KeepAliveTime variable isn’t yet created, go to Value -> Add DWORD and set, for
example, 5000 in decimal for 5s.
Error: Data attribute …… does not exist in IEC 61850 object model.
Please check in the variable profile list, some variables are not present in the SCL file or has not
been deleted from a previous import.
I can’t re-use a report control block after I’ve enabled it once and then disconnect
This may happen if the first connection hasn’t been closed correctly.
First, refer to the chapter about keepalives of this document. If your 61850 stack has been
provided by COPADATA France before Nov. 2013, ask them for the latest version.
I can create an array in the SCL file, but then the project would not start and shout the
error message “Data attribute *** in IEC61850 object model has wrong type” even if the
type is correct
You need to change the project settings (in menu Project Settings) and set the options
“Complex variables in a separate segment” to YES
CP_R31_006_B
After modifying an SCL file, the user needs to right-click on the configuration > Read variables
from SCL file and re-select the latest updated SCL file. This way, it is possible to modify the
SCL file independently of the application.
In order to avoid that, the user can edit the download procedure and choose what files will be
downloaded at the same time as the application. To do so, go to
Project > Settings > Debugging > Download procedure > Edit
“SCL: IEC850 Server+GOOSE > \Custom” is automatically created when checking “Download
SCL file” option (see “Import variables in straton”).
Remove this line.