Hello Guest it is April 25, 2024, 09:37:41 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 »
51
Yes, you can customize Mach to suit your needs. The TouchOff module was explicitly not compiled to serve as an example and to allow others to add, modify, do whatever suits them.

Yeah, I know lots of things that could be added/modified in the TouchOff module. That list is nearly limitless........ unlike the time I have to do it.

52
If I remember right the touch off module has an option to set a tool offset or the fixture offset. If you use it to set a tool offset you need to cancel any active tool height offset before touching. It's target audience is those not using tool changers. Think single tool using the tool to touch instead of a probe. That is why it doesn't have a coarse fast touch then back of a little and do a slow (more accurate) touch. Probes give so a fast initial touch is fine. Carbide tools in particular don't give much without breaking/chipping.

Code: [Select]
So my assumption would have been, that two default Mach4 scripts should use the same Z Calculation in touching?
We try real hard not to have multiple things that do the exact same thing. If touch and the probe tab did the same thing there wouldn't have been a reason to write the touch off module. But say you have 2 buttons that need to do the same thing. We try to write a single function and that function is called by both buttons. So, using the same code from multiple places is fine and recommend. But doing similar things does not == doing the same thing.

53
Mach4 General Discussion / Re: Mach 4 cv tuning wizard slider inoperable
« on: September 05, 2019, 11:12:17 PM »
Good deal!, Well, not good your having problems getting going again but good your hanging in there. The hardest thing for me going from Mach3 to Mach4 was me wanting to do things in 4 the same as in 3. That was the toughest part. They are vastly different but for the better by any measurable standard I can come up with.

I have sent you a personal message.

There are people here on the forum that are more than glad to help if they can. We have a good group. Far better than average I would say.


54
Mach4 General Discussion / Re: Mach 4 cv tuning wizard slider inoperable
« on: September 05, 2019, 06:42:59 PM »
No problem. I understand to a degree. But I see all sides of it. Documentation will always be behind development. While there is always documentation to be worked on Mach4's is pretty good and getting better all the time. But not all things require documentation. The documentation for the CvDistTolerance wizard is built into the wizard. This is also true for the the CV tuning wizard but there is doc for it too. It is simply a screenshot of the wizard. When you launch the CvDistTolerance wizard read what each dialog says and you will know about all there is to know about it. It populates the CV feed rate table/wizard. So does the CV tuning wizard, they just do it 2 different ways. You can also manually populate the Cv feedrate wizard (that was the only way until the other wizards were developed). Or run one of the wizards that does then go in and tweak any value you want to. It is all set up to be very flexible because that is what users want and in certain instances legitimately need. However with great power comes great responsibility. From a development/documentation point of view it would be much easier to give users less freedom.

TBH, it does sound a bit like you are venting. It sounds like your upset that you are learning so much. That is not good. If that is the case then you really need to consider if building a CNC really is a hobby of yours. If it isn't you would probably be far better off to hire someone to build it for you or buying a turn key package capable of meeting your requirements. Building CNCs is not like running a mobile phone app. It requires the builder to know and understand certain things (no matter what control you use or where you are staring from). But so does any other hobby. Like hunting for example. Most folks enjoy expanding their knowledge of their hobbies and understand that doing so requires some of their time. If not, Field and Stream, HotRod magazine and a nearly endless list of others would never have existed. They did pretty well even though they did not take the time to define every term in every article a new comer may not be familiar with. I will be the first to admit that most coming to DIY CNC are far less knowledgeable about their new hobby than most wanting to take up hunting or build a Hot Rod. But I also know we can't possibly provide enough information to cover every thing that everybody doesn't know/understand. CNCs are a combination of lots of things. The control is just one part of it. And Mach is the simplest and quickest to learn by a long shot that I have ever seen. But also know that I have been working on CNCs for over 25 years. Electrical, mechanical and electronics for way more than that. I still learn new stuff all the time. If I didn't I would be bored and loose interest. DIY CNC requires you know or learn some things just to get motion. You can stop at that or take it about as far as you want to.

If DIY CNC is truly a hobby of yours read, watch and listen to everything you can find about Mach and CNC in general. Play with Mach. See what all you can find, figure out about it. Break things and fix them. In a nutshell, waste a lot of time and have fun doing it. Always test and play in a copy of your real profile, screen, module, etc. That way if you really break something bad you can go back to your real stuff and start from a known good point. Copy it again and break the new copy too. It's fun, or it should be at least.

Below is a perfect example of the documentation and where you can find the latest release of Mach4 (which is what I recommend). But if 4162 does all you need it to, there is no reason to update. Once I get a machine doing all I want it to I never update it. I put a copy of anything I did custom, plugins, etc. and the installer on a thumb drive so I can restore it if ever needed.

