Robert Timby
01-17-2008, 04:34 PM
I'm having a problem loading a program into my Haas. I can get it to receive the program but after the program finishes in Cimco v5 the haas just keeps saying that it is loading. I know that i forgeting something but what?
Thanks for the help
Haas_Apps
01-17-2008, 05:17 PM
You are probably missing the % at the end of the program
Robert Timby
01-18-2008, 07:40 AM
Thanks but that was the first thing i checked was the % sign. Just seems like something else i'm missing
Baud rate and partity need to be the same at both ends. Com ports need to be the same at both ends. You need to tell us what your settings are in order to get any usefull help.
Is this the first time trying?
New cable?
Is the cable wored correctly?
Are you using a nul modem?
Yada Yada.....
080118-1045 EST USA
Robert Timby:
How do you know HAAS is receiving anything?
Before working hard on sending to HAAS see if you can receive.
In Cimco Edit do
Transmission
Receive File
Create any desired filename
If any data is received you will see counts change. This won't tell you if the settings are correct. If wrong you should see the error count grow. Looking at the file data you can see what is there.
In my discussion at
http://www.cnczone.com/forums/showthread.php?t=50041
and
http://www.cnczone.com/forums/showthread.php?t=50041 posts #22 and #24
you may find some useful information. Using HyperTerminal may be of value in making sure all your parameters are correct.
However, HAAS is just about the easiest machine in the world with which to do RS232 communication.
I have to assume the red light does not come on.
Define how your cable is wired. Meaning pin X of HAAS goes to what pin on the computer, and what pins are jumpered. Define all your settings at both CNC and computer. Also do you know if you are connected to the correct RS232 connector at either the CNC or computer.
Note: if Cimco is setup for software handshake and RTS and CTS are unchecked, then with nothing connected to the computer connector you would think that data is being sent and it is, it just goes nowhere except to pin 3 of the 9 pin connector.
Even with RTS and CTS checked and nothing connected to the COM port data appears to be sent.
.
Robert Timby
01-18-2008, 11:10 AM
My setting are as listed
@ the computer:---------------- @ the Haas
Baud rate 115200 ----------------115200
parity even ----------------------even
data bits 7 -----------------------7
stop bits 1 -----------------------1
flow none ------------------------can not find it
dtr enable
rts enable
x on 17 --------------------------synchronization on/off
xoff 19
I will send the program and the haas says that it is loading it but never finishes, just keep saying loading data.
080118-1226 EST USA
Robert Timby:
How long is your RS232 cable?
On HAAS the handshake (flow control) possibilities are XON/XOFF, DC codes, Xmodem, (these are all a software handshake), and RTS/CTS (hardware).
Try sending from HAAS to the computer. The program can be as simple as
% (this HAAS generates)
O0100 (this is generated by HAAS)
(this is a comment)
% (again HAAS generates this)
In other words what you see on your screen at HAAS is
(this is a comment)
I think that is enough to be valid.
At the computer you should receive
%
O0100
(this is a comment)
%
5 digits for the O number if it is a newer machine. 5 digits may have occurred at the same time as 115.2 kbaud.
.
Robert Timby
01-18-2008, 12:04 PM
I'll try it, it's just something i'm missing in the set-up i think
080118-1411 EST USA
If your cable is over 6 ft (somewhat longer with low capacitance cable - meaning maybe up to 25 ft but somewhat unlikely), then you may have problems at 115.2 kbaud.
If cable length is your problem we can provide you with a good solution. For example up to 4000 ft at 115.2 kbaud, and +/- 2000 V peak electrical isolation.
.