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 10-16-2007, 10:27 PM
 
Join Date: Aug 2007
Location: singapore
Posts: 7
koeitool is on a distinguished road
Dnc problem for Mitsubishi Meldas 520AM

Hi, All


Our CNC machine controller is Mitsubishi Meldas 520am(very old), PC operation system is Windows XP. RS232 connection: CNC Machine---25pin---25 pin---converter---9pin---PC.

I have no problem to send very very small NC programs to CNC machine using ConnectCNC.( Using Xon/Xoff flow control, baud rate 4800, data bits:7, stop bits:2, parity: even). Since the memory at machine side is very small (less than 100k), I try to use DNC, but don't succeed, with error "P460 TAPE I/O ERROR". ConnectCNC does not seem to care about whether the CNC machine is ready for receiving or not, and it just sends the NC program after the SEND button is pressed. It never waits for a Xon singal.

The funning thing is that the machine can't receive a small NC program when I use " Wait for Xon" function in other software such as Cimco edit (same settings as ConnectCNC on both PC and machine sides).

so my stupid questions are:
Is the Meldas 520 using the same port for data receiving and sending?(There is only one port on machine).
Which handshake is better for this old machine( Xon/Xoff or hardware handshake or no handshake)?

Any suggestion will be appreciated.

Thanks in advance.
Reply With Quote

  #2  
Old 10-18-2007, 12:22 AM
Gold Member
 
Join Date: Oct 2005
Location: USA
Posts: 663
Caprirs is on a distinguished road

Help needed to connect Mitsubishi Meldas to PC

See that link for my settings for file transfer and DNC. I use Device 0 for file transfer (Xon/Xoff) and Device 1 for DNC (hardware flow control). On the PC, I use Windows Hyperterminal for file transfers. When using DNC, set the handshake to hardware for RTS/CTS.

1. Start with the DNC software running on the PC so it "turns on" the COM port.
2. On the CNC machine, put the Mode select on DNC.
3. In the Search screen enter the program number and set the last field TAPE to "1" and press the INPUT key. The CNC will now be ready to recieve.
4. At the PC, start sending the file.
5. At the CNC, press Cycle Start to begin running the program.
Reply With Quote

  #3   Ban this user!
Old 10-18-2007, 03:43 AM
 
Join Date: Aug 2007
Location: singapore
Posts: 7
koeitool is on a distinguished road

Hi, caprirs:

Thank you very much for your reply.

I still have some questions:

1.Do you mean that I have to use hardware handshake control for DNC?
Currently I’m using Software(Xon/Xoff) control. My RS232 line is connected like the following:
PC CNC
1---------------------- 1
3 ---------------------- 2
2 ---------------------- 3
7 ---------------------- 7
6-8-20 6-8-20
4-5 4-5

2.Do I have to change the line link to hardware control? Maybe Meldas is special, only using Hardware control, I don’t know. I’ll give a try.

3.Can I use the same port no. for data transfer and DNC? I have only one port on my machine. I see that you are using different ports for file transfer and DNC.

4.I don’t have any DNC mode on my machine control panel. Do you mean the Tape Mode?

Your suggestion will be greatly appreciated.

Last edited by koeitool; 10-24-2007 at 11:27 PM.
Reply With Quote

  #4  
Old 10-18-2007, 09:30 PM
Gold Member
 
Join Date: Oct 2005
Location: USA
Posts: 663
Caprirs is on a distinguished road

1. You do not have to use hardware handshaking for DNC. However, it speeds up the transfer of the file because it allows the send/stop signals to run on wires 4 & 5 instead of being encoded on 2 & 3. Thus, 2 & 3 contain only data, no transmission signals.

Your wiring needs altering I think. Pins 2 & 3 should be crossed to each other. You show that yours are wired straight through. Pin 2 is send and 3 is receive. Your PC has to send data on 2 to the Meldas pin 3 (receive).

You also have jumpered 4 & 5 which defeats the hardware handshaking. Thus, you have to use Xon/Xoff software control with your wiring of 4 & 5.

You have 6, 8, & 20 jumpered to each other at each end. This may be why the PC starts sending without waiting for the Meldas to be ready. See the attached picture of the null modem adapter.

2. Line link? Nothing special about the Mitsubishi. Standard RS232 as far as I know.

3. You can use the same port for file transfer and DNC. I am using the same port for both. However, I am using different "devices" with different settings. Everything goes through the same DB25 connector on the machine but I use hardware handshaking for DNC.

4. Tape mode should be the same as DNC mode. The OEM machine tool builder makes the control panels so there is some variance in labels. Kinda like some machines say "Zero Return" and others say "Home".
Attached Thumbnails
Click image for larger version

Name:	null.jpg‎
Views:	105
Size:	95.1 KB
ID:	45473  
Reply With Quote

  #5   Ban this user!
Old 10-18-2007, 11:26 PM
 
Join Date: Aug 2007
Location: singapore
Posts: 7
koeitool is on a distinguished road

Hi, caprirs:

Thank you very much! You are an expert on RS232.

I made a mistake yesterday. Actually, my wiring is crossed at pin 2 &3 (not straight). I’m still not clear why jumpering 4 & 5 will defeat the hardware handshaking and why can’t jumper
6, 8, & 20 at both sides. I found some cable guideline on the following website. It seems jumper 6, 8, & 20 at both sides.
http://www.cimco-software.com/support_cables.php3

Best regards!
Attached Thumbnails
Click image for larger version

Name:	support_cables-large.jpg‎
Views:	172
Size:	104.8 KB
ID:	45476  
Reply With Quote

Sponsored Links
  #6  
Old 10-18-2007, 11:48 PM
Gold Member
 
Join Date: Oct 2005
Location: USA
Posts: 663
Caprirs is on a distinguished road

I am no expert.

Jumpering 4 & 5 defeats the hardware handshaking because the PC is jumpered to itself and the control is jumpered to itself. Pins 4 & 5 are "Ready To Send" and "Clear To Send". By jumpering, the CNC never sees the RTS/CTS signals from the PC. Same for the reverse, the PC cannot tell the CNC to start/stop transmission.

Thus, during DNC using hardware handshaking, the CNC has to send start/stop signals via the CNC's pin 4 & 5 to the PC's pin 5 & 4. When jumpered, the CNC is sending the start/stop signals to the CNC and the PC is signaling itself instead of signaling the CNC.

I think 6, 8, & 20 work similarly. Keeping all wires jumpered prevents the CNC and PC from using those wires to communicate with each other.
Reply With Quote

Reply




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
Help needed to connect Mitsubishi Meldas to PC 2_jammer Computers and Networking 17 07-10-2010 04:22 PM
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
ask for help about connecting pc to mitsubishi meldas 50s samhai Mazak, Mitsubishi, Mazatrol 1 04-16-2007 03:39 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 03:06 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