Welcome, Guest
Username: Password: Remember me
Welcome to TeslaSCADA forum!

Tell us and our members about your experience of using our products.
  • Page:
  • 1
  • 2

TOPIC: Modbus +125 registers

Modbus +125 registers 1 year 7 months ago #2071

  • WimMOI
  • WimMOI's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
Hello,

For a project with a ModbusTCP server I want to read more then 125 registers. I created the server and two tags with 100 holding registers to be read. When I only call one of these tags in a script the program works fine. Whenever I call both tags in the script the application crashes.

Does anyone know why this is happening?
The administrator has disabled public write access.

Modbus +125 registers 1 year 7 months ago #2072

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
Hello,

Do you want to read them by Array? Can you provide your project to understand what's happening?

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

Modbus +125 registers 1 year 7 months ago #2073

  • WimMOI
  • WimMOI's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
Hello, I have attached the project. The problem resides in the MLM_Script.

I have two arrays with 100 shorts. Both are connected to the modbus server. One is having no offset and the other is having an offset of 100.
Last Edit: 1 year 7 months ago by WimMOI.
The administrator has disabled public write access.

Modbus +125 registers 1 year 7 months ago #2074

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
Hello,

Unfortunately I couldn't simulate crash you've wrote about. I've studied your script and I don't understand why do you do so complex calculations. You can create tags for every register and also bind every bit to the tag. To understand the crash reason send log file in the folder where you installed TeslaSCADA2 Runtime.

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

Modbus +125 registers 1 year 7 months ago #2075

  • WimMOI
  • WimMOI's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
It is installed on a android tablet. Where can I find the logfile there and what is it called?

Related to your question. The way I created the script is to automatically create scripts by means of excel. This makes designing easier for me.
The administrator has disabled public write access.

Modbus +125 registers 1 year 7 months ago #2076

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 826
  • Thank you received: 123
  • Karma: -107
Do you have problems only on Android device? Did you try it on TeslaSCADA2 Runtime for PC?

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