Ewon Technical Forum

Full Version: Modbus TCP/IP Write registers
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Greetings,
I am trying to write some registers:
400YY on a device x.x.1.55 port:1500

Configuration:
IO modbus: [TOPIC A] ID:1 | IP:x.x.1.55 [enabled]

In order to be able to read from the device i added this:
Advanced parameters (IOSrvData):
IpMbsSrvPort:1500
TcpPort:1500

and some tags...:
tag1 30001
tag2 30002
tag3 40001
tag4 40002
Reading from device is ok.


How should i write the 40000 registers to the device x.x.1.55 ?
I tried to manually update the values from tag values and click apply.
Tried simple scripts like tag3@ = 5
Also tried with ModbusForceFunction06 = 1 (menu Edit COM cfg)
But the new values are not received by the device.

Any ideas will be usefull!
Hi,

Indeed you have tried all easy options...
The best to investigate that is to register a support ticket on the HMS ticketing platform and we will probably ask you an access to your test device via Talk2m to troubleshoot it live.
Ok solved.

I had to add "ModbusForceFunction06 = 1" to Advanced parameters (IOSrvData).