Advanced Search

Search Results (Searched for: )

  • jblanscett
  • jblanscett
Today 18:29
Replied by jblanscett on topic Trying to set up position control mode

Trying to set up position control mode

Category: HAL

All the results have been done with the AXIS GUI inputs.
  • PCW
  • PCW's Avatar
Today 18:23
Replied by PCW on topic Trying to set up position control mode

Trying to set up position control mode

Category: HAL

Does jogging via the GUI work?
 
  • persei8
  • persei8's Avatar
Today 18:22
Tool Manager was created by persei8

Tool Manager

Category: Advanced Configuration

I made this tool manager for the second generation QtDragon, but there's no reason it couldn't be a standalone application. Currently, you can assign tools to groups, such as Drills, spiral upcuts, whatever. Each tool can be assigned material specific cutting parameters and the running time for each tool is tracked according to how long it was in the spindle while a program was running. The linuxcnc tool table is the source of truth and tools can only be added or removed by editing the tool table. The database can be exported to csv or html.  I'm not a machinist, so this was only a guess on my part about what kind of data to record. Looking for suggestions on features, changes, etc. Regards.
Jim
 
  • PCW
  • PCW's Avatar
Today 18:17
Replied by PCW on topic chineese mesa 7i92 custom bit file

chineese mesa 7i92 custom bit file

Category: Driver Boards

 

File Attachment:

File Name: 7i92_clone.zip
File Size:85 KB

 
  • PCW
  • PCW's Avatar
Today 18:09
Replied by PCW on topic RPI5_7i80HDT_7i52s+7i49+7i44+BISS

RPI5_7i80HDT_7i52s+7i49+7i44+BISS

Category: Driver Boards

Well unfortunately, that will not fit.

This fits: 

File Attachment:

File Name: 7i80hdt_7i...52sd.zip
File Size:326 KB


(7I44 with 4 sserial ports and 4 BISS channels on 1 and 7I52s (6 stepgens 6 encoders) on 2)

And this  fits: 

 

File Attachment:

File Name: 7i80hdt_7i...i49d.zip
File Size:343 KB


(7I44 with 8 sserial channels on 1 and 7I49 on 2)

But 7I44 with 4 sserial ports and 4 BISS channels on 1 and 7I49 on 2  does not fit.

Options:

1. Trim uneeded interfaces from last option (PWM.BISS, sserial channels etc)

2. Use two FPGA cards



 
  • Finngineering
  • Finngineering
Today 17:19
Replied by Finngineering on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

Good job tracking that one down!

Did you previously increase the libusb log level somehow? If so, then maybe that's why it segfaulted for you, but not for me. regardless, looks like a libusb bug to me.
  • Konstantin
  • Konstantin
Today 17:15 - Today 17:18
Replied by Konstantin on topic CiA 402 Folder Missing

CiA 402 Folder Missing

Category: EtherCAT

Perhaps, I found out what is happening to the drives. I read the PDO mapping part of the manual again and it seems that the PDO mapping objects - 1C12h(RxPDO) and 1C13h(TxPDO) are set to some default values. The PDO mapping cannot be saved in the EEPROM of the drive and therefore the master needs to set the desired mapping in the PREOP state of the drive every time when the drives are powered on.

The output in terminal that show "Gap" in PDO entry is because there is no object mapped to that free slot - PDO mapping is set to fixed.  Here  is the PDO mapping part of the manual. It can be seen that 1C12h should be set to 1600h and 1C13h should be set to 1A00h to activate the variable PDO mapping.

Attached is the PDO mapping objects description from the manual and it shows that they expect data type of ARR(perhaps array). Apparently, LinuxCNC EtherCAT master should define a variable PDO mapping and what objects to include in the mapping.

In my opinion, the PDO mapping should be defined in the .hal file or create a script that executes once when the EtherCAT master detects slaves, similar to the first scan bit of a PLC.
  • andypugh
  • andypugh's Avatar
Today 17:06
Replied by andypugh on topic Lathe Bed Wear Compensation

Lathe Bed Wear Compensation

Category: Advanced Configuration

The compensation needs to allow for tilt of the saddle as it moves along the bed. There is typically more wear on the front way than the rear, and this is (I believe) what causes the machined diameter to vary.

You could measure a parallel test bar with a dial indicator at various points along the bed, and use the "lincurve" component to calculate the required offset (and then add that on between motor-pos-cmd and and the input to the PID)
  • andypugh
  • andypugh's Avatar
