On Tue, Oct 31, 2006 at 06:37:50PM -0000, thomas wrote:
> My ts7300 is used to control a robot. I had connected a wireless lan
> card to the ts7300. need help.
>
> I want the robot to be controlled through PC using wireless LAN,
> program written in visual basic.
>
> now. how do i program the ts7300 to communicate with the PC using
> tcpip.
If you need interactive communication with the host PC, like driving the robot
with a joystick almost like a RC car, then you need socket communications. Go
here, grab a copy of one of these documents, print it out, read it, and run
through all the examples. That's what I did. After that you should have a good
enough understanding of sockets to do what socket programming you will need to
do. http://beej.us/guide/bgnet/
If you don't need interactive communication, create a file full of robot
commands, send it to the SBC via ftp and then have a system to execute the
commands. 99% of machine tools such as lathes and milling machines work like
this (DNC).
Whichever route you go, you will need a protocol for your commands. I would
first search the web for some sort of standard command language. You can create
your own, such as A1,10,CW for "axis 1, 10 degress Clockwise", or use the time
honored "G00 X1 Y2 Z3" commands common on machine tools.
Hope that helps.
Joe
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|