Home > Community > Discussion Forums


Showing results for 
Search instead for 
Do you mean 
Posts: 5
Accepted Solution

Multiple Modbus with shared serial port

I know Lookout lets you do cool things like have multiple serial protocols that share the same hardware serial port.


I have an application where I might like Lookout to simulate a network of Modbus devices for some testing. In this case, I would like to set up multiple Modbus Slave objects, all with different Modbus node addresses and have them all listen on the same serial port. Would this be possible? Each Modbus message received will include the slave number in it. Could several objects listen on the port and only the selected one respond?




Accepted by topic author MCC_max
‎08-27-2015 06:09 PM
Active Participant
Posts: 1,672

Re: Multiple Modbus with shared serial port

[ Edited ]

Yes, lookout modbus slave can work in this way.

But ethernet mode doesn't support it.

Ryan Shi
National Instruments
Posts: 5

Re: Multiple Modbus with shared serial port

I am interested in a similar arrangement to the original question - two devices on Modbus RS485.  I have both on a Serial to Ethernet converter, and the Ethernet converter on the same network as my PC.  Each device is set up in Lookout as a Modbus Ethernet device, using the IP address of the converter - differentiated by having a different Identifier matching the Modbus address of each device.  Does this sound like a good set up as far as Lookout is concerned?


The problem that I am having is that only one device responds to the queries sent by Lookout, so my question is part of troubleshooting why its not working.