Hi guys,
We have a smart serial driver that is being developed by Skyline for an IEC 60870 5-104 (IEC104) protocol.
The connection between the IEC104 DataMiner element and the remote station is closed sometimes by the remote station side and the SLPort automatically reopens the connection.
We need a way to detect this at the protocol level to send the proper start commands to the remote station after the reconnection happens according to the IEC104 specification.
How can we know when SLPort has automatically reopened the connection after the remote station has closed it?
If we don't detect this, we are blind at the protocol level and we are still sending wrong commands that make again a disconnection from the remote station side getting into a disconnection/reconnection loop as you can see in the attached image.
We have read Smart-serial behavior after a physical device disconnect and try with the [Connection State] parameter (parameter ID 65045) as a trigger but without success. I believe it is because in our case, it's the remote station that closes the connection instead of DataMiner.
Thanks in advance,
Hi Fernando,
Can you confirm that the issues are solved with your workaround?
This way we can mark this question as solved 🙂
It’s solved using the [Connection State] parameter (parameter ID 65045) as is described at:
https://community.dataminer.services/question/connection-state-parameter-parameter-id-65045-use-inside-protocol/