0% found this document useful (0 votes)
11 views10 pages

OPL (IEC-104 Protocol) Communication

This document outlines the integration of the IEC-60870-5-104 protocol with AVEVA SP 2023 R2 using KEPServer EX6, focusing on configuration and data reading procedures. It details the steps for setting up channels, devices, and tags within KEPServer, as well as establishing communication with AVEVA SP through OPC. The conclusion emphasizes that following the provided steps allows for successful data integration between IEC-104 and AVEVA SP.

Uploaded by

Mahad Qureshi
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)
11 views10 pages

OPL (IEC-104 Protocol) Communication

This document outlines the integration of the IEC-60870-5-104 protocol with AVEVA SP 2023 R2 using KEPServer EX6, focusing on configuration and data reading procedures. It details the steps for setting up channels, devices, and tags within KEPServer, as well as establishing communication with AVEVA SP through OPC. The conclusion emphasizes that following the provided steps allows for successful data integration between IEC-104 and AVEVA SP.

Uploaded by

Mahad Qureshi
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/ 10

One Point Lesson (OPL)

IEC-60870-5-104 Integration with AVEVA SP


____________________________________________________________________________________________

Integration of IEC-60870-5-104 Protocol with AVEVA SP 2023 R2 using


KEPServer EX6
1. Abstract:
IEC 60870-5-104 is a protocol used for telecontrol, specifically in the field of electrical power and
automation systems. It relies on TCP/IP (Transmission Control Protocol/Internet Protocol) for data
transmission over Ethernet or any IP-based network. It is commonly used in SCADA systems to monitor
and control substations, transformers, RMUs and other electrical grid components.

Products:

A. KEPServer EX6
B. AVEVA SP 2023 R2

Procedure:

2. KEPServer Configurations:
1.1 Reading Data on KEPServer using IEC-104:
• In KepServer, first we have to add a channel to open connection with the remote
device. Channel for IEC-104 protocol can be added under the connectivity section as
shown below.

________________________________________________________________________________________________________________
Rev. 1 (Muhammad Usman Niaz) Page 1 of 10
One Point Lesson (OPL)
IEC-60870-5-104 Integration with AVEVA SP
____________________________________________________________________________________________

1.2 Channel Settings:

________________________________________________________________________________________________________________
Rev. 1 (Muhammad Usman Niaz) Page 2 of 10
One Point Lesson (OPL)
IEC-60870-5-104 Integration with AVEVA SP
____________________________________________________________________________________________

• In communications section, add the IP for the remote device and the default port for
IEC-104 communications is 2404.

• In 60870 Settings, please specify the COT Size and link settings, which you can get
from IEC protocol configurations done in remote device controller.

________________________________________________________________________________________________________________
Rev. 1 (Muhammad Usman Niaz) Page 3 of 10
One Point Lesson (OPL)
IEC-60870-5-104 Integration with AVEVA SP
____________________________________________________________________________________________

1.3 Device Settings:

After configuration of channel, we have to add one device to open connection with controller tags
and read data.

• Add a device for IEC-104 client inside IEC-104 channel opened earlier and give a
suitable name for indentification.

________________________________________________________________________________________________________________
Rev. 1 (Muhammad Usman Niaz) Page 4 of 10
One Point Lesson (OPL)
IEC-60870-5-104 Integration with AVEVA SP
____________________________________________________________________________________________

• Most of the parameters are set to default IEC-104 configurations inside device if not
changed in controller configuration otherwise.
• Verify the Common Address for device communication in the IEC settings defined in
controller as shown in figure below.

1.4 Addition of Tags (Attributes) in Device:

In the final step, we have to add the tags inside the configured device and define the address and data
type to read/write the data as shown below:

________________________________________________________________________________________________________________
Rev. 1 (Muhammad Usman Niaz) Page 5 of 10
One Point Lesson (OPL)
IEC-60870-5-104 Integration with AVEVA SP
____________________________________________________________________________________________

• Add relevant name and description for the tag.


• In the data properties, we have to add the Address Path for reading data using IEC-104 on this
defined tag explained below:

Tag addressing takes the form


TYPEID.IOA.SUB-TYPE.OPTIONAL.OPTIONAL,
where:
• TYPEID is the ASDU type.
• IOA is the Information Object Address (IOA).
• SUB-TYPE is the point's driver-specific attribute.
• OPTIONAL is an attribute that is not required.

A. TYPEID

B. Information Object Address (IOA)


The Information Object Address (IOA) represents an IEC 60870 server device's point address. It is an integer between 1 and
254, 65535, or 16777215; depending on whether the Information Object Address Size property is set to one, two, or three
octets (respectively).

Note: These IOA Addresses are defined inside the controller settings of Source device and we can export the addresses.

________________________________________________________________________________________________________________
Rev. 1 (Muhammad Usman Niaz) Page 6 of 10
One Point Lesson (OPL)
IEC-60870-5-104 Integration with AVEVA SP
____________________________________________________________________________________________

C. SUBTYPE

________________________________________________________________________________________________________________
Rev. 1 (Muhammad Usman Niaz) Page 7 of 10
One Point Lesson (OPL)
IEC-60870-5-104 Integration with AVEVA SP
____________________________________________________________________________________________

D. Examples for Correct Addresses:

• Using the explanation above, please enter the valid Address in Data Properties for a tag as
shown below for reference.
• With reference to screenshot, our parameters are:
o Monitoring Data (M)
o Double Point Data Type (DP)
o IOA Address is 11004
o Subtype is Current Value

________________________________________________________________________________________________________________
Rev. 1 (Muhammad Usman Niaz) Page 8 of 10
One Point Lesson (OPL)
IEC-60870-5-104 Integration with AVEVA SP
____________________________________________________________________________________________

• Instead of typing, we can select the basic template for addressing from the drop down menu
as well:

3. Reading Data on AVEVA SP from KEPServer using OPC:


1.1 Addition of OPC DIO Object:

Derive an DIO object to enable communication using OPC from the default Master_OPCClient.

1.2 Selection of relevant Server in the settings:

From the drop-down menu, select the relevant server for communication.

In our case, it the same KEPServer EX6 as we configured above.

1.3 Addition of topic:

Add a relevant topic inside the DIO, give suitable update intervale and scan mode settings as shown
below:

________________________________________________________________________________________________________________
Rev. 1 (Muhammad Usman Niaz) Page 9 of 10
One Point Lesson (OPL)
IEC-60870-5-104 Integration with AVEVA SP
____________________________________________________________________________________________

1.4 Addition of Item References:

In the last link the Attributes in IDE to Tags defined in Kep Server using Item references as shown
below.

Item reference for KepServer is defined using:

o Channel Name
o Device Name
o Tag Name

4. Conclusion:
Following above steps, we can configure and integrate any data for IEC-104 with AVEVA SP using
KEPServer as the middleware.

________________________________________________________________________________________________________________
Rev. 1 (Muhammad Usman Niaz) Page 10 of 10

You might also like