Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - joeaverage

Pages: 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 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 »
1
General Mach Discussion / Re: cutting to small
« on: February 16, 2019, 07:48:18 PM »
Hi,
sounds like the machine is cutting in millimeters rather than inches.

Put a G20 at the top of the file and try again.

Craig

2
Mach4 General Discussion / Re: SRO disable
« on: February 16, 2019, 04:04:51 PM »
Hi,
yes it is possible.
Look in the 'Spindle' category of the Mach AI.chm:

Code: [Select]
LUA Syntax:
rc = mc.mcSpindleSetOverride(
number mInst,
number percent)

Description:
Set the spindle override percentage.

You could use this or you might experiment with another from the same category:

Code: [Select]
LUA Syntax:
rc = mc.mcSpindleSetOverrideEnable(
number mInst,
number enable)

This API determines whether a SRO is applied at all.

Craig

3
Mach4 General Discussion / Re: Mach 4 and fusion 360
« on: February 16, 2019, 03:57:50 PM »
Hi,
Tom is right, m26 seems misplaced.

Note also the spattering of g17 and g18's throughout the code. g17 declares the machining lane as xy whereas
g18 declares the machining plane as xz.

The link that Tom posted suggests that m26 is somehow related to lathe operations and the g18 seems to confirm it.

Could it be that Fusion is generating code for a lathe not a mill?

If I understand your situation you are new to Mach4 and possibly even CNC? If that is the case you have too many
'variables' going on. Mach4 in itself takes a little learning, using faulty code is making that learning impossible.
Likewise Fusion takes a lot of learning as well, but worse is that you clearly cannot read Gcode nor are you confident
of the machine software.

May I suggest ditch Fusion.....for the moment. What you need is good Mach compliant code that you can run through your
machine so you can gain familiarity and confidence in it. You also need to start to read Gcode. There are many online
tutorials about Gcode. You don't need expertise in Gcode but you should be familiar with what good code looks like.

For that purpose you should be writing Gcode manually or using a wizard. My recommendation is Mill Wizard.
Download it for free and experiment with it. You should be able to produce goo Gcode for simple operation in
under half an hour.

As an example about a week ago I had to machine a heatsink for a electronic project I'm working on. The material
(extruded finned heatsink) had previously been used. I required that the top face be surfaced and then four rectangular
pockets be formed. I stood at my machine for about 5 minutes and had Gcode, and about another 5 or 10 using s Gcode
viewer to verify and fine tune it before running the job. I had four heatsinks to do, it took 20 minutes to machine all
four.

This is an example of simple jobs that don't require a CAM program. You may have seen advertising material for Fanuc, Hass,
and Siemens and they both bang on about 'conversational programming' It is exactly the process I have just explained.
It allows a machine operator to stand at the machine and in short order chain together simple machining ops
all WITHOUT using CAM. This allows a machinist to be highly productive despite not be a programmer.

Of course there is a place for CAM programs as well. They typically are used in the office and then given to the operator
to run on the machine.

Craig

4
Mach4 General Discussion / Re: Setting up Spindle/VFD control Issues
« on: February 15, 2019, 09:59:30 PM »
Hi,
yes that would be simplest and probably cheapest.

48V to 12V is a bit outside the normal realm of linear regulators so you would have to augment the pass transitior
with an external transistor, doable but depending on your electronic skills fiddly.

Another possibility is a switching buck regulator but would require an IC, a Mosfet and an inductor with maybe a few
other smaller components to 'glue' it all together on a circuit board. Again doable but fiddly.

Yet another alternative is a DC-DC converter. This a typical example:

https://nz.element14.com/recom-power/r-78hb12-0-5-w/dc-dc-converter-12v-0-5a/dp/2774032

Useful, elegant and tidy solution for $27NZD plus GST and freight.

Craig

5
Mach4 General Discussion / Re: Mach 4 and fusion 360
« on: February 15, 2019, 09:23:41 PM »
Hi,
Fusion is used and recommended by plenty of users.

For all that I am dubious about Autodesks motivations about Fusion I can still only complement their commitment
to their stated aims.

If you are prepared to stick with it and get a good Mach4 Fusion post you will be good.

