070522-1954 EST USA
What is this call program, what does it do, and where is it located? What data is put into the call program, and how?
What is your communication protocol?
What does eNETDNC say about how to perform this looping operation?
.
I have a 2.7MB program I'm drip feeding to my 2004 HAAS VF-2 and I'm having trouble getting the program to re-load when finishing a piece. I'm using eNETDNC to transfer my programs. I send out my call program and and hit MDI twice to get it into DNC mode, the program loads up and is all set to run. After it's done I hit start again and the control tells me to hit reset, so I do and it seems to load up the program again but it only loads a few lines of code. Am I doing something wrong here? The eNETDNC has an option for looping and I have that enabled. I've got 250 pieces to run so I need to have this program loaded and ready without sending my call program for every piece.
070522-1954 EST USA
What is this call program, what does it do, and where is it located? What data is put into the call program, and how?
What is your communication protocol?
What does eNETDNC say about how to perform this looping operation?
.
The call program tells the eNETDNC software I want a program sent to the machine. It's stored in my programs list in the machine. The only data put in the call program is the program number. All of our CNC's are wired via cat5 to our local network. As far as the looping operation, there is a box in the options page and I checked the box to enable it. The manual doesn't say much about it.
I was just wondering if anyone here has had experience with something like this. I might have to call tech support from eNETDNC tomorrow. Here's what we are using. http://www.jmrsys.com/pages/enetdnc-cabled-dnc.htm
070524-0710 EST USA
dylskee:
List the complete "call program" so we can see what is in it.
.
As I said before, it's just the program number of the program to be sent to the machine. So the standard call program number is 7777 for all machines, and this is what it looks like.
Thats all the call program consists of. I contacted tech support about this and he believes it's just some settings tweaking of the eNETDNC and it should work. He gave me a few settings to change but I won't have a chance to try until tomorrow morning some time. I'll post back with my results.Code:(7777) 01234;
070525-1023 EST USA
I am not clear on the logical sequence of the various operations you perform.
Do you have a load program stored on your HAAS in the program space such as follows:
At O1000 is stored
O1000
(7777)
O1234
and nothing else. At least this is what is displayed on the screen.
Where O1000 is any O-number you choose. Stored on your computer this would look like
%
O1000
(7777)
O1234
%
Is O1234 the program that you want sent from the computer to the CNC?
More basic questions. How big is the memory in your 2004 VF-2? Is your communication with HAAS thru the HAAS Ethernet option, or thru RS232 to Ethernet? What is the function of the comment (7777)?
Is (7777) some special command that sends a message to the computer to send the file with the name that is on the next line, in this case O1234? Is that an "O" or a zero digit.? Can the file to be sent have any sort of name such:
CV_PN-672AX-640.CNC
After you make O1000 the current active program exactly what buttons do you operate and in what order?
I do not have any form of HAAS Ethernet on any of my machines so I have to ask questions that maybe obvious to you.
.
If nothing else works do this:
- end the program with M00 ( not M30)
- copy the program 10 times into the same file name
- send it to the machine
the program will run 10 times , change the blank on M00.
070525-1138 EST USA
Yossi:
In response to the question you sent me. Yes your idea is fine, but it makes the source file large.
No matter how this problem is solved there is a safety issue that may need to be addressed. If the door interlock is overridden, then the only operation to start the machine is the start button. This would be a major problem if a person or part of them was in the machine.
Having to restart drip mode is better because MDI Has to be hit twice followed by start.
The same safety issue exists with an M30 and the start button in non-DNC mode..
.
I'll take a wild guess. There are control characters you should be able to set in EnetDNC that should signal the HAAS the end of file is reached at the RS232 port. M30 is just an M-code the control will execute but it doesn't close the communication port and the buffer receives the first few lines of the "looped" program from EnetDNC. Some controls need a ^Z or ascii code (026) EOF at the end of a transmitted file (1A in hex). Others use the % sign (025 in hex).
Are you using XON and XOFF (ascii 017 and ascii 019) for the "handshake"?
Just spit-wadding,
Bart
your program should be
O7777;
(1234); program to be qued up
M30; or M2;
Some day, somebody is going to explain to me how a user stumbles onto a four-year-old thread and responds to it.
Greg
How stupid am i. Just passing through and didnt even look to see how old post was.