Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Mdbus TPC localhost problem

Mdbus TPC localhost problem 10 months 4 days ago #2336

  • Richter
  • Richter's Avatar
  • Offline
  • Junior Member
  • Posts: 25
  • Karma: 0
Good day

I have a problem with modbus TCP.
Modbus master is running as localhost on 127.0.0.1
Scada asks, gets the correct answer, but after a while writes connection close.

I tried the datatypes...
What could it be?

Pavel








The administrator has disabled public write access.

Mdbus TPC localhost problem 10 months 4 days ago #2338

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 814
  • Thank you received: 121
  • Karma: -108
Hello Pavel,

I don't know. Maybe the problem is that you use 127.0.0.1 ip address. Your Modbus emulator also use this ip address and port and there conflicting.

Best regards,
Ruslan
The administrator has disabled public write access.

Mdbus TPC localhost problem 10 months 3 days ago #2343

  • Richter
  • Richter's Avatar
  • Offline
  • Junior Member
  • Posts: 25
  • Karma: 0

File Attachment:

File Name: ote-modbus.zip
File Size:1 KB



hi

I changed the ip address.
It behaves the same.
But the test software works, so the modbus as such is fine, but the scada doesn't work.

I am also sending a script that creates the modbus so you can try it.
it reads data from the internet - electricity prices and puts them in the modbus register. The current address is 10.0.0.211 at the bottom of the file can be changed.

Respectively, I do not insist on this solution. Is there any way to integrate python script into Scada?

Thank you
The administrator has disabled public write access.

Mdbus TPC localhost problem 10 months 3 days ago #2344

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 814
  • Thank you received: 121
  • Karma: -108
Hello,

The reason of your problem maybe the wrong register address. Try to change offset to 1. We couldn't run your python script. It demands libraries, but we don't have experience in python.
It's not possible to install python script inside of our product.

Best regards,
Ruslan
The administrator has disabled public write access.

Mdbus TPC localhost problem 10 months 2 days ago #2347

  • Richter
  • Richter's Avatar
  • Offline
  • Junior Member
  • Posts: 25
  • Karma: 0
I tried all data types, offsets. Their combination.
The administrator has disabled public write access.

Mdbus TPC localhost problem 10 months 2 days ago #2348

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 814
  • Thank you received: 121
  • Karma: -108
OK. I don't know how to help you in this case. Try to increase poll interval of the server.

Best regards,
Ruslan
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Go to top