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-26-2011, 06:06 AM
 
Join Date: Feb 2010
Location: USA
Age: 40
Posts: 39
mark029 is on a distinguished road
newbie

I need to change the macro program for my tool changer. I've got the scanned copy from a book that was emailed to me. Can I copy the text and paste it to word and then load it? If not, how do I go about changing it? I'm working with a Fanuc OM. Thanks, Mark.
Reply With Quote

  #2   Ban this user!
Old 01-26-2011, 08:14 AM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by mark029 View Post
I need to change the macro program for my tool changer. I've got the scanned copy from a book that was emailed to me. Can I copy the text and paste it to word and then load it? If not, how do I go about changing it? I'm working with a Fanuc OM. Thanks, Mark.
You need software that's capable of establishing communication with the control via the RS232 interface. You will be better off downloading one of the free, purpose built CNC Editor/Comms packages, but failing that, you can transfer the file using Hyper Terminal that comes with the Windows Operating System. The data that's sent is merely Text, the format of which is set by settings in the Transfer Software. Control parameters have to be set and the Transfer software set to match the parameter settings.

Regards,

Bill

Set the following parameters in the control
Parameters
#0002
Bit 0 = 1
Bit 2 = 0
Bit 7 = 1

#552 = 10 (4800 Baud) Starting Point

Control Set Page Settings
I/O = 0
ISO Format

You will need a cable with the following pin out configuration.
If you make the cable, use shielded data cable with at least 3 wire.

Machine Side-------------------------PC Side
DB25 Male Connector-------D25 Female-------DB9 Female
2-----------------------------3-----------------2
3-----------------------------2-----------------3
4
| bridged
5

6
|
8 all bridged
|
20

7-----------------------------7-----------------5

Setting for the PC Software

Handshaking = Xon Xoff (Software Handshaking)
Baud Rate 4800 (Starting Point)
Data Bits = 7
Parity = Even
Stop Bits = 2
Reply With Quote

  #3   Ban this user!
Old 01-26-2011, 09:13 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Originally Posted by mark029 View Post
I need to change the macro program for my tool changer. I've got the scanned copy from a book that was emailed to me. Can I copy the text and paste it to word and then load it? If not, how do I go about changing it? I'm working with a Fanuc OM. Thanks, Mark.
If you use Word, you'll need to do a File - Save As and select Save as type: "Plain Text (*.txt)". You could also use Notepad which by default saves as plain text. Or, like Bill said, download a communication/editor program, such as NCnet Lite from CADEM at

DNC – wireless and wired, Free DNC for 1 machine

Good luck.

Dave
Reply With Quote

  #4   Ban this user!
Old 01-26-2011, 10:08 AM
 
Join Date: Feb 2010
Location: USA
Age: 40
Posts: 39
mark029 is on a distinguished road

Thanks Bill and Dave. I already have it setup to send the program I'm just not sure how to do it. We loaded this program thats in there now, it's just the wrong one. I had a buddy helping me with this that knew all this kinda computer stuff but some things have happened recently and I don't want to ask him to help with this. I feel that it's my machine I need know how to do all this myself and I'll never learn it till I do it on my own.
Reply With Quote

  #5   Ban this user!
Old 01-26-2011, 03:17 PM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by mark029 View Post
We loaded this program thats in there now, it's just the wrong one.
So does this mean that you have the program loaded, or that the one loaded is wrong and that you need to download the one that you have scanned?

If you're having trouble with tool changing, there may be other issues to consider when loading another Macro program for this purpose. Obviously the replacement program needs to be loaded under the same program number as was originally used for tool changing. This is very important, because the Macro program will be called by an M or T code; this feature is set via parameter.

Tool Changing Macro programs are commonly loaded in the 9000 to 9999 program area and are protected from Editing and Deleting by setting 0010.4 to 1; setting to 0 will permit viewing and and editing of these programs.

To guard against disaster, it's a good idea to take a copy of any Macro programs that may be being used in the operation of the machine. Uploading the complete Program Memory area to an external device is accomplished by the following procedure:

1. Select Edit mode
2. Push the PRGRM button to display the program directory screen.
3. Key in O-9999 and START.

All programs in memory will be output to your external device.

To register the new program, proceed as follows:
1. Select Edit mode
2. Push the PRGRM button.
3. Key in O
4 Key in the program number and INSRT.

The new Macro program is best checked and debugged in Single Block mode. To do this, set parameter 0011.5 to 1. This will allow the machine to be stopped in single block by a Macro command.

Regards,

Bill
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-27-2011, 06:03 AM
 
