Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Timeout error arises when i comunicate using Modbus

I tried to communicate with the thermal controller using modbus. But i get timeout error.
How can i overcome this?
0 Kudos
Message 1 of 4
(4,232 Views)
Is this serial modbus or ethernet?  If it is serial, ASCII or RTU.
0 Kudos
Message 2 of 4
(4,223 Views)
The communication is through Serial, mode is RTU.

Message Edited by Arvindti on 01-09-2008 12:17 AM
0 Kudos
Message 3 of 4
(4,204 Views)

Suggest that you start by verifing your com port settings.  I personally suggest that these all be set in your vi.

Spec calls out for 8 data bits for RTU mode.  No other choices here.

Partiy can be even, odd or none.

The number of stop bits depends on the parity setting.  If you are using even or odd parity, then 1 stop bit.  If you are using no parity, then 2 stop bits.  This is an often overlooked setting and what I usually mess up.  :Smiley Mad

Make sure that the controller communication settings match those of your vi.  BAUD rate, parity and especially the address of the controller.

The next step would be to start looking at your connections to the controller.

0 Kudos
Message 4 of 4
(4,198 Views)