Hello Guest it is April 25, 2024, 10:14:21 AM

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 »
502
Try configuring your switches to only be home switches, not limits too. If there are no limit switches enabled you will not get a limit switch error. Sounds like you might be fighting a noise issue. Might want to see if you can filter those home switch inputs in the ESS config.   

503
Quote
Yah, I'm guessing if I wanted to "write" this properly with good testing and suck it would need to be a plugin... which is a whole other ball of wax..

Yup.

504
Quote
Chaoticone: Software developer in me has to ask, is there any type of unit testing framework-ie-ness in Mach4 or do we just write stuff in the debugger and step through it till we are happy? 

Debugger is the only tool I have ever used and if there are other ways I don't know what they are. Naturally the core developers have more tools at their disposal using their development environments but for scripting I think the debugger is the only one.

505
Well, there isn't too many things that aren't doable in lua. With manumatic tool changes the question is more of it being practical. It sounds like yours is reasonably practical. You will need to do this in 2 parts. Just keep in mind that any automated operation has to be defined by set parameters (until we achieve AI anyway). So here is the way I would do it.

1) Set conditions to manually change the tool: I would simply have the M6 move the spindle to the tool change location, turn off the spindle, coolant, etc. and update the tool number and after motion stops, do a cycle stop.

2) Change Tool: Manually change the tool.

3) Set conditions to resume Gcode execution: Then have a button that moves my spindle to the tool touch location, does the touch routine that sets the tool offset of the current tool and return the spindle to a safe location that the Gcode could be continued from. In your Gcode you would need to make sure it can go from this location to its next working move without issue and set spindle speed, turn the spindle, coolant, vacuum, etc. back on. It might be a good idea to add a move in the Gcode to go to the touch location just after the M6 to. Since it is already there it won't cause any motion but it would insure that the machine is in the position you plan to resume running from every time a M6 is called.

4) Resume Gcode execution: Then you just click Cycle Start to continue running after a tool change. Or...... at the end of your touch routine you could add the cycle start but I would save that for the very last thing after its all proved out.

506
General Mach Discussion / Re: Delta Tau Pmac and Flow waterjet
« on: March 29, 2017, 08:53:28 AM »
No, Neither Mach3 nor Mach4 will work with the Delta Tau PMAC. Your best bet would be to do a retrofit and use Mach4 with one of the controllers (AKA external motion device) that has developed a plugin for 4. If that isn't an option I do know a Delta Tau Guru that I could check with to see if he would be interested in contacting you.

507
Mach4 General Discussion / Re: Mach4 logging facility
« on: March 28, 2017, 05:49:52 PM »
No problem, thanks for letting us know. That's one of those things that can be a non issue for some and a pain for others. Ill fix it in the default profiles hopefully before next release.

508
General Mach Discussion / Re: Simple Draw test??
« on: March 17, 2017, 05:10:55 PM »
You have your Y start defined in the wizard as +4.6***. Change that to 0. Also, make sure the size of the job can be ran within your soft limits. Make the text smaller if you have to for testing.

You would do yourself a big favor to take the time now to learn the basics of the Gcode programming language (machine coordinates, work coordinates, incremental moves and absolute moves and their relationship to each other) and the right hand rule. Wikipedia and CNCcookbook have a lot of good info. on Gcode.

509
Mach4 General Discussion / Re: Mach4 Training Video Requests.
« on: March 17, 2017, 10:14:35 AM »
Quote
the Help doc button in the screen in Mach4 has that particular document for the touch module.

In fact, it opens the docs folder which contains all of the docs included with the Mach4 installer. For the touch module you can also click on the help tab in the modules gui to open its doc. The last thing in the doc is a link to the video at YouTube about it. Lots of ways to get to lots on learning aids.

510
General Mach Discussion / Re: Question about IsMoving...
« on: March 15, 2017, 07:07:28 PM »
The sleep should be in the While IsMoving loop....... All while IsMoving loops should have a sleep in them. Also, if you have not set dwell to milliseconds in general config. you will be sleeping for 2000 seconds instead of 2 seconds. A sleep of 200 ms should be good.

code(G00 X30 Y30 Z-7)
While IsMoving()
    Sleep 200
Wend

DoOEMButton(119)

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 »