Today 17:01
Replied by andypugh on topic Two Mesa 5I20

Two Mesa 5I20

Category: Driver Boards

Any that you do find will be second-hand. And old.

I would follow PCW's advice and change to a supported FPGA card. The 6i24 is in-stock at Mesa, but would need a PCIe motherboard rather than PCI.
It doesn't look like Mesa have stock of any full-size PCI cards at the moment.
(The 5i24 is the PCI version of the 6i24 but shows as out of stock)

The 6i24 will work with the same daughter cards as the 5i20.

It would be necessary to change "5i20" to "6i24" throughout the HAL file too.
  • andypugh
  • andypugh's Avatar
Today 16:52
Replied by andypugh on topic Problem with toogle2nist component

Problem with toogle2nist component

Category: HAL

No, there hasn't been a 2.10 release, and that was the development version when my email was sent.

This is the state of the .comp in the 2.9.8 release tag.
github.com/LinuxCNC/linuxcnc/blob/v2.9.8...nts/toggle2nist.comp

(no debounce pins)
  • DerKlotz
  • DerKlotz
Today 16:40
Replied by DerKlotz on topic Add Buttons in Probe Basic

Add Buttons in Probe Basic

Category: QtPyVCP

So far so good. Next big thing is the wireless jog wheel. 
  • jblanscett
  • jblanscett
Today 16:32
Replied by jblanscett on topic Trying to set up position control mode

Trying to set up position control mode

Category: HAL

Okay I changed it and there was no improvement. 
  • HM
  • HM
Today 16:17
Replied by HM on topic RPI5_7i80HDT_7i52s+7i49+7i44+BISS

RPI5_7i80HDT_7i52s+7i49+7i44+BISS

Category: Driver Boards

Thank you in advance =) 

File Attachment:

File Name: PIN_Moore_...3-05.zip
File Size:3 KB
  • PCW
  • PCW's Avatar
Today 15:48 - Today 15:48
Replied by PCW on topic Trying to set up position control mode

Trying to set up position control mode

Category: HAL

Looking more carefully at your hal file:

setp joint.0.jog-vel-mode 1

Means that the jog will continue as long as jog count <> 0

(this is normally intended for input devices like joysticks that return to 0 when not pressed)

for position mode jogging with a MPG, you should have:

setp joint.0.jog-vel-mode 0




 
  • Hakan
  • Hakan
Today 14:01
Replied by Hakan on topic XHC WHB04B development?

XHC WHB04B development?

Category: General LinuxCNC Questions

I found it.

Ok, I didn't find the reason but I found a way around it.
It always crashed for me with "libusb: debug [libusb_unref_device] destroy device 3.109"
I ran it in the debugger and saw it stopped with a SIGSEGV.
After spending too much time figuring out how to turn on core dumps, I got a core dump.
Here is the stop point.  

 

The one wonders what ctx_log_handler is
(gdb) p ctx->log_handler
$2 = (libusb_log_cb) 0xbb343c565cbddc86

I commented out this line in libusb_unref_device()
 
and then the xhc actually restarted.
Here is the log of that.
hal   failed to wait for requested mode. waited 500ms
pndnt wheel total counts {counts=-353 activeCounter=2 isLeadActive=0}
inTransfer = 0x558412062e00 deviceHandle = 0x558412066360
libusb_fill ..
.. done
Failed in setupAsyncTransfer -4
transmission failed, try to reconnect ...
transmission failed, try to reconnect ...
connection lost, cleaning up
init  pausing 10s, waiting for device to be gone .............. done
init  usb context ... ok
init  not waiting for device XHC-WHB04B-6 vendorId=0x10ce productId=0xeb93, will continue in 0s ...1 ok
init  XHC-WHB04B-6 device found
init  detaching active kernel driver ... ok
init  claiming interface ... ok
init  enabling reception ...In enableReceiveAsyncTransfer
inTransfer = 0x558412062e00 deviceHandle = 0x558412075a50
libusb_fill ..
.. done
 ok
in    0x04 10 00 00 0f 13 00 10 delta 15 => | 04 | 10 |                 |                 |   0.1( 10%) |     Z(    ) |  \
 0 | 10
pndnt wheel  event -353
 
Displaying 1 - 15 out of 18428 results.
Time to create page: 0.248 seconds
Powered by Kunena Forum