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 > Fanuc


Fanuc Discuss Fanuc controllers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-30-2009, 06:29 PM
 
Join Date: Jan 2009
Location: United States
Posts: 187
blakemachine is on a distinguished road
Need some guidence with 6t on a Miyano Lathe

Ok, I have run Matsuura Mills with yasnac controlls. When you wanna go to MDI mode, you simply turn the dial to MDI, then you can type a line then it insert, and when you are done with the line you hit EOB, or end of line to go to the next line when writing a simple program like homing the machine.

Now with this 6t fanuc controll, when I go to MDI, and I try to type something and then insert, it never inserts it and just stays on the bottom of the screen. Is there a paramater that is not set right? The machine lock is not on as far as I know.

Also, when interfacing with the RS232 port on my matsuura. When I am ready to send a program from my PC to the CNC, I simply go to EDIT mode, then Program Page, then hit IN, and it waits for me to send it from my PC, then I hit send on my PC.

With the fanuc does it work the same way or?

Thanks for your help guys!
Reply With Quote

  #2   Ban this user!
Old 01-31-2009, 07:47 AM
hrh hrh is offline
 
Join Date: Jan 2009
Location: South Africa
Posts: 96
hrh is on a distinguished road

MDI Commands:
1.MDI mode
2. Press COMMAND
3. Type M03
4. Press INPUT
5. Type S300
6. Press INPUT
7. Press CYCLE Start or OUTPUT START