Join Date: Feb 2010
Location: USA
Age: 40
Posts: 39
mark029 is on a distinguished road

Bill, by external device, do you mean a PC? Not familiar with these parameters you are talkin about ( 0010.4 and 0011.5 ). Everything I've seen has not had a decimal in the parameter. To answer your question, I have the wrong program in the machine right now. I've got the supposedly correct program on a thumb drive at home. I understand you're asking me to basically copy all macro programs by doing the procedure you mentioned? That may not be possible because I've never gotton the machine to send any info out to a external source. I've been able to upload a program but not send any out. Any ideas on how to get that going? Thanks, Mark.
Reply With Quote

  #7   Ban this user!
Old 01-27-2011, 07:55 AM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by mark029 View Post
Bill, by external device, do you mean a PC? Not familiar with these parameters you are talkin about ( 0010.4 and 0011.5 ). Everything I've seen has not had a decimal in the parameter. To answer your question, I have the wrong program in the machine right now. I've got the supposedly correct program on a thumb drive at home. I understand you're asking me to basically copy all macro programs by doing the procedure you mentioned? That may not be possible because I've never gotton the machine to send any info out to a external source. I've been able to upload a program but not send any out. Any ideas on how to get that going? Thanks, Mark.
Hi Mark,
1. The external device can be any device that can be connected to the control for the purpose of sending and receiving data; a PC is included in that definition.

2. ( 0010.4 and 0011.5 ) is a way of defining bit 4 of parameter 0010 and bit 5 of 0011 respectively. Bit numbers start at 0, being the right most bit in the 8 bit parameter, and count to bit 7, being the left most bit.

3. When you start messing around with programs that are associated with the operation of the machine, its good practice to make a back up of what you started with; it often saves having further problems down the track.

4. Refer to my first post and check the machine parameters, the cable configuration, and the settings of your transfer software. If all is set accordingly, you should be able to transfer both ways.

Regards,

Bill
Reply With Quote

  #8   Ban this user!
Old 01-27-2011, 08:53 AM
 
Join Date: Feb 2010
Location: USA
Age: 40
Posts: 39
mark029 is on a distinguished road

Back on the parameter issue. We are talking about parameters and not diag. parameters right? I understand the 10.4 and 11.5 now. I'll go and try and back everything up so I don't wreck it. Thanks, Mark.
Reply With Quote

  #9   Ban this user!
Old 01-27-2011, 09:46 AM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by mark029 View Post
Back on the parameter issue. We are talking about parameters and not diag. parameters right? I understand the 10.4 and 11.5 now. I'll go and try and back everything up so I don't wreck it. Thanks, Mark.
You've got Mark; parameters, not diagnostics.

Regards,

Bill
Reply With Quote

  #10   Ban this user!
Old 01-27-2011, 12:09 PM
 
Join Date: Feb 2010
Location: USA
Age: 40
Posts: 39
mark029 is on a distinguished road

Bill, you stated earlier that I needed a program to load and unload programs to and from cnc. I have CNC PC for windows I was told.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-27-2011, 04:07 PM
 
Join Date: Sep 2010
Location: Australia
Posts: 733
angelw is on a distinguished road

Originally Posted by mark029 View Post
Bill, you stated earlier that I needed a program to load and unload programs to and from cnc. I have CNC PC for windows I was told.
Mark,
I'm not familiar with that software, but if it has a section where communication settings can be made to match up with the parameter settings of the control, according to info set out in my first post reply, then that will do. There are plenty of examples of Editor/Comms software available on the internet, but if you have a package that you're familiar with and are able to send programs to the machine with already, then give that a go first.

Regards,

Bill
Reply With Quote

  #12   Ban this user!
Old 01-29-2011, 12:56 PM
 
Join Date: Feb 2010
Location: USA
Age: 40
Posts: 39
mark029 is on a distinguished road

Hey Bill, I tried to load a tool change macro program yesterday and for some reason I'm getting an 087 p/s alarm which if I'm correct that's a overbuffering alarm. It'll get about 50 to 60 percent of the program loaded and then stop and put up this alsrm. And for reason when I go to the program library, I noticed it sent two programs. Any idea on that one?
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
Newbie here chloetlr CNCzone Club House 0 03-05-2010 09:00 PM
newbie trident1 Europe Club House 0 11-16-2009 10:06 AM
Newbie- Newbie with a few Q's Gaz. Want To Buy...Need help! 3 11-11-2009 08:53 PM
Welcome everyone (newbie) lineage2 DIY-CNC Router Table Machines 1 11-03-2009 12:30 AM
Help for a newbie IgnacioR Rockcliff Machine 0 10-29-2009 07:52 AM




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