I am attempting to read data off of a Love Temperature Controller either Model TS2 or TS3. The devices have a 4 wire port on the back that I am attempting to communicate. I have been informed by the manufacturer that this is possible using a proprietary protocol that is supposedly a Modbus protocol. I have received documentation from the manufacturer Dwyer stating the serial configuration, memory map layout, functions implemented, how to set a variable etc. My problem so far is that I have not been able to communicate with the device at all as any attempt to send data to it only results on silence from the device.
I am using a FTDI 5V cable to communicate with the port. I have verified the pins on the device are 5V Vcc, Tx, Rx, and Ground through tracing them with an oscilloscope and multi-meter.
As for software I am currently running Ubuntu 20.04 LTS using Python 3.8.10. I have tried using pyserial, qmodbus, and pymodbus to communicate but everything times out with no response from the device.
The serial configuration parameters are:
- Baudrate: 9600
- Start Bit: 1 bit
- Stop Bits: 2 bits
- data size: 8 bits
- parity: None
So for example, using python:
import serial
serial = serial.Serial ("/dev/ttyUSB0", bytesize=8, baudrate=9600, parity=serial.PARITY_NONE, stopbits=2, timeout=1)
It should be possible to communicate with this port as there are two products that use this port. One is discontinued, the TS485 which allows for the controller to be used over RS485, and the other, the TS2-K which is still used as a programming key to read and write configuration data to and from various TS2/TS3 controllers.
I've tried debugging serial communication using the code suggested by the pymodbus documentation but I get the same communication timed out or no response from the device.
I will happily supply more details if needed. Any help would be much appreciated.