RS-232
PC to NC
1. EDIT Mode (program protect must be off to enable editing of programs)
2. Press PROGRAM
3. Press READ (you can type the program number; example O0001; before you press READ
4. EDIT flashes if comms is working

Press PUNCH if you need to send the program.

RS-232 will not work if parameter 2 bit 5 = 0 or if Reader Puncher card is not mounted on the master PCB.
Reply With Quote

  #3   Ban this user!
Old 01-31-2009, 02:02 PM
 
Join Date: Jan 2009
Location: United States
Posts: 187
blakemachine is on a distinguished road

Ok, THANKS!

Ok, I tried to send the program from mastercam, I have the jumpers and send, recive lines correct I belive. When I go to edit, then read, and send the program it errors out and says RS232C code 085. Could it be that the BAUD rate is not set correctly in the paramater page? Does anyone have a list of the baud rates and what parameter line they are on so I can verrify?
Reply With Quote

  #4  
Old 01-31-2009, 02:08 PM
Al_The_Man's Avatar
Community Moderator
 
Join Date: Dec 2003
Location: Canada
Posts: 16,538
Al_The_Man is on a distinguished road
Buy me a Beer?

Buffer overrun, do you have the S/W set up for XON/XOFF?
Also check the hardware handshake lines, are you using a 3 wire cable?
Al.
__________________
CNC, Mechatronics Integration and Machine Design.
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.
Reply With Quote

  #5   Ban this user!
Old 01-31-2009, 07:16 PM
 
Join Date: Jan 2009
Location: United States
Posts: 187
blakemachine is on a distinguished road

Ok, it looks like my parameter 311=00101000

Parm340=2
parm341=2

on my setting page TVcheck=0
Punch Code=1
Imput device 1=1
imput device2=1

Does this help figure out our probelm?

Searching I found I have a 6tb controll, and for a 4800 baud I need 311 parm to be 11001001?

if so I cannot seem to edit param 311 how do I scroll over to the right to change it?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-31-2009, 07:17 PM
 
Join Date: Jan 2009
Location: United States
Posts: 187
blakemachine is on a distinguished road

Also my cable is made like this:

Pins
1= sig ground
2=send
3=recive
4, 5 jumpered

6, 8, 20 jumpered

7=frame ground.

Is this correct?
Reply With Quote

  #7   Ban this user!
Old 01-31-2009, 09:52 PM
 
Join Date: Sep 2005
Location: USA
Age: 60
Posts: 755
Dan Fritz is on a distinguished road

Yep. Set parameter 311 to 11001001 Set your DNC software to send at 4800 baud, 1 stop-bit, 7 data bits, Even parity, and Xon/Xoff handshaking.

To change a parameter on the system 6, find the toggle switch labeled "Parameter Write/Enable" on the main circuit board. Turn that switch on, and you'll get an alarm #100 (this is normal). Press the PARAM key and page or cursor to parameter 311. Select MDI mode, press the letter "P", then the entire 8 bits, then press INPUT. Turn off the Parameter write/enable switch, then press RESET to clear the alarm.

Your cable looks OK. There are several configurations that will work with the system 6. You'll definitely need that jumper from pin 6 to pin 8 to pin 20. I like to connect pin 5 from the Fanuc to pin 7 on the PC (the 9-pin plug). This prevents the Fanuc from sending data if the PC isn't ready to receive.
Reply With Quote

  #8   Ban this user!
Old 02-01-2009, 06:04 AM
hrh hrh is offline
 
Join Date: Jan 2009
Location: South Africa
Posts: 96
hrh is on a distinguished road

Carefull with your cable:
1 = Frame ground (Connect the shield of the cable here or on the metal housing of the connector body)
7 = Signal ground (The 0V reference around which the signal "swings")

Remeber that:
25pin(PC) 25pin(CNC)
2 < ---------> 3
3 < ---------> 2

9pin (PC) 25pin(CNC)
2 < ----------> 2
3 < ----------> 3


You can also change the Baud rate to 1200 (DC1 to DC4 not required) if you are OK with waiting a little bit longer for the program to transfer.
Handshaking becomes effective for 2400 and higher Baud rates.

For alarm 085 it is important that the parity, character and stop bits also match the host device.
Reply With Quote

  #9   Ban this user!
Old 02-01-2009, 11:26 AM
 
Join Date: Jan 2009
Location: United States
Posts: 187
blakemachine is on a distinguished road

Does anyone have a list of the different baud rates, on what to set the parameter 311 to?

I belive my matsuura is setup for 2400 and I would rather keep both machines the same so I dont have to switch mastercam each time I send to a different machine. Plus it is on a 100 foot cable, and I dont know if I can go any faster than 2400 as I might start loosing data during transfers.
Reply With Quote

  #10   Ban this user!
Old 02-01-2009, 12:52 PM
 
Join Date: Sep 2005
Location: finland
Posts: 37
salmve is on a distinguished road

Originally Posted by blakemachine View Post
Does anyone have a list of the different baud rates, on what to set the parameter 311 to?
Does this help?

http://picasaweb.google.com/salmve/Nakamura#

Vekku
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-02-2009, 09:26 AM
 
Join Date: Jan 2009
Location: United States
Posts: 187
blakemachine is on a distinguished road

Ok, I checked my mastercam sending configurations. Looks like I am at 1200 baud rate, data bits=7 stop bits=2 with a even parity. So what settings on the fanuc controll do I set to to match up with these mastercam settings?
Reply With Quote

  #12   Ban this user!
Old 02-02-2009, 09:50 AM
 
Join Date: Jan 2009
Location: United States
Posts: 187
blakemachine is on a distinguished road

Ok, great news!

Got the PC to talk to the CNC. Set parameter 311 to 00100111 for a 1200 baud rate, and works good.

Thanks guys so much!

Ok, now for the newbie Lathe operator help!

Ok, in MDI mode I still cannot input a simple program. HRH says to switch to MDI mode, then press command. That brings me to a whole different page on it. But it still does not let me imput any codes in it.


When I go to start the program that I sent from the PC it errors out after I push cycle start with an alarm 048 "ref rtrn" Any help here?
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
Just bougt at Miyano Lathe but have problems blakemachine Fanuc 12 07-28-2009 01:05 PM
Need Help!- Miyano JNC-35 Lathe Parameters MildBill General Metal Working Machines 1 12-18-2008 09:22 AM
Help with macro Fanuc T18 Miyano Lathe jorgehrr G-Code Programing 3 05-24-2008 12:15 AM
Miyano lathe with Fanuc 3T Controller engineerbill General Metal Working Machines 0 04-10-2007 08:22 AM
Problem with BNC Miyano Barfeeder lathe. Tonenc Machine Problems, Solutions , Wireless DNC, serial port 3 11-08-2005 07:46 PM




All times are GMT -5. The time now is 01:51 PM.





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