Hello Guest it is March 29, 2024, 07:29:01 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 »
221
Mach4 General Discussion / Re: mcAxisGetInfoStruct
« on: June 19, 2018, 12:26:46 AM »
Works fine here (enabled or disabled). I do not get the -16 in either case.

I think another issue is the AxisInfoStruct.Pos does not return the value you think. I spoke to Steve today and he is going to change it so Pos returns work coords. That is not what it does right now. As it is should be override axis + Mpos. If you don't have an override axis with some value assigned, it will return the same as Mpos. In the next release Pos should return work coords.

222
Mach4 General Discussion / Re: mcAxisGetInfoStruct
« on: June 18, 2018, 02:46:20 PM »
mcAxisGetInfoStruct returns a table.

This is how I would get work and machine coords in lua.

Code: [Select]
local inst = mc.mcGetInstance()

local val, rc = mc.mcAxisGetPos(inst, mc.X_AXIS)

local xInfo, rc = mc.mcAxisGetInfoStruct(inst, mc.X_AXIS)

local xMpos = xInfo.Mpos --Machine position in user units.


223
Quote
And, is it not simpler to have, in my case FOUR, drives wired to one input

Works great for me.

But don't forget, in my example multiple inputs are wired to and controlling a solid state relay, not a single input on your BOB (big difference).Another benefit of using a relay is its easy to flip the logic if needed. The drives can supply the + or 0 volts to the relay. All things must be considered in each individual case. I'm just sharing what I have done. Craig and Steve have valid points. It has to be done right to work right and what is right for one may not be right for another.

I want an e stop triggered anytime any drive has any error. It doesn't matter what that error was. The folks that will be in charge of fixing it know how to use the diagnostic LEDs on the drives. In other circumstances it might be nice to have the ability to tell Mach what drive failed (and why) so Mach could tell the operator...... if you have available inputs to use for this. I/O is what makes a machine intelligent. I rarely have any extra I/O and often not as much as I would like. But at some point you have to weigh out cost versus reward, set priorities and roll with it. I don't think I would sacrifice any I/O I wanted on a personal hobby machine. I don't think the cost to expand I/O on a single machine could possibly be worth me being dissatisfied in my hobby. But when the machines are not being used for hobby, multiples are built, existing systems\protocols are in place, cost of production, etc.  have to be considered things can change drastically. Everything really is a trade off.

224
I posted this example before but can't find it now.

225
I have used the enable ready signals of drives in a daisy chain, one ready signal goes to the next enable. That whole circuit controls a SS relay whos controlled contacts are in the estop loop.

227
Tangent Corner / Re: A Robin.
« on: May 31, 2018, 06:36:20 AM »
NP, they are awesome pics. Magazine cover material.

I had to google beer can lens. Lots of praise about it on the interwebs. But yeah, I was imagining something a lot bigger. Impressive!

It amazes me how fast the quality of images that can be produced with the same amount of money in equipment has improved over the past 10 years. I really need to splash out on some gear myself. If I ever get to the point that I can get my head around what my 5 MP powershot can do maybe I can graduate.  ;D

228
Tangent Corner / Re: A Robin.
« on: May 30, 2018, 10:50:18 AM »
Nice tweakie!
What hardware are you using to get those images?
How far away are you?

I'm guessing it would take a mobile crane base in a floated bed of epoxy for the camera mount, a lens about as long as my leg and crazy good camera to get images like that. You being the wizard you are could probably pull it off with a disposable camera with not even a tripod while you hold a pepsi bottle over the lens with one hand for magnification.

229
Mach4 General Discussion / Re: mcCntrlGcodeExecuteWait fail
« on: May 15, 2018, 11:11:07 PM »
Saw this today, it should be pretty close I think.

local MyFile = wx.wxFileSelector("message", "C:\\Mach4Hobby\\GcodeFiles\\", "test.tap", ".tap", wx.wxFileSelectorDefaultWildcardStr, wx.wxFD_SAVE)

http://docs.wxwidgets.org/3.0.1/group__group__funcmacro__dialog.html

230
Mach4 General Discussion / Re: A Aixs Brake
« on: May 10, 2018, 08:11:47 PM »
Yeah, that won't work. I was thinking or an electric brake inside the servo (even though you said it was pneumatic  :-[). You will need a delay so it doesn't tear itself up.

Does the brake have a confirmation switch confirming it is active or inactive or does it just fire a solenoid and hope for the best?

The only way I can think of to do what you want is 2 custom macros. One would have to be called before the A moves to unlock it and dwell and the second would have to be called after A moves to lock it and dwell...... unless there is some dwell parameter/s in your drive to tune that output. If the brake has a confirm switch you could probably use mc.mcSignalWait in the macros for the dwell.

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 »