Kirk Wallace wrote:
> Please let me know if this is too far off topic.
>
> I have a friend with a couple of 80's vintage Mori Seiki's and a
> Matsuura, all with Yasnac controls. He wants to move g-code files
> through the serial ports with a laptop. I made a cable, set the serial
> port parameters and was able to get characters to a terminal emulator on
> the laptop. The problem is that some of the characters are not presented
> on the screen properly. My guess is that what is coming across is a tape
> code and the terminal needs ASCII. Is my guess correct? Will I need to
> buy BTR software or is there another way to save and load g-code through
> the controller serial ports?
>
>   
CNC machines used two different codes.  Before ASCII was a standard, 
there was "EIA".
It is a totally different code, although the translation is pretty 
straightforward.  The EIA code is also known as RS-244.
Bit 4 (code value 16) is the parity bit, right in the middle of the 
7-bit byte.  Here's one doc that shows the code, although I found it a 
bit hard to read   
http://faculty.etsu.edu/hemphill/entc3710/nc-prog/nc-04-01.htm

The PC ought to be able to read and send the files as raw characters 
(probably should set for 7 bits, no parity).
You would then need some converter programs to make them readable.  
Possibly, the Yasnac controls can be set to send with ASCII format.

Jon

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to