CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > Mazak, Mitsubishi, Mazatrol


Mazak, Mitsubishi, Mazatrol Discuss Mazak, Mitsubishi and Mazatrol systems here!


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-06-2009, 02:46 PM
 
Join Date: Jan 2009
Location: Canada
Posts: 10
Josh Lehman is on a distinguished road
Running into memory issues Mitsubishi M-V60C - Meldas 300 Controller

Hello Everyone,

Just wanted to say right off the bat that this forum is great so many answers to different questions. Ive looked through some threads and did not come across anything like what I am going to ask. Maybe there are and I was just looking in the wrong place, anyways any help would be greatly appreciated.

I work in a custom fabrication shop where we have a Mitsubishi M-V60C 3 Axis Mill which is coupled to a Meldas 300 Series controller. The mill is connected to a pc via RS232C and communications between the two work flawlessly.

This is where the problem begins - Im not exactly sure how much memory these controllers have, buts im willing to bet its not alot in todays standards. I can fill up the memory very quick with a simple program from Mastercam 8 and wont even try Mastercam X until I get this figured out. I would love to create some really nice pieces, but have been limited to tiny programs up until this point.

At one time years ago my boss hired a guy to come and try to fix this issue. They managed to get the machine to run in tape mode while streaming the NC program from the computer via RS232C. The only problem was that the machine would run line by line, pausing between each line for a second or so.

I would like to learn how to setup this connection again and fully document it this time. I would also like to get the mill running continuously (not block by block) while using tape mode. If anybody can offer any help with this it would be much appreciated. Thanks.

Josh
Reply With Quote

  #2   Ban this user!
Old 01-06-2009, 03:00 PM
 
Join Date: Jan 2009
Location: Canada
Posts: 10
Josh Lehman is on a distinguished road

I guess another option would be to upgrade the memory if thats possible, if anyone has insight on this as well please share.

Josh
Reply With Quote

  #3  
Old 01-06-2009, 08:02 PM
Gold Member
 
Join Date: Oct 2005
Location: USA
Posts: 663
Caprirs is on a distinguished road

Most likely, your machine will have 32K or 64K of memory. Usually, this is plenty if you are doing conventional 2.5 axis work. As soon as you do some 3D surfacing, you'll run out of room in a hurry. At that point, you will have to DNC/dripfeed programs to the machine.

I have two Dynamechtronics mills with the Mits M3 controls. I have successfully used Windows Hyperterminal, a 9-pin to 25-pin serial cable with a null modem adapter to do basic transfers to and from the machine memory but have not been able to use it for DNC/dripfeed. I listed off how I setup the machine and Hyperterminal here.

To be able to DNC, I am using software from andycarter (he posts on these forums). His web site is www.iworkshop.co.uk I also use isolators from Gordon Roberts (gar on the forums). Gordon's isolators prevent damage to the PC and control. Andrew's software is easy to use and works well.
Reply With Quote

  #4   Ban this user!
Old 01-08-2009, 10:27 AM
 
Join Date: Jan 2009
Location: Canada
Posts: 10
Josh Lehman is on a distinguished road
More problems now

Well I managed to get the machine partially working in DNC mode yesterday. By partially I mean that it was only taking part of the NC code, sometimes it was from the start of the NC file and at other times it was from the middle of the file. The machine also started to give me "E20 over run error", im not sure what this means. Now it will not accept any NC files from the PC in either memory mode OR tape mode, the prgram I am trying to load comes up on the controller but it has zero charachters its just blank. Its like the E20 error is stopping the communication between PC and controller.

My settings for communication are:

Baud Rate - 4800
data bits - 7
parity even
stop bits 2
Xon/Xoff

Does anyone know whats happening here? Again any help is greatly appreciated. Thanks
Reply With Quote

  #5  
Old 01-08-2009, 07:30 PM
Gold Member
 
Join Date: Oct 2005
Location: USA
Posts: 663
Caprirs is on a distinguished road

Check to make sure your FIFO buffers disabled on the PC. You access the settings in Control Panel -> System -> Hardware tab -> Device Manager. Find your COM ports and double click the one you're communicating with. Click the tab for Port Settings then Advanced. Uncheck the FIFO buffers. Having this turned on can cause problems with RS232 transfer, especially DNC.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-09-2009, 07:22 AM
 