Copied form the Mach4 CNC Controller Config.pdf
"Downloading
Download the installation package from www.machsupport.com . Click on the download link and
save the self-installing file on the desktop or in a convenient folder. Mach4 needs to be install as
administrator, this can be done by right clicking on the self-installing file and telling it to “Run as
Administrator”. If installing in a remote location the installation file can be saved and moved to a
machine that has no web access. The file will require a CD or USB drive to have adequate storage
volume."

Now it doesn't give you a direct link to the latest version. It just takes you to our home page. From there if you hover over Software, Mach4 will be listed in the drop down. Click on it and that takes you to a page that has a link to Download Mach4. This is just one of many ways to get the latest release of Mach4. All of this and multiple other ways could also be added to the documentation but does it really need to be? Typically the shorter you can make the documents the better chance you have of them being read. We purposely condense them to as short as possible but still provide the necessary information.

55
Mach4 General Discussion / Re: Variable in PLC script and m6 toolchange
« on: September 05, 2019, 02:27:33 PM »
Jelle,

What are you referring too as a variable?
The best thing to use is a register.
They can be seen and read from all parts of Mach4

Bill

This is only true if .......... there isn't already a signal constant (to be used in an api that can be seen from all) defined. If there isn't a constant creating a register is perfectly acceptable.

Getting the state of the OSIG_TOOL_CHANGE signal returns a 0.0 if the tool change is not running and 1.0 if it is.

Code: [Select]
local inst = mc.mcGetInstance()
local rc = nil
local hSig = nil
local state = nil
hSig, rc = mc.mcSignalGetHandle(inst, mc.OSIG_TOOL_CHANGE)
state, rc = mc.mcSignalGetState(hSig)
mc.mcCntlSetLastError(inst, tostring(state))

Test the above using the default Mill4 profile.

You can put the above code in a wizard. Name the wizard something like test.mcs.

Select the wizard form the list. See what you get in the status bar.

In a default profile, start the tool change (default tool change waits on user to click cycle start to finish). Be sure you call a tool that isn't the current tool because if the Current tool == Selected tool there is nothing to do. Select the wizard form the list. See what you get in the status bar.

Once the tool change is finished select the wizard form the list. See what you get in the status bar now.

56
Mach4 General Discussion / Re: Variable in PLC script and m6 toolchange
« on: September 05, 2019, 01:29:14 PM »
According to the API help file there is an OSIG_TOOL_CHANGE signal. Have you tried looking at it?

57
Mach4 General Discussion / Re: Mach 4 cv tuning wizard slider inoperable
« on: September 05, 2019, 11:30:39 AM »
OK, got that fixed I think. It will not be in a current release so i will attach it here. Just rename the file (remove the ForForum in the name) and put it in your wizards directory. It will ask if you want to replace the existing file and you will want to. But like i said, I wouldn't use this wizard anyway.  The mcCvDistTolerance wizard does a lot better job.

58
Mach4 General Discussion / Re: Mach 4 cv tuning wizard slider inoperable
« on: September 05, 2019, 10:17:55 AM »
Hmmmm, I will have to look at that wizard but to be honest it may be going away very soon. Its successor (the mcCvDistTolerance wizard) does a lot better job.

Yes, if you are still running 4162 you should update if you want any of the updated features, wizards, screens, etc. Just make sure you have done everything you should have (and the config. guide recommends) before updating. Updating is a breeze if you have. If you didn't create a custom profile, screen, etc. updating will overwrite your profile and any customizations you may have done.

59
Code: [Select]
Is there a specific reason it was chosen that the keyboard does not or should not follow the onscreen selection of incremental vs continuous?
Absolutely. By default the on screen buttons do not change the way any external input operates. This is intentional. I fought it tooth and nail myself for a while but have since realized it is better this way. It allows you to have multiple sources of input, each doing what they say they are going to do. For example, keyboard, pendent and on screen buttons. Each is independent from the others. Say you use Cont. Jog with the buttons and usually only do incremental with the pendant. Having them work independently when you go from screen to pendent you don't have to make sure the other is in the same mode. Also you do not have to worry with who is master and who is slave. This is one of the small things Mach4 does differently from Mach3 that adds to Mach4's incredible flexibility. With proper hardware and scripting you could customize 4 so that any jog input changes the mode for all jog inputs but I have never heard of anyone wanting to after trying it like it is. 

60
Mach4 General Discussion / Re: How to make a Button ??
« on: August 26, 2019, 06:04:12 PM »
The default router profile and screen have 2 types of vacuum buttons and the supporting macros (110 & 111, 112 & 113) already in the run ops tab if that helps.

I think all default screens (minus lathe) also have Remember Position and Return to Position buttons that should work well for your tool change position. Remember it once and return to it as often as you like.

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 »