Hello Guest it is April 20, 2024, 10:55:42 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 »
31
Mach4 General Discussion / Re: ISIG/OSIG Master List
« on: October 15, 2019, 02:07:53 AM »
Are you looking for something like this? Constants are all upper case followed by a space and description.

Output Signals
Signal                    Description
OSIG_DIGTRIGGER Digitize Trigger
OSIG_SPINDLEON Spindle On
OSIG_SPINDLEFWD Spindle Fwd
OSIG_SPINDLEREV Spindle Rev
OSIG_COOLANTON Coolant On
OSIG_MISTON Mist On
OSIG_CHARGE Charge Pump #1
OSIG_CHARGE2 Charge Pump #2
OSIG_CURRENTHILOW Current Hi/Low
OSIG_ENABLE0 Enable #0
OSIG_ENABLE1 Enable #1
OSIG_ENABLE2 Enable #2
OSIG_ENABLE3 Enable #3
OSIG_ENABLE4 Enable #4
OSIG_ENABLE5 Enable #5
OSIG_ENABLE6 Enable #6
OSIG_ENABLE7 Enable #7
OSIG_ENABLE8 Enable #8
OSIG_ENABLE9 Enable #9
OSIG_ENABLE10 Enable #10
OSIG_ENABLE11 Enable #11
OSIG_ENABLE12 Enable #12
OSIG_ENABLE13 Enable #13
OSIG_ENABLE14 Enable #14
OSIG_ENABLE15 Enable #15
OSIG_ENABLE16 Enable #16
OSIG_ENABLE17 Enable #17
OSIG_ENABLE18 Enable #18
OSIG_ENABLE19 Enable #19
OSIG_ENABLE20 Enable #20
OSIG_ENABLE21 Enable #21
OSIG_ENABLE22 Enable #22
OSIG_ENABLE23 Enable #23
OSIG_ENABLE24 Enable #24
OSIG_ENABLE25 Enable #25
OSIG_ENABLE26 Enable #26
OSIG_ENABLE27 Enable #27
OSIG_ENABLE28 Enable #28
OSIG_ENABLE29 Enable #29
OSIG_ENABLE30 Enable #30
OSIG_ENABLE31 Enable #31
OSIG_XLIMITPLUS X ++
OSIG_XLIMITMINUS X --
OSIG_XHOME X Home
OSIG_YLIMITPLUS Y ++
OSIG_YLIMITMINUS Y --
OSIG_YHOME Y Home
OSIG_ZLIMITPLUS Z ++
OSIG_ZLIMITMINUS Z --
OSIG_ZHOME Z Home
OSIG_ALIMITPLUS A ++
OSIG_ALIMITMINUS A --
OSIG_AHOME A Home
OSIG_BLIMITPLUS B ++
OSIG_BLIMITMINUS B --
OSIG_BHOME B Home
OSIG_CLIMITPLUS C ++
OSIG_CLIMITMINUS C --
OSIG_CHOME C Home
OSIG_OUTPUT0 Output #0
OSIG_OUTPUT1 Output #1
OSIG_OUTPUT2 Output #2
OSIG_OUTPUT3 Output #3
OSIG_OUTPUT4 Output #4
OSIG_OUTPUT5 Output #5
OSIG_OUTPUT6 Output #6
OSIG_OUTPUT7 Output #7
OSIG_OUTPUT8 Output #8
OSIG_OUTPUT9 Output #9
OSIG_OUTPUT10 Output #10
OSIG_OUTPUT11 Output #11
OSIG_OUTPUT12 Output #12
OSIG_OUTPUT13 Output #13
OSIG_OUTPUT14 Output #14
OSIG_OUTPUT15 Output #15
OSIG_OUTPUT16 Output #16
OSIG_OUTPUT17 Output #17
OSIG_OUTPUT18 Output #18
OSIG_OUTPUT19 Output #19
OSIG_OUTPUT20 Output #20
OSIG_OUTPUT21 Output #21
OSIG_OUTPUT22 Output #22
OSIG_OUTPUT23 Output #23
OSIG_OUTPUT24 Output #24
OSIG_OUTPUT25 Output #25
OSIG_OUTPUT26 Output #26
OSIG_OUTPUT27 Output #27
OSIG_OUTPUT28 Output #28
OSIG_OUTPUT29 Output #29
OSIG_OUTPUT30 Output #30
OSIG_OUTPUT31 Output #31
OSIG_OUTPUT32 Output #32
OSIG_OUTPUT33 Output #33
OSIG_OUTPUT34 Output #34
OSIG_OUTPUT35 Output #35
OSIG_OUTPUT36 Output #36
OSIG_OUTPUT37 Output #37
OSIG_OUTPUT38 Output #38
OSIG_OUTPUT39 Output #39
OSIG_OUTPUT40 Output #40
OSIG_OUTPUT41 Output #41
OSIG_OUTPUT42 Output #42
OSIG_OUTPUT43 Output #43
OSIG_OUTPUT44 Output #44
OSIG_OUTPUT45 Output #45
OSIG_OUTPUT46 Output #46
OSIG_OUTPUT47 Output #47
OSIG_OUTPUT48 Output #48
OSIG_OUTPUT49 Output #49
OSIG_OUTPUT50 Output #50
OSIG_OUTPUT51 Output #51
OSIG_OUTPUT52 Output #52
OSIG_OUTPUT53 Output #53
OSIG_OUTPUT54 Output #54
OSIG_OUTPUT55 Output #55
OSIG_OUTPUT56 Output #56
OSIG_OUTPUT57 Output #57
OSIG_OUTPUT58 Output #58
OSIG_OUTPUT59 Output #59
OSIG_OUTPUT60 Output #60
OSIG_OUTPUT61 Output #61
OSIG_OUTPUT62 Output #62
OSIG_OUTPUT63 Output #63
OSIG_RUNNING_GCODE Gcode Running
OSIG_FEEDHOLD Feed Hold
OSIG_BLOCK_DELETE Block Delete
OSIG_SINGLE_BLOCK Single Block
OSIG_REVERSE_RUN Reverse Run
OSIG_OPT_STOP Opt Stop
OSIG_MACHINE_ENABLED Machine Enabled
OSIG_TOOL_CHANGE Tool Change
OSIG_DIST_TOGO Dist To Go
OSIG_MACHINE_CORD Machine Coord
OSIG_SOFTLIMITS_ON Softlimits On
OSIG_JOG_INC Jog Inc
OSIG_JOG_CONT Jog Cont
OSIG_JOG_ENABLED Jog Enabled
OSIG_JOG_MPG Jog MPG
OSIG_HOMED_X X Homed
OSIG_HOMED_Y Y Homed
OSIG_HOMED_Z Z Homed
OSIG_HOMED_A A Homed
OSIG_HOMED_B B Homed
OSIG_HOMED_C C Homed
OSIG_DWELL Dwell
OSIG_TP_MOUSE_DN Toolpath Mouse Down
OSIG_LIMITOVER Limit Override
OSIG_ALARM Alarm
OSIG_PRTSF Parts Finished

