Author Topic: ModbusTCP Write Function  (Read 1036 times)

aquilmustafa

  • Full Member
  • ***
  • Posts: 121
    • View Profile
ModbusTCP Write Function
« on: September 27, 2019, 02:24:45 AM »
Trying to Write Data to ModbusTCP Simulator ModRSsim2 software at 127.0.0.1

I'm using a button to call write function

ModbusTCPCom1.Write("400002", "100")

but the values don't get written to it.
Something I'm missing or doing wrong. Can anyone help me please...

Godra

  • Hero Member
  • *****
  • Posts: 1438
    • View Profile
Re: ModbusTCP Write Function
« Reply #1 on: September 27, 2019, 02:14:46 PM »
That's basic stuff that you are trying to do.

Can you post a screenshot of the ModRSsim2 Simulator?

aquilmustafa

  • Full Member
  • ***
  • Posts: 121
    • View Profile
Re: ModbusTCP Write Function
« Reply #2 on: September 27, 2019, 11:02:43 PM »
I've attached the Screen-Shot please look into it and see if you can help me..

Godra

  • Hero Member
  • *****
  • Posts: 1438
    • View Profile
Re: ModbusTCP Write Function
« Reply #3 on: September 28, 2019, 12:10:59 AM »
Why are all the register values set as "1"?
What is writing all those values?