Modbus Comms Through Ip-Serial Converter


paulneal

Recommended Posts

Hi,

 

I am using a lantronixs Ethernet to serial converter that has a modbus protocol converter in it. we have used it on numerous jobs now with no problems.

However i have one project where eventually the comms hangs up and will not recover. i just get port locked on everything. as soon as i restart Daqfactory it all starts working fine again.

 

any ideas of either curing it or a means of resetting the port.

 

Regards

 

Paul.

Link to comment
Share on other sites

Next time it locks up try reinitializing the port.  You can do it in script or at the command alert with:

 

device.mydevice.initcomm()

 

or simply open the configuration window for the port and then click OK.

 

Does the lantronix unit you are using work without the protocol converter (I'm assuming its an ModbusRTU->TCP converter)?  If so you might consider just going direct since DAQFactory can talk ModbusRTU over ethernet.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.