Switch to desktop version  

Ewon TechForum
Providing technical solutions to technical requests



Modbus TCP/IP Write registers
dezanvu
Junior Member
#1
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!
Reply

simon
eWON Support
#2
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.
Reply

dezanvu
Junior Member
#3
Ok solved.

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




Possibly Related Threads…
20-02-2023, 11:03 AM
Last Post: simon
10-02-2021, 08:05 PM
Last Post: sean.demers@vitaliset.com
  Reading EWON MODBUS Started by Arno_HPP
4 Replies - 4.525 Views
27-10-2020, 06:27 PM
Last Post: Arno_HPP



Users browsing this thread:
1 Guest(s)



Theme © Ewon 2019 - Forum software by © MyBB - Cookie policy