AdvancedHMI Software

General Category => Open Discussion => Topic started by: aquilmustafa on September 27, 2019, 02:24:45 AM

Title: ModbusTCP Write Function
Post by: aquilmustafa 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...
Title: Re: ModbusTCP Write Function
Post by: Godra 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?
Title: Re: ModbusTCP Write Function
Post by: aquilmustafa 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..
Title: Re: ModbusTCP Write Function
Post by: Godra on September 28, 2019, 12:10:59 AM
Why are all the register values set as "1"?
What is writing all those values?