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 06-15-2010, 05:43 PM
 
Join Date: Jan 2004
Location: Gardnerville,Nevada
Posts: 256
cncwhiz is on a distinguished road
Custom Macro?

I cant seem to find the fanuc macro b forum. I think I recall that there was one here? I have a Hitachi Seiki HG400iii With a seicos controller on it. I have a macro program that I built that allows my retracts to be controlled by the system variable that stores work offsets. Mike Lynch gave me the system variable that works on a Hitachi seiki with a fanuc 15. The seicos has a fanuc system 10 running in the backround. I am calling the "#4014" system variable and it works great. The seicos controller must not be using this system variable as that it is just showing me a "67." and it is not changing. Does someone know the correct system variable or how to find it? I will drop a dime to Mike in the morning as well.

TIA
Reply With Quote

  #2   Ban this user!
Old 06-16-2010, 05:02 PM
 
Join Date: Feb 2006
Location: United States
Posts: 273
dpuch is on a distinguished road

http://www.cnczone.com/forums/parametric_programing/

It is a sub section of the G-code forum. A few lines down from the this one.

I do not see why you would not get the correct value from #4014 = G(54-59)
Do you have extended work offsets? Still that does not explain a 67 value.

We also have some Hitachi Seiki HG400iii's 1 with a 15 control, and 2 with the sigma 10 control. The sigma 10 is a Fanuc 16 (not 16i) with other software for the user interface and a few other things. Refer to a Fanuc 16 manual for reference information.

Variable number Function
#4001 G00, G01, G02, G03, G33 (Group 01)
#4002 G17, G18, G19 (Group 02)
#4003 G90, G91 (Group 03)
#4004 (Group 04)
#4005 G94, G95 (Group 05)
#4006 G20, G21 (Group 06)
#4007 G40, G41, G42 (Group 07)
#4008 G43, G44, G49 (Group 08)
#4009 G73, G74, G76, G80–G89 (Group 09)
#4010 G98, G99 (Group 10)
#4011 G50, G51 (Group 11)
#4012 G65, G66, G67 (Group 12)
#4013 G96,G97 (Group 13)
#4014 G54–G59 (Group 14)
#4015 G61–G64 (Group 15)
#4016 G68, G69 (Group 16)
: ::
#4022 (Group 22)
#4102 B code
#4107 D code
#4109 F code
#4111 H code
#4113 M code
#4114 Sequence number
#4115 Program number
#4119 S code
#4120 T code
#4130 P code (number of the currently selected additional workpiece coordinate system)

As I recall the 15 includes additional #4201-4320 for reading the same as above, but for the current block instead of preceding block.

Dale
Reply With Quote

  #3   Ban this user!
Old 06-16-2010, 05:32 PM
 
Join Date: Jan 2004
Location: Gardnerville,Nevada
Posts: 256
cncwhiz is on a distinguished road

Your reply is a keeper in my inbox for sure. I just went down on the floor and built a simple program.

O1234
#105=#4001
M99

I started changing the 4001 number until I got to "#4012" and it output what I was looking for. This machine is oddball. It uses a "G841" for rigid tap an for extended work offsets it uses G540, G550 etc... Thanks for the list of system variables I will use them for sure.
Reply With Quote

  #4   Ban this user!
Old 06-16-2010, 06:25 PM
 
Join Date: Feb 2006
Location: United States
Posts: 273
dpuch is on a distinguished road



Well as long as you know what it is doing.
Hmm.. Well we do use the system setting Fanuc 15 compatibility mode.
See the last page of the programming book.
That accounts for some if not all of the G-code confusion I had.
Reply With Quote

  #5   Ban this user!
Old 06-16-2010, 06:37 PM
 
Join Date: Jan 2004
Location: Gardnerville,Nevada
Posts: 256
cncwhiz is on a distinguished road

Which book is that in? I would love to re-format this control so I don't have to do extra post processor work just for this machine. The control has some pretty fancy stuff that my other controls don't have. Its almost like they tried to do what yasnac did with their controllers.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 06-16-2010, 07:18 PM
 
Join Date: Feb 2006
Location: United States
Posts: 273
dpuch is on a distinguished road

The Hitachi programming manual for the sigma 10. The last page has Fanuc 15 system setting, and what it changes. I think it was something like 3409.7 <-- verify that!

I do use the same post for our 15 and 16 based Hitachi Seiki HG400iii's There probably are differences but I do not use any of those.

Bit 6 of the same one was for more of a Yasnak i80M compatibility.
Reply With Quote

  #7   Ban this user!
Old 06-17-2010, 10:26 AM
 
Join Date: Jan 2004
Location: Gardnerville,Nevada
Posts: 256
cncwhiz is on a distinguished road

Ah yes, nothing like finding out all the countless hours of tweeking posts and making sure that you posted the correct code for this machine only to find out a parameter can un%$#* it . Its working now so if it is not broke don't fix it. I work with other programs that the developers thought too much and built a monster "pro engineer" like this control.
Reply With Quote

  #8   Ban this user!
Old 06-23-2010, 12:32 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

A pretty good reference material for 0i series controls:

http://www.mhprofessional.com/produc...sbn=0071713328
Reply With Quote

  #9   Ban this user!
Old 06-23-2010, 05:11 AM
fanuc-support.c's Avatar  
Join Date: Jan 2010
Location: uk
Posts: 96
fanuc-support.c is on a distinguished road

Nice plug Sinha.

Here is my plug.

Free macro b variable tool download here.

http://www.fanuc-support.com/downloads.html
__________________
The Fanuc Support Center Team
www.fanuc-support.com
Reply With Quote

  #10   Ban this user!
Old 06-23-2010, 10:11 PM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

Originally Posted by fanuc-support.c View Post
Nice plug Sinha.

Here is my plug.

Free macro b variable tool download here.

http://www.fanuc-support.com/downloads.html
I could not install it on my computer, though I was able to download it. I did follow the instructions, but it did not work.

Incidently, if you wish to use this book in your macro training course, send a mail to bulksales@mcgraw-hill.com, for quantity discount.
Reply With Quote

Sponsored Links
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
"difference between Custom Macro A and Custom Macro B" arulthambi Parametric Programing 4 10-05-2009 03:34 PM
Need Help!- Custom Macro Programming TomL21 Fanuc 1 12-09-2008 10:20 AM
Custom macro!!!! chrisryn G-Code Programing 4 05-27-2008 10:13 PM
Custom Macro B On A 18t. JIMMYZ Fanuc 3 10-18-2006 10:08 PM
custom macro The Metal Daewoo/Doosan 2 09-28-2006 07:26 AM




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