Welcome, Guest
Username: Password: Remember me

TOPIC: How to send modbus rtu command to device

How to send modbus rtu command to device 1 month 3 weeks ago #1436

  • davidtsai
  • davidtsai's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
I show the structure for my simple SCADA system to you ,please check if my thinking is correct to develope your teslascada2 software in my plan of SCADA.because I use modbus rtu as my protocal ,but how runtime mobil phone can find the pc with the usb to rs485 interface .
Attachments:
The administrator has disabled public write access.

How to send modbus rtu command to device 1 month 3 weeks ago #1437

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 506
  • Thank you received: 69
  • Karma: -110
There are several possible solutions:
1. The most easy is to use RS485 into TCP converter and connect by using Modbus TCP protocol.
2. If you have Android device you can directly connect to your RS485 device.
3. You can use OPC UA server embedded into desktop TeslaSCADA2 Runtime. And connect to it by using OPC UA client of TeslaSCADA2 Runtime.

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

How to send modbus rtu command to device 1 month 3 weeks ago #1442

  • davidtsai
  • davidtsai's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
I need to buy a gateway of Modbus TCP to Modbus RTU,then I can connect to device from my cell phone or note book, I will buy gateway and try again.

Best regards
David
The administrator has disabled public write access.

How to send modbus rtu command to device 2 weeks 1 day ago #1523

  • davidtsai
  • davidtsai's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
Ruslan:

i send the HEX command to my device such as " 01 10 27 10 00 03 06 00 FF 00 00 00 00 " ,It work fine and I want to put these value into teslascada2 IDE ,but I find a problem with point type of register , I need a function of register with 0x16 ,but Our IDE onlu have four function , how do i put 0x16 function for my device.
The administrator has disabled public write access.

How to send modbus rtu command to device 2 weeks 1 day ago #1524

  • fatkhrus
  • fatkhrus's Avatar
  • Offline
  • Administrator
  • Posts: 506
  • Thank you received: 69
  • Karma: -110
David,

To send HEX command you have to use write commands by using properties for writing. For example Output property of Text/EditField object: teslascada.com/HTML/text_editfield-3d.html. If your device doesn't support function Ox06 and supports only Ox16 function for writing check "Without function 6" in Server settings.

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

How to send modbus rtu command to device 2 weeks 1 day ago #1525

  • davidtsai
  • davidtsai's Avatar
  • Offline
  • New Member
  • Posts: 8
  • Karma: 0
Ruslan:
Thank you for your reply ,I had checked without function 6 in Servers properties and I have a object of slider with 0~255 value and it need t o transfer to 0~ 0xFF(HEX) , How do I change slider control minimum value from 0 to maximum value(255) as 0xFF(HEX )

david
The administrator has disabled public write access.
Go to top