Hi Everyone, since version TSW2_R_00.01.08 the switch supports a Modbus TCP server as a package. However, I can’t finde the register mapping of this server anywhere. Does anyone know where I can find the register assignment of this package?
Thanks a lot, I can indeed find the port link status that I was looking for.
However, I did find that the register range starts at register 3000 for port 1. I did not test all registers, but this is something to keep in mind.
First of all, thank you for implementing Modbus TCP on the TSW series. This is a long-awaited feature for us that we’ve been asking for for quite some time, so it’s great to finally see it implemented — thank you!
However, I’ve noticed something odd with the uptime register. It returns a very high value (1414727116 for example). I’ve tested this across multiple TSW212 units and they all report similarly high numbers.
The numbers do increment by +1 every second but its not a verry relatable number now.
On the RUT series, this does not seem to be an issue: the uptime is reported correctly in seconds, starting from 0 after a reboot.
One last question: would it be possible to implement a Modbus register for PoE output power? This would be a very useful metric to monitor via Modbus.
Thanks again!
Hi there! Thanks for the feedback, very much appreciated.
Will test this out to see if I’m able to reproduce, and if I am - I’ll report to the R&D. Thank you!
I can register a suggestion for the R&D as well so they would consider implementing this in the near future.
Regards,
M.
Hi, @koenvds ,
After testing the uptime register, I can see that it shows the correct time (my device is about ~39+ days)
Perhaps you selected the wrong register/data type?
Regards,
M.
One more thing, @koenvds , as TSW212 does not have PoE, I’ve instead created a suggestion for the TSW202.
Regards,
M.
Thank you for all the detailed replies.
I just tested using a RUTX50 as the modbus client and that indeed works with Uint32.
Which led to some more testing, it was the word order, it was set to LSB which for the port status doesnt matter but naturally does give issues with the uptime.
I also had to read register 1 instead of 2.
so for now this works, Im sure the eventual wiki will clear things up for me
Thanks!!
PS: we have a large combination of 212 and 202 switches across multiple sites so indeed the PoE for the 202 would nice to have visualised over modbus.

