no, that's the TCP destination port, nothing todo with the slave A TCP connection is defined by {sourceip-address,some source port, destip-address,destination port} once established, it's just a bidirectional stream of bytes with no interpretation, just like a serial connection over /dev/ttySomething
a Modbus slave number tells one of the parties how to interpret the stuff coming in/going out over this stream -m Am 28.02.2012 um 19:24 schrieb Kirk Wallace: > On Tue, 2012-02-28 at 09:48 -0800, Kirk Wallace wrote: > ... snip >> My guess is that anywhere you would put the serial slave address one can >> put the TCP address instead. If you are already changing the port, just >> put the IP address in with it, maybe like: >> "192.168.1.10:9502" >> ^^^IP ADR^^^:^Port > ... snip > > I just noticed the command line option "--modbus_port". I'm wondering if > this means "modbus_slave_address"? If so, "--modbus_port > 192.168.1.10:9503" might be appropriate. Although, at the moment I can't > seem to get anything other than the demo to start, so that shows you > what I know. > -- > Kirk Wallace > http://www.wallacecompany.com/machine_shop/ > http://www.wallacecompany.com/E45/index.html > California, USA > > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users