ChaosTamed
I have built a simple traffic light system, which runs successfully with Modbus communication between OpenPLC and ScadaBR/LTS.

I've now switched to using DNP3 instead of Modbus, so I disabled the Modbus server in OpenPLC and enabled the DNP3 server. In ScadaLTS I disabled the Modbus data source, and created a new DNP3/IP data source. In ScadaLTS the Source address is set to 1, the Slave address is set to 2 and the host is set to the ip address of OpenPLC. I created a data point in ScadaLTS which is defined as a Binary input with index 0. This 'should' map to the OpenPLC address %QX0.0 (a red light light in a set of trafic lights). Am i correct to assume this?

When I enable the DNP3 data source, I receive "[DNP3Master] Poll failed!" error messages. In the OpenPLC Dashbaord, I see
 
DNP3 ID DNP3_Server: Accepted connection from: 172.18.0.3
DNP3 ID DNP3_Server: Frame w/ unknown route, source: 1, dest 2
DNP3 ID DNP3_Server: End of file
 
Wireshark shows a 3-way handshake between the Master and outstation followe dby a "Reset of Remote Link" packet.
 
Could anyone please offer any advice on what is going wrong here and how I might be able to fix it?
 
Thanks
Reply 0 0
ChaosTamed
I just found a dnp.cfg file in openPLC which hard codes the master/oustation IDs. I modified ScadaLTS to match those and it connects successfully. However, when I monitor the points in the Watch List they all show zero, whereas the monitoring tab in OpenPLC (I had to switch the Modbus server back on to see this) shows them to be changing between one and zero according to the traffic. light logic.
Reply 0 0
Reply