Join Date: Jan 2009
Location: Canada
Posts: 10
Josh Lehman is on a distinguished road

Thanks Caprirs,

Im going to try the FIFO thing today and see what happens. Ill post the results.
Reply With Quote

  #7   Ban this user!
Old 01-14-2009, 08:50 AM
 
Join Date: Jan 2009
Location: Canada
Posts: 10
Josh Lehman is on a distinguished road
GOT IT WORKING!!!

Well I managed to get the machine working in DNC/dripfeed mode. Ran it all day yesterday tesing tool changes and trying new programs ive made in Mastercam X.

It was really tricky figuring out the right routine. We managed to get it working on monday, but when we tried to run a second program it wouldnt work. Just kept continuously streaming data until the controller memory was full. Well yesterday I figured it out, the routine is as follows:

--> Put mill in tape mode
--> Go to Input page on controller, then TAPE #(1) DATA(1111) then hit input (be sure this program number (e.g. 1111) matches the program number that is in the NC file you are going to run)
-->Open Surfcam DNC, can be found in surfcam directory in windows start menu.
-->Download NC file
-->Click "send" to Mill
-->File will start streaming uninterrupted. Hit Reset on milling machine, at this point file transfer has stopped in surfcam DNC. On the mill you should see “E07 RESET END”. In surfcam DNC you should read “waiting for XON signal”.
-->Hit reset in Surfcam DNC.
-->On the controller, delete the partial program that was just uploaded to mill.
--> Go to Input page on controller, then TAPE #(1) DATA(1111) then hit input (be sure this program number (e.g. 1111) matches the program number that is in the NC file you are going to run)
-->In SurfcamDNC hit transmit file button, it will stop and say “waiting for XON signal”.
-->You can now hit run button on mill and program should start.

I am using Surfcam DNC (we already had this installed) for the transfer. I will also mention that I did install a demo version of predator DNC and NCplot on the pc used for transfer. Not sure if the installation of those programs modified a setting in windows or something.

Thanks Caprirs and to everyone else here at cnczone.com for helping fix this problem. Ill have to post some pics of some of the stuff we are going to make on this machine.

Josh
Reply With Quote

  #8   Ban this user!
Old 01-14-2009, 12:20 PM
CNC Viking's Avatar  
Join Date: May 2008
Location: Sweden
Posts: 216
CNC Viking is on a distinguished road

Originally Posted by Josh Lehman View Post
--> Put mill in tape mode
--> Go to Input page on controller, then TAPE #(1) DATA(1111) then hit input (be sure this program number (e.g. 1111) matches the program number that is in the NC file you are going to run)
-->Open Surfcam DNC, can be found in surfcam directory in windows start menu.
-->Download NC file
-->Click "send" to Mill
-->File will start streaming uninterrupted. Hit Reset on milling machine, at this point file transfer has stopped in surfcam DNC. On the mill you should see “E07 RESET END”. In surfcam DNC you should read “waiting for XON signal”.
-->Hit reset in Surfcam DNC.
-->On the controller, delete the partial program that was just uploaded to mill.
--> Go to Input page on controller, then TAPE #(1) DATA(1111) then hit input (be sure this program number (e.g. 1111) matches the program number that is in the NC file you are going to run)
-->In SurfcamDNC hit transmit file button, it will stop and say “waiting for XON signal”.
-->You can now hit run button on mill and program should start.
Josh
I don't understand any of the RESET steps you are doing.
My CNC has a Meldas 520 AMR and set up for DC-codes.

These are my steps:

I start with opening my DNC software in the PC and then open the desired program O1234

1. Hit SEND to CNC in the DNC software in PC. THe DNC answers "Waiting for DC code".

2. Go to the CNC and select TAPE mode, hit DIAGN IN/OUT. Then hit soft button under the screen for INPUT.

3. Write #(1) DATA(1234) and hit INPUT/CALC.

4. Hit CYCLE START and the CNC starts running the program immediately.

When the CNC has completed the program, I can run it again just by repeating steps 1,3 & 4 again.
Just my $0.02

Now, I also have some memory related questions to anyone that knows:

