On Tue, 2012-02-28 at 07:03 +0000, Chris Morley wrote:
... snip
> When I fire up classicladder (I'm using the parent version not EMC's)
> then run sudo netstat -anp --tcp
> I see:
> tcp        0      0 0.0.0.0:9503            0.0.0.0:*               LISTEN    
>   20701/classicladder
> 
> so that is address 0.0.0.0 port 9502 and its waiting for someone to connect 
> to it.
> 
> I can change the port number. 
> I'm not sure how to change that address.
> 
> Chris M

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 

It looks like this can be entered as an option on the loadrt or loadusr
command line or in the GUI set up under Slave Address. Just find the
address of the slave, maybe with ifconfig on the slave (if it is a Linux
slave) and the port number that was used when loading or setting up the
slave.

BTW, the above shows the port as 9503 instead of 9502, so in this case
the master will need to point to 9503.

Usually a computer has one Ethernet port, but could have more. Another
standard port is called a loopback which I gather is used for some
software that needs a network but doesn't need to talk outside of the
computer. It's address is 127.0.0.0 or named loopback:
http://en.wikipedia.org/wiki/Localhost 

With this, one can connect the Mobus master and slave on the same PC, I
suppose mostly for testing.
-- 
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

Reply via email to