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 05-06-2006, 07:21 AM
 
Join Date: May 2006
Location: Italy
Age: 51
Posts: 4
KombianCNC is on a distinguished road
Meldas 64 ASM and rs232

Hi and greeting from Italy. I'm writing this message on behalf of a friend who doesn't understand English. Here is the problem :
My friend works in a company that own a milling machine powered by a MELDAS 64 ASM controller. They are trying to send CAM data files from a PC to the CNC controller via RS232.

Transferring data from the CAM program in the PC to the CNC controller via RS 232 is a process that is having problems. The data is someway corrupted and the result is obviously a wrong operation.

The RS 232 settings we are using are :

7 data bit
2 stop bits
9600 baud
even parity
flow control : xon/off

The cable configurations is :


MELDAS 64 ASM PC

1 ------------------------------------------------- 1

7 ------------------------------------------------- 7

2 ------------------------------------------------- 3

3-------------------------------------------------- 2

4 ----- ------ 4
| |
5 ----- ------- 5

6 ----- ------ 6
| |
20 ---- ----- 20

The cable is only 10 feets long and so cable length should not be is not an issue.
a Technician suggested to use hyperterminal to transfer the Gcode using the same communication data parameters and a VT100 terminal emulation. I'm a computer consultant and after seeing the problem I suspect that the data flow control (which is done in softwtare via xon/xoff) could be the problem.

Software flow control made via Xon/xoff is not affordable and I think that the parameters data could be wrong. Although we didn/t try, I think that lowering the baud rate speed woludn't be a solution because the files to be transferred are pretty big (in the 4 - 5 mb range) and the time requested would be too high.

To solve this problem in another way, an expansion board for the Meldas 64 ASM capable to support flash cards has been bought. The part # for this expensive board is FCU6 EP203 (or at least this is the item # quoted in the invoice). The technician was not able to make the MELDAS 64 ASM recognize this expansion board and so the flash card can't still be used. Does anyone had the same problem ? Which is the correct procedure to let the controller recognize this board ?

Do you have some idea about how to solve this ? Further info about the controller are : Part # FCU6 - MU032 version B with sw BND 39w000 rel. C5.

Many thanks for you help.

Sandro

PS: We have been told that there is s a big difference between Meldas 64 and Meldas 64 ASM. Is this true ? One more thing... please ignore my english errors my italian i s far better.
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 05-06-2006, 09:29 AM
 
Join Date: Sep 2005
Location: USA
Age: 60
Posts: 755
Dan Fritz is on a distinguished road
Data bits setting

Sandro: Your English is much better than my Italian!

We've found that the Mitsubishi and Mitsubishi-made Meldas controls are unusual in that they must be set to use 8 data bits and even parity when the PC is set to use 7 data bits and even parity.

Normally, this would not make much sense becase 8 data bits with one additional parity bit is 9 bits, but I think this is just a difference between how Mitsubishi uses the term "8 data bits".

In any case, try setting the Mitsubishi to 8 data bits and leave everything else the same. Keep the setting on your PC at 7 data bits and even parity

Your cable wiring is a bit unusual, but it should work OK.

Hope this helps.
Tweet this Post!Share on Facebook
Reply With Quote

  #3  
Old 05-06-2006, 10:02 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,714
Al_The_Man is on a distinguished road
Buy me a Beer?

Sandro, I will send a PM with a Mitsubishi support contact that should be able to help with the Card issue.
Also with the RS232 problem, I would try a transfer from C64 to PC and also try 4800 baud with a small program to see if a difference exsists.
Al.
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #4  
Old 05-06-2006, 10:22 AM
MetLHead's Avatar
Gold Member
 
Join Date: Mar 2003
Location: USA
Posts: 724
MetLHead is on a distinguished road

Sandro,

I recently solved a similar problem that had plagued me for a long time. While trying to DNC to a Meldas M50, I would receive intermittent P460 TAPE I/O ERROR. I tried different DNC software, but I experienced the same problem with all of them. So I decided to write my own DNC software, and that's when I realized what the problem was.

The way the M50 handles the DNC is this (and I think the M64 is no different): When it's receive buffer is low or empty, it sends the XON character to tell the PC to start sending. And when it's receive buffer is almost full, it sends the XOFF character to tell the PC to stop sending. So far, this is nothing unusual. What I found was that the M50 doesn't send the XOFF character until the receive buffer is very close to being full. Something in the area of 8 characters. This in itself doesn't cause problems, it's actually the DNC software on the PC that causes the problem. I found that most DNC software WILL NOT STOP SENDING IN THE MIDDLE OF A BLOCK. So even though the PC received the XOFF character, transmitting continued until the block was finished. And with the M50's receive buffer almost full, this would cause the P460 error if the block was long enough.

