Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.
For optimal experience, use a desktop computer.
Reference Number: AA-02078 // Views: 3 // Created: 2022-07-14 20:01:17 // Last Updated: 2022-07-14 20:42:00
How to Configure and Test an IEC 60870-5-104 Communication
The IEC 60870-5-104 communication is already prepared in HYPERSIM as one of the Communication Protocols, allowing to exchange data over TCP with any industrial devices and SCADA systems to be set according to user needs. More information can be founded in IEC 60870-5-104 Wiki Page
In this case a Slave will be configure and in the end of this KB and example about how to test it with a virtual Master will be presented.
To set the IEC 104 communication on Hypersim, open the I/O Interface:
Right-click over the communication name and add an I/O Interface:
This will create all the configurations related to IEC 104 communications at the Slave’s folder. At this point adjust the Slave name, the communication protocol and other characteristics.
The IEC 104 slave presents seven different types of data. All of them are initialized with an input and an output that can be changed or excluded during the configurations.
For the inputs it is change the name and the data value, defining the initialization value for the variable.
After set all the variables in the IEC 104 communication Slave, assign them to the system elements using the sensor summary.
In the sensor summary, in the I/O Connection column, click on the list symbol. It will open the list of all inputs and outputs that where previous defined in the I/O Interface Configuration. Select the signal to be assigned (inputs will be in blue and outputs will be in red).
Configure the simulation to run in real time in the target.
To test the IEC 104 communication it is recommended to download the IEC 60870-5-104 Client Master Simulator, which is a free application available at https://sourceforge.net/projects/iec-104-client-simulator/ (This application is free and each time it is opened, it gives 15 minutes to use it, after that it will closes and it could be reopened).
Open the Client IEC 104 Simulator. Click on Add Client.
It will create some tabs in the top. Go to IEC_104_CLIENT_1 tab and enter the IP address of your simulator. Use the same IP Address that was configured on HYPERSIM to run the model in the target.
Before start the communication, start the simulation in HYPERSIM. Go to Data_Objects_1 tab and click Start Communication. It will create a list of all the channels available in the communication.
To find the values of the variables that were set, search the IOA address following the corresponding data address on the I/O Interface Configuration from HYPERSIM.