OPL (IEC-104 Protocol) Communication
OPL (IEC-104 Protocol) Communication
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
____________________________________________________________________________________________
________________________________________________________________________________________________________________
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
____________________________________________________________________________________________
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.
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
____________________________________________________________________________________________
A. TYPEID
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
____________________________________________________________________________________________
• 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:
Derive an DIO object to enable communication using OPC from the default Master_OPCClient.
From the drop-down menu, select the relevant server for communication.
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
____________________________________________________________________________________________
In the last link the Attributes in IDE to Tags defined in Kep Server using Item references as shown
below.
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