1. Which buffer memory is used in the Meldas 520 when it is in the TAPE mode? I have the following memories. Believe it or not, my controler calls it "EXPANDED MEMORY". I don't dare to think what the standard package is like, lol.

QX424A=1MB SRAM on MBUS
QX635A=2MB ROM (External Casette memory) on CBUS1
QX812A=256KB ROM (External Casette memory) on CBUS2

2. I have not tried to DNC anything larger than a few KB yet, but want to see what happens when it reaches the buffer limit.

I want to see that it stops properly before buffer overrun and that it starts to fill up again before emptied "seamlessly" without any hick-ups etc.

Is there any good, and big enough, test program(s) that one could download and test cutting air with.

Is there a way to "consume" such a program quicker so I dont have to wait hours for the result? Maybe change the feedrate etc?

/Peter
Reply With Quote

  #9   Ban this user!
Old 01-14-2009, 12:41 PM
 
Join Date: Jan 2009
Location: Canada
Posts: 10
Josh Lehman is on a distinguished road

CNC Viking,

"1. Hit SEND to CNC in the DNC software in PC. THe DNC answers "Waiting for DC code"."

When I would try youre step #1 on my machine, the DNC software just keeps sending. Once or twice it would stop right away and display a "waiting for"
message, but 99% of the time it would just keep going, even with the controller in tape mode. Not sure why I have to go through the reset routine to get it to work. Does anyone else know why?

As for your memory question, im really not sure. Hopefully someone else will see this thread and reply to your question.

We just made up a program in mastercam that was about 2MB and ran it on a chunk of wood. We were able to crank up the feedrate so the program would run faster.
Reply With Quote

  #10   Ban this user!
Old 01-14-2009, 01:03 PM
CNC Viking's Avatar  
Join Date: May 2008
Location: Sweden
Posts: 216
CNC Viking is on a distinguished road

Josh,

Have you checked your stop bit settings? If the DNC doesn't see the XOFF signal quick enough, it will overrun the buffer. Some people even add delays and what not.

FYI read these other threads:
http://www.cnczone.com/forums/showthread.php?t=20283
http://www.cnczone.com/forums/showthread.php?t=49089


Re. The testing with a large program. I am not there yet. I will soon get a CAM program, but want to test this now. So any working 2MB-ish 3-axis program to test with would be appreciated.

/Peter
Reply With Quote

Sponsored Links
  #11  
Old 01-14-2009, 05:43 PM
Gold Member
 
Join Date: Oct 2005
Location: USA
Posts: 663
Caprirs is on a distinguished road

Josh,

CNC Viking's method is similar to my procedure with the M3 controls and Andy Carter's DNC software.

1. Open the file on the PC using the DNC software. Start sending the file.
2. On the mill, select TAPE, enter the program number and TAPE(1) and press INPUT. With the DNC software active on the PC, the mill should see the RS232 port as enabled and find the first line of the program.
3. Press CYCLE START on the mill.

It sounds like either the stop bits are not matched or there's something about the wiring between CNC and PC. Remember that the Mitsubishi parameter for stop bits is:
1:1 bit
2:1.5 bits
3:2 bits
Reply With Quote

  #12   Ban this user!
Old 01-14-2009, 06:34 PM
CNC Viking's Avatar  
Join Date: May 2008
Location: Sweden
Posts: 216
CNC Viking is on a distinguished road

I never see any other recommendations than param. 3=2 stop bits. Thats what I use too.

But I have not tested large programs yet.
Reply With Quote

Reply

Tags
m-v60c, meldas 300, mitsubishi




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mitsubishi Meldas L3 hutch07 General Metalwork Discussion 4 09-18-2010 05:31 AM
Mitsubishi M-V60C needs floppy. Tulak Mazak, Mitsubishi, Mazatrol 5 10-06-2008 09:27 AM
Mitsubishi Meldas 60S BKCOM General CNC (Mill and Lathe) Control Software (NC) 0 08-29-2007 02:07 AM
Mitsubishi M-V60C w/c MELDAS 300M Tulak Mazak, Mitsubishi, Mazatrol 2 06-14-2007 10:03 PM
Mitsubishi Meldas 300-V firestaromega Computers and Networking 3 05-24-2006 08:37 PM




All times are GMT -5. The time now is 12:30 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361