Hello Guest it is April 26, 2024, 05:11:44 PM

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

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 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 »
421
Mach4 General Discussion / Re: probing problems
« on: September 29, 2017, 09:09:04 AM »
Sounds a lot like noise/bouncy switch to me. Not sure if you can add some filtering for the probe input in the ESS config. but think you can and should by the sounds of it. Even if the LED looks good it can all be processed, checked and reporting the error before you can begin to think about it, much less see it.

422
Mach4 General Discussion / Re: Erratic Feedrate When Cutting Spline Lines
« on: September 29, 2017, 08:58:39 AM »
Good deal. thanks!

423
Mach4 General Discussion / Re: Mach4 screen not updating while running Macro
« on: September 28, 2017, 11:57:37 PM »
This should work.....

Code: [Select]
local inst = mc.mcGetInstance()
local Var1 = 100
local Var2 = 1
local Var3 = 1
local Var4 = 1

local MyGcode = string.format("G17 G90 G91.1 G94 G20 G40 G49 G80 G98 G50 G67 G54 G61 G69 G15\n") --Just setting some things to a known state
MyGcode = MyGcode .. string.format("G91 G54 G01 F%.4f X%.4f Y-%.4f Z%.4f\n", Var1, Var2, Var3, Var4)
MyGcode = MyGcode .. string.format("G91 G54 G01 F100 X0.0000 Y-0.0000 Z0.0000\n")
mc.mcCntlGcodeExecute(inst, MyGcode)

424
Mach4 General Discussion / Re: Erratic Feedrate When Cutting Spline Lines
« on: September 28, 2017, 10:38:56 PM »
Here you go...... this update populates the CV_Feedrate table in inch or mm and the tolerance you enter is inch or mm........ all dependent on machine setup units.

Let me know how it goes.

425
Mach4 General Discussion / Re: Erratic Feedrate When Cutting Spline Lines
« on: September 28, 2017, 08:06:36 PM »
Guys, I hope to have a version that will work in machine setup units (inch or metric) later tonight or tomorrow.

I hope this wizard will eliminate the need for multiple setups. If job tolerance changes or job type that changes axis involved, just run the wizard.

426
Mach4 General Discussion / Re: Erratic Feedrate When Cutting Spline Lines
« on: September 27, 2017, 10:43:22 PM »
No problem

No, no conversion to integers. They begin as integers and end as integers. I suspect if I wanted to add resolution they could very well end as floating point but i don't see the need for that. Never heard of anyone programming a feedrate as a floating point but that doesn't mean it would necessarily be illegal to do so but it might be. I haven't ever given it enough though to know for sure one way or the other TBH.

I think I would convert to integers just to play it safe.

Well, I use polynomials to get there. But I also use tables and conditionals but most of it is polynomials I guess.


427
That message box lives in the master module. it has parameters set in the screen load script. If you don't want to see the message box, have you tried clicking the "Don't show message again" tick box in it?

428
Mach4 General Discussion / Re: Mach4 screen not updating while running Macro
« on: September 27, 2017, 04:16:20 PM »
Errrrr, might want to read the API doc.

mc.mcCntlGcodeExecute

Notes:


If the control is in the idle state, this function will execute the G code in MDI mode.

It is important to note that this function does not wait for the G code to complete. It is an error to execute G code with this function one line after another. Instead, the lines should be combined into one string separeated with newline characters (\n).

mc.mcCntlMdiExecute

Notes:
Used to run commands like MDI or script commands. The function returns immediately without waiting on the G code to proocess. It is an error to call this function multiple times for each block of G code. Multiple blocks should be concatenated and separated with new line characters to form a "unit of work".

429
Mach4 General Discussion / Re: Erratic Feedrate When Cutting Spline Lines
« on: September 27, 2017, 09:37:43 AM »
Quote
I too use Metric mm and it is a bit time consuming to set up and test in metric, so I look forward to seeing it in Metric version.

Don't hold your breath then. Without some putting in their time (I guarantee you setting up an inch profile for a machine is way faster than writing this wizard) to do some real world test and give results in inch I highly doubt I will spend any more of my time adding metric.

Quote
So in your Wizard can you add a Maximum Velocity speed so when it writes the data to machine.ini it will replace all the higher numbers with this G-Code maximum?

Absolutely not. Setting the max speed any angle will go at to hold a tolerance has nothing at all to do with the feed rate you program. If your programed feed rate is lower than it can take the angle at....... it simply doesn't slow down because it doesn't have too to hold the tolerance. The speed capable does not in any way speed the feed rate up over the programmed feed rate. It will simply lower the speed in angles it needs too, it will never speed it up over programmed feed rate.

The angle is measured from current trajectory to next trajectory. Simply the difference of what it is doing now to what it will do next.

Quote
Previously I had selected Constant Velocity and then later found out about the Wizard, when I went into the Wizard for the first time all angles were 0 and the CV Feedrate On/Off button was set to Off, even though I had selected Constant Velocity in the Configuration Menu. So the way I see it is selecting Constant Velocity in the Configuration menu actually does nothing unless you change the settings in the Wizard, is that right?

Not exactly but enabling CV in general config. does not populate the CV_Feed rate table in any way, therefore you are not taking advantage of that added feature until you populate the table.

Quote
My plan was to set 0 degrees  to the full feed rate I generally use and then gradually decrease the feedrates and probably have 0 in a lot of the tighter angles

You can populate the table any way you want, what ever works for you. That is kind of the way the last version works. I can't imagine a scenario that this version is not far superior though. This version is much smarter.

430
Mach4 General Discussion / Re: Erratic Feedrate When Cutting Spline Lines
« on: September 26, 2017, 11:06:52 PM »
Quote
Question why does the CV Feedrate exceed the Mach4 Motor settings?
Feed rate can easily exceed the max of a single axis when more than one axis is feeding. Think blend velocity. To get the blended velocity sum the velocity vectors:
blendVel = sqrt(vX*vX + vY*vY + vZ*vZ). If 2 axis start at 0 and are traveling at 10 units per minute how far has the tool moved in a single minute? Draw a 10 unit line in X and one in Y then measure destination to destination. You will see that while neither axis moved over 10 units a minute the tool would have traveled quite a bit further.

Yup, a line of 0 degrees is a straight line.

Why do you have to slow down in your car to make a 90 degree turn? I blame it on the *^&^ that wrote the laws of physics but until someone does better I guess I will have to abide by those laws. Think about it.... your going down the road at 100 miles and hour or 5 miles an hour or just walking, or riding a bike..... any kind of motion. How much do you have to slow down to change your path by 1 degree Vs. changing it by 90 degrees Vs changing it by 179 degrees (1 degree off from being the exact opposite direction). This is why the table ends at 179 degrees. No way to go in exact opposite without first stopping. What happens if you don't slow down? You go off path, possibly by a lot as in through the ditch and in the corn field lot.

Nope, smaller angles can be ran much faster than larger angels while each maintain a set tolerance to the requested path.

How do your tool paths measure up using the wizard?

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 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 »