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 12-30-2006, 12:38 AM
 
Join Date: Nov 2005
Location: Only the USA
Posts: 213
theemudracer is on a distinguished road
Now I get a "197 C-AXIS COMMANDED IN SPINDLE MODE" ALARM

Once again I am having problems. Hope you guys dont get tired of me asking questions.

The variables load into the macro page ok.
M43 engages the C-axis.

can you guys see what Im doing wrong??

here is the Macro
%
O9100(2.00 DIA MACRO CALL)
G01C[#1*.0174527]#26
M99
%


here is the part PRG.



G56
N39T0505(BALL END MILL)
N40G50M43
N41G0C0.
N42G97S4000M13
N43G0Z0.
G0X2.1
G98G01X2.F20.
G66P9100Z.0002A.0117
N56Z.0007A.0233
N57Z.0017A.0349
N58Z.003A.0466
N59Z.0046A.0582
N60Z.0067A.0698
N61Z.0091A.0814
N62Z.0118A.0929
N63Z.015A.1044
N64Z.0185A.1159
N65Z.0223A.1274
N66Z.0266A.1388
N67Z.0312A.1502
N68Z.0361A.1615
N69Z.0414A.1728
N70Z.0471A.184
N71Z.0531A.1952
N72Z.0595A.2063
N73Z.0663A.2174


thanks again
Jon
Reply With Quote

  #2   Ban this user!
Old 12-31-2006, 12:17 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Jon,

Probably not causing that alarm, but in the macro:

G01C[#1*.0174527]#26 <-- missing "Z"?

When does the alarm occur? What Machine/Control?

Dave
Reply With Quote

  #3   Ban this user!
Old 12-31-2006, 03:39 PM
 
Join Date: Nov 2005
Location: Only the USA
Posts: 213
theemudracer is on a distinguished road

Originally Posted by dcoupar View Post
Jon,

Probably not causing that alarm, but in the macro:

G01C[#1*.0174527]#26 <-- missing "Z"?

When does the alarm occur? What Machine/Control?

Dave
The Z and A are being passed to the macro page. I am wanting the C and Z axis to move at the same time. The Z# is in the main part prg.

The alarm occurs during the macro but after the variables are passed to the macro page. Im sorry I have posted two other times on this same subject so thats why I did not say what machine I had and such.

It is a Hyundai Kia SKT250MS Lathe with a fanuc 18-I TB with x,z,with a sub-spindle B. The main Chuck is the C axis and the Sub spindle chuck is A axis.


Thanks Jon
Reply With Quote

  #4   Ban this user!
Old 12-31-2006, 05:20 PM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

I understand what the macro does, but your post has:

G01C[#1*.0174527]#26

I'm not sure if this was a typo in the post or if that's what's really in the macro. My point was, I belive the line should be:

G01C[#1*.0174527]Z#26

...but I don't know if this relates to the alarm.

Have you programmed the live-tool with C-Axis on this machine before, or is this machine new to you? What happens if you activate both the "A" and "C" axes prior to running the macro? What happens if you use C instead of A to pass the variable to the macro, and #3 instead of #1 in the macro?

Sorry I can't be of more help... I don't know Kia machines.
Reply With Quote

  #5   Ban this user!
Old 12-31-2006, 07:19 PM
 
Join Date: Nov 2005
Location: Only the USA
Posts: 213
theemudracer is on a distinguished road

Originally Posted by dcoupar View Post
I understand what the macro does, but your post has:

G01C[#1*.0174527]#26

I'm not sure if this was a typo in the post or if that's what's really in the macro. My point was, I belive the line should be:

G01C[#1*.0174527]Z#26

...but I don't know if this relates to the alarm.

Have you programmed the live-tool with C-Axis on this machine before, or is this machine new to you? What happens if you activate both the "A" and "C" axes prior to running the macro? What happens if you use C instead of A to pass the variable to the macro, and #3 instead of #1 in the macro?

Sorry I can't be of more help... I don't know Kia machines.
I thought #26 was sufficent but it makes sense to have Z#26. Thanks...
All this macro stuff is new to me...


Yes I have programmed the live tool with the C-axis moving before on this machine, But it is still somewhat new to me. I have only been on this machine for 10 months and recieved 3 days of training on the fanuc controller. I have spent the last 10 years on a HMC with a Delta DynaPath controller and it is alot different than a fanuc.
I will try the other things you suggested Tue. when I return to work.

thanks
Jon
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 01-01-2007, 03:05 AM
Genguy's Avatar  
Join Date: Nov 2005
Location: Canada
Posts: 83
Genguy is on a distinguished road

I noticed the G98 prior to the macro call.
Does it need to use G99 (feed per revolution) instead?
Maybe that is the "spindle mode" error.
Reply With Quote

  #7   Ban this user!
Old 01-01-2007, 06:16 AM
 
Join Date: May 2006
Location: Sweden
Posts: 265
M-man is on a distinguished road

I think using M43 and G50 in the same block causes the alarm..
Reply With Quote

  #8   Ban this user!
Old 01-01-2007, 11:54 AM
 
Join Date: Nov 2005
Location: Only the USA
Posts: 213
theemudracer is on a distinguished road

I will try both again when i get back to work.

In the past I have noticed it wont feed a live tool if you use a G99, because it does not sense any RPM from the main spindle I guess. Is this normal on a Lathe not to be able to use G99 with a live tool???

I will take the G50 out and try it.

thanks guys
Jon
Reply With Quote

  #9   Ban this user!
Old 01-01-2007, 03:45 PM
 
Join Date: May 2006
Location: Sweden
Posts: 265
M-man is on a distinguished road

G99 works with live tooling for me.. Do you have the rigid tapping option ?
Reply With Quote

  #10   Ban this user!
Old 01-01-2007, 05:19 PM
 
Join Date: Nov 2005
Location: Only the USA
Posts: 213
theemudracer is on a distinguished road

Yes I have the rigid tap option on Live tooling,main and sub.

I can use G99 for rigid tapping on the live tools.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 01-02-2007, 07:28 PM
 
Join Date: Nov 2005
Location: Only the USA
Posts: 213
theemudracer is on a distinguished road

I got it working today thanks to all your guys help. I took out the G50 and put the Z in the macro and it took right off.

Thanks again.
Jon
Reply With Quote

  #12   Ban this user!
Old 01-05-2007, 01:13 PM
 
Join Date: May 2006
Location: Sweden
Posts: 265
M-man is on a distinguished road

Have you actually tested this prg?

This doesnt work on my 18It, I get a "quadrup macro call alarm, with g66 and with g65 it calls all the lines but doesnt call the sub other then the first line with g65... So, have you machined any with this yet?
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 01:34 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