So my DNC software was written specifically to avoid this problem, and works great on the Mitsubishi controls. If you want to try it, it's included with NCPlot beta 20:
www.ncplot.com

Regards,
Scott
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 05-06-2006, 11:05 AM
 
Join Date: Sep 2005
Location: USA
Age: 60
Posts: 755
Dan Fritz is on a distinguished road

Scott is right. The Meldas controls require that the PC software stop sending very quickly when the Xoff handshake occurs. Fanucs also have room for only 10 characters after the Xoff, so they're a problem for many DNC programs too.

With many kinds of Windows DNC software, you can improve handshaking performance by setting the "FIFO buffer" in the Windows Control panel to a lower setting. Here's the procedure for Windows 2000 and XP:

Start button, then SETTINGS, then CONTROL PANEL
Double click the SYSTEM icon, then HARDWARE tab, then DEVICE MANAGER
Double-click on PORTS COM & LPT to expose the list of ports under it
Right-click on the COM port you are using for DNC, then select PROPERTIES
Click PORT SETTINGS then ADVANCED

Set the "Transmit buffer" slider to a lower setting (to the far left, or maybe one notch up from the left is OK).

Click OK to exit all menus and try the DNC operation again. This will only help if you're getting "Buffer overflow" alarms on the CNC.

Like Scott says, some DNC software is better than others in this respect.
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-07-2006, 03:18 AM
 
Join Date: May 2006
Location: Italy
Age: 51
Posts: 4
KombianCNC is on a distinguished road

Originally Posted by Dan Fritz
Sandro: Your English is much better than my Italian!

We've found that the Mitsubishi and Mitsubishi-made Meldas controls are unusual in that they must be set to use 8 data bits and even parity when the PC is set to use 7 data bits and even parity.

Normally, this would not make much sense becase 8 data bits with one additional parity bit is 9 bits, but I think this is just a difference between how Mitsubishi uses the term "8 data bits".

In any case, try setting the Mitsubishi to 8 data bits and leave everything else the same. Keep the setting on your PC at 7 data bits and even parity

Your cable wiring is a bit unusual, but it should work OK.

Hope this helps.
Thanks for your suggestion Dan. I'm quite surprised to know that Mitsubishi could use 8 bit as 7 ! But, anyway.. everything is possible. I will try your suggestion.
I will keep 7 bit even parity on the pc and I'll set 8 bit on the Meldas.

About the cable wiring... it was suggested by the Italian Mitsubishi support team but I'm not sure if they really know what they are doing. Meldas controls are not so common here in Italy and may that Mitsubishi guys simply send me the first document they found after a search in their internal database (if they have one).

The same was true about the software to be used. Mitsubishi simply suggested to use Windows HyperTerminal that as you know is not the best program to use to tansfer data to/from external devices via rs232.

Sandro
Tweet this Post!Share on Facebook
Reply With Quote

  #7  
Old 05-07-2006, 09:53 AM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 15,714
Al_The_Man is on a distinguished road
Buy me a Beer?

Hyperterminal is a pain, see here for a free program http://www.cadem.com/ncnet/ncnet_dncdetails-41.htm as well as cable and parameters.
I find the three-wire cable best with Meldas, with 4-5 & 6-8-20 jumpered out each end, no connection for the jumpered pins from end to end.
Al.
__________________
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 12-20-2007, 05:31 PM
 
Join Date: Dec 2007
Location: USA
Posts: 2
slapnpop is on a distinguished road
Same Problem, Different Machine

I am having the same problem on an older Mitsubishi machine. This machine runs a Meldas 300 series controller.

I can get dnc to initiate. It even pauses and resumes, a couple of times. Eventually, and always at the same place only about 30 lines in, it will give me the P460 Tape I/O Error.

I have set the machine up for software handshake, then hardware handshake, and tried various cabling options. I've set the FIFO mode off on my COM port, which did help the problem, but only moved the position where the I/O error occurs to later in the file. Nothing I seem to try fixes the situation.

Cabling is set up as follows (currently):

2-2
3-3
5-7
7-5
4-8
6-8-20 4-9
Tweet this Post!Share on Facebook
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





All times are GMT -5. The time now is 10:28 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