The only other suggestion I have is to use Mach Mill wizard. It produces good code and is very useful for chains
of usefull machine operations. I use commonly for chainging simple operations together to create a Gcode job WITHOUT using
a CAM program at all. It costs $75 USD.

Craig

6
Mach4 General Discussion / Re: Mach 4 and fusion 360
« on: February 15, 2019, 09:04:08 PM »
Hi,
I have used Fusion briefly. You will have to find out more from the Fusion guys but as it stands Fusion is
producing bad code.

Craig

7
Mach4 General Discussion / Re: Setting up Spindle/VFD control Issues
« on: February 15, 2019, 08:47:31 PM »
Hi,

Quote
Could I use the same trick with the Zener Diode's and the 48v supply or is it too much of a drop from 48-12v? if its ok what value resistor would you use (and out of curiosity how do you calculate that value)

NO! the Zener and resistor will fry up BIGTIME.

A 12V 1W zener will get to limiting heat at 1/12=83mA. If at 83mA you had to drop (48-12)=36V then the resistor
would be 36/0.083=432 Ohm. The dropper resistor would dissipate 36 x 0.083=2.988W.

Either way such a setup wont deliver anything like your required 450mA to a load.

I will give it some thought and make a few suggestions.

Craig

8
Mach4 General Discussion / Re: Mach 4 and fusion 360
« on: February 15, 2019, 08:20:52 PM »
Hi,
you now at least have it operating in mm.

Now you have Mach operating in one arc mode whereas Fusion is producing code in another mode.

Change the mode of Machs arc interpretation to check it out.

Thereafter it will be necessary to change the Fusion post to generate compliant code.

Go to Configure/Control/General and change arc center mode from Incremental (normal) to absolute.
Run the code again. If it pans out there are instructions in the Fusion forum about changing the post.

Craig

9
Mach4 General Discussion / Re: Setting up Spindle/VFD control Issues
« on: February 15, 2019, 07:11:32 PM »
Hi,

Quote
Just for my understanding and curiosity is it working by the zener diode "bleeding" off any voltage it "see's" above its set value to ground (in this case 10v)
Yes, in fact that is a very good description as to what exactly a Zener diode does.

Quote
What I don't understand is how this does not create a short circuit and overload the amp capacity of the VFD 12v output?

Also can you explain what the resistor does for this setup please.
The resistor is between the VFD 12V output and the Zener. In absence of the resistor the Zener would 'short out'
the output and the VFD might not like it.

You are correct, but the 'short' is not quite the normal sense of it. Normally you would short a circuit and force the output
voltage to zero. In this instance you would 'short' it to not 0V but 9.1V (or whatever value Zener you used).
In engineering parlance that is called a 'differential short circuit'.

The resistor is to limit the current in the differential short and drop some voltage, in this case 13.2V-9.1V=4.1V.
It is entirely likely that the manufacturer of the VFD put some current limit resistor or other circuit within the VFD
to protect the output in case of a short circuit. Quality designed and built US, Japanese and European brands
will almost certainly have protection built in. Who knows with Chinese brands? Some are actually very good indeed,
anything made by Delta for instance I rate as good or better than any US, Japanese, European stuff but other Chinese
stuff I wouldn't 'cross the road to piss on'.

Craig

10
Mach4 General Discussion / Re: Mach 4 and fusion 360
« on: February 15, 2019, 06:55:25 PM »
Hi,
I see the code has a G71 near the top of the file:

Code: [Select]
: (PGM, NAME="2001")
; T5  D=4 CR=0 - ZMIN=-17 - FLAT END MILL
: G90 G40 G94
G17
G71
M26
; 2D CONTOUR1
M9
M26
:T5 M6
M26
S5000 M3

A G71 command should set the units with which the file is to be interpreted as millimeters. If you look in the 'Mill Gcode
Programming' pdf in Mach4s Docs folders there is no entry or description of G71. G71 IS described and supported in
Mach3 but not, to my knowledge in Mach4. In fact G71 is old school and I believe is deprecated in ANSI Gcode as well.

May I suggest editing the G71 to the currently supported G21 and try the code again.

If its effective you may need to tweak the Fusion Post to use G21 rather than G71.

Craig

Pages: 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 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 »