May 10, 2017 - 5:31pm, 3904 views
Could anyone share Java program with EHS5 working as Modbus RTU master?
Or maybe only a part of a program, where Modbus RTU is realized?
Documentation for EHS5 contains nothing about Modbus RTU so I don't know where to start.
Gemalto does not provide any Modbus libraries. The EHS5 module provides among others RS232 interface which can be used by the Java application - the API for the serial port is available (it can be also used for USB). There is also a terminal version which provides RS485 interface. Then you would need to use (and probably adopt) or implement on your own some additional library for Modbus protocol that would work on top of the serial port API.
Unfortunately I don't have any example but I'm sure that there are customers that have realized such solutions.
Thank you for the answer.
I understand about Modbus.
May be there is an example with sending/recieving massages via RS232 or RS485 port no matter what kind of massages. I just want to understand how to send or recieve any kind of massages from Java-application via these ports.
If you have installed the installation CD you should already have some example projects under "C:\Users\Public\Cinterion\EHS5 WTK Examples" or similar path. There should be rs232demo project. There's also a short example in the API documentation.
Besides that it should be possible to find something in our Knowledge Base. For example I have found the following:
Thanks a lot!
© 2013-2023 Thales DIS AIS Deutschland GmbH - a Telit Cinterion Company