32
Mach4 General Discussion / Re: Mach 4 Screen Editor GCode Help
« on: October 09, 2019, 05:14:01 PM »
Also, not a good idea to just "switch back to g90". How do you know it was in G90 when the script ran? You don't unless you check. May well have been in G91 before the script ran, Gcode is perfect and doing exactly what it should (setting G91 mode) when it should. Then you run the script and that script changes it to G90. How does the Gcode know this changed and how does it overcome this? Well, it doesn't. That is why if you set any modal modes in your script you better check what they were before you set them and set them back to previous status before you finish your script. 

33
Mach4 General Discussion / Re: Mach 4 Screen Editor GCode Help
« on: October 09, 2019, 05:00:21 PM »
Not necessary Bill.

The way he described it he just wants to move 10 + or - from where he is at. This is why I am getting the current position and moving + or - of it. And I'm doing it using a G53 so I don't have to get, change and set back modal modes he may be in when he wants to do this. If he wanted to go to an absolute position every time I would still do it with G53 for the same reasons listed above but I would not need to get the current position or do any math to it to find out where I wanted to end up.

34
Mach4 General Discussion / Re: Mach 4 Screen Editor GCode Help
« on: October 09, 2019, 02:42:40 PM »
Quote
Is it quite straightforward to link this to an input on my motion controller so I can have a foot switch toggle the button as well?

Yes, get the button working first. You can then add the input to the sigLib in screenload script and set the buttons state based on the state of the input.

35
Excuse me........

Quote
At least once a Week Mach 4 crashes.
Most of the time when I press "Load" it hangs and do not longer react so I have to end the task.
I never could find out why - but this is not the topic here and only the background why Im asking...

Mach crashing is what is causing the problem you are trying to manually get around period. The fix is not to add stuff for when it crashes. The fix is to do things correctly so it does not crash. This is like asking the best thing to do everytime you shoot yourself in the foot. The correct answer is to quit shooting yourself in the foot.

For your power outages, I wouldn't consider running any PC without a UPS (battery backup). Improper shutdown of a PC can corrupt the entire hard drive and ruin hardware components. I mean after all, when the power unexpectedly goes out do you get advance notice so you can manually click a button to force a save (that already happens automatically when Mach closes gracefully)?

No, I don't think I will think about "any other imaginable Mach dones not close graceful". That is your job. Once you figure out all the ways you can do it you should do whatever it takes to stop it. Mach that crashes if used correctly will never knowingly be sent out. But it is designed and coded with a few expected environmental variables that is your job to provide (like a reliable power source and Gcode files residing on the same drive as Mach's install directory).

Sorry if that is not what you want to hear but I refuse to give bullets to anyone planning to shoot their self with it.

36
Mach4 General Discussion / Re: Mach 4 Screen Editor GCode Help
« on: October 09, 2019, 01:14:16 PM »
Also set your button you add enabled states to something that won't get you into trouble. For example, I'm pretty sure you don't want this to happen if the axis is executing a gcode move already and you hit the button.

37
Mach4 General Discussion / Re: Mach 4 Screen Editor GCode Help
« on: October 09, 2019, 01:08:11 PM »
Hmmmmmmm, ok. I like it.  :)

This will move the Y axis 10 + from current position

Code: [Select]
local inst = mc.mcGetInstance()
local YMach, rc = mc.mcAxisGetMachinePos(inst, mc.Y_AXIS)
rc = mc.mcCntlMdiExecute(inst, string.format("G0 G53 Y%4.4f", (YMach + 10)))

This will move the Y 10 - from current position

Code: [Select]
local inst = mc.mcGetInstance()
local YMach, rc = mc.mcAxisGetMachinePos(inst, mc.Y_AXIS)
rc = mc.mcCntlMdiExecute(inst, string.format("G0 G53 Y%4.4f", (YMach - 10)))

Plop you a toggle button on the screen and put one script in the buttons Up script event and the other script in the buttons Down script event. Put whatever you want for the buttons up and down colors and text. That will take care of the button.

38
Gcode being executed by Mach is to reside on the same drive as Mach. So you are right. Executing from a USb stick would be just as ridiculous. You can have your files on a network drive but you should not execute it from there. Copy from network and put a copy on the same drive as Mach unless you want problems. You waiting for 2 seconds for a drive to spool up is not a problem. Mach waiting for it is.

39
Mach4 General Discussion / Re: Mach 4 Screen Editor GCode Help
« on: October 09, 2019, 11:33:14 AM »
What is the purpose of this?

40
Mach4 General Discussion / Re: Reinstalling Mach 4 on New PC
« on: October 09, 2019, 11:06:57 AM »
Typically the only thing that needs to be saved is the profile. But if you have done any customization you will need to save anything you customized.

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 »