View Full Version : XPORT LAN module experiences?

Peter Jakacki
01-22-2009, 10:05 PM
I have been using the Lantronix XPORT modules for a few of my projects and haven't really done much with them till lately. They are quite powerful little things once you get to know how to configure them for the job.

I came across the modem emulation mode today which permits the Propeller to interact with the XPORT and "dial" connections. Plus there is the monitor mode which can be entered from the modem emulation mode and from there it is possible to gain access to some detailed network information. As well I have used the modules in UDP broadcast mode to communicate across the network and either have the XPORT or the Prop handle the selection process. At present I'm running from a MODBUS master through a Prop with an XPORT (my "WIDGET") to a remote site back through another WIDGET and out to a MODBUS slave on RS485. Works very well.

So I'm just wondering if anybody else has had much time to play with these XPORT modules and what tricks (good and bad) you may have found with them.


Peter Jakacki
01-22-2009, 10:55 PM
If you want to connect with a WIDGET hooked up to a MODBUS test device you can use this IP address and port number from your browser:

Your browser should come up with Hyperterminal as a default TELNET application and connect to the remote device. If you type a control Z it will give a dummy test response, that's all. To do a rough test of the MODBUS you can use TERATERM to connect to the device on port 10001 and send the MODBUS.TXT attachement. Put TeraTerm into debug mode by typing SHIFT+ESC, this will make it display the control characters. Use FILE, SEND FILE..., Select MODBUS.TXT, tick BINARY and click OPEN. This is just a MODBUS request packet for device #1 to read 16 of the input registers starting from register 8.

This is a readable representation of what it sends and receives:
SEND: [01][04][00][07][00][10][40][07]
RECEIVE: [01][04][20][0E][0D][10][0F][12][11][14][13][16][15][18][17][1A][19][1C][1B][1E][1D][20][1F][22][21][24][23][26][25][28][27][2A][29][2C][2B][58][08]

And this is what Teraterm should display as the response:
^A^D ^N^M^P^O^R^Q^T^S^V^U^X^W^Z^Y^\^[^^^] ^_"!$#&%('*),+X^H

Of course if you have MODBUS master software or equivalent that can connect via TCP/IP then you can read and write the registers of the test device.

I have set the unit to timeout after 3 minutes of inactivity.


Post Edited (Peter Jakacki) : 1/22/2009 4:01:29 PM GMT

01-23-2009, 12:02 AM
I have been using the XPORT XP1001000-03R module for about a year now and am well impressed - the embedded web page to 'COB' is a bit fiddly and of course they are a bit power hungry !. I also use the 'Digi connect me' have you 2/4 MB Flash memory, 8 MB RAM .. Next on the list is the Digi Connect Wi ME
www.digi.com/products/embeddedsolutions/digiconnectwime.jsp (http://www.digi.com/products/embeddedsolutions/digiconnectwime.jsp)

John Twomey

'Necessity is the mother of invention'

Those who can, do.Those who can’t, teach.

Post Edited (QuattroRS4) : 1/22/2009 5:08:32 PM GMT