Other Parts Discussed in Thread: MSP430F5438A
Hi, I am using MSP430F5438A as a controller and a Schneider HMI GXO3502 for modbus RTU communication.
I am using Modbus Poll and Modbus Slave softwares for simulation.
I have used RS485 at the controller side and RS232 at the HMI side with a converter in between.
The communication between the controller(Slave) and the PC Software(Modbus Poll Master) works without errors.
Similarly the communication between the HMI(Master) and the PC Software(Modbus Slave) also works without errors.
However when I communicate the Controller(Slave) with the HMI(Master), I am getting a PLC Timeout error on the HMI and the communication halts for some milliseconds before getting restored again. The settings throughout the Simulation softwares, Controller and HMI are 9600-8-Even-1.
I have tried increasing the controller timeout as well as increasing the HMI transmit time and HMI receive timeout period.
I am using a script which runs every 1 second to write RTC values from HMI to controller. Other than that the HMI sends a read command(0x03) for every element present on the current screen. Thus, there are two functions read and write sent one after the other.
I would like to know what else I need to try out to make the communication between the HMI and the controller work.
Thanks,
Tanmay Gadekar