Advanced Search

Search Results (Searched for: )

  • sawdust
  • sawdust
10 Dec 2024 03:16 - 10 Dec 2024 03:28
dm542t motor reversal? was created by sawdust

dm542t motor reversal?

Category: General LinuxCNC Questions

LIkely the answer is no, hope I am wrong.

I am using linuxcnc 2.7.15 breakout board with printer cable
My X axis has twin rack/pinion drive, motors need to turn in opposite directions. Modifying HAL is beyond me.

I tried reversing the motor phase connections on one driver/motor and the motors still both spun the same direction. Should clarify, both CW and CCW but in sync not opposite as I need.
I have both x axis motors connected to P2 P3 not ideal I realize.

I wonder if it is possible to rearrange the control connectors to reverse one motor? I have not messed with this. The jumpers bringing power to pul+ Dir+ and Ena+  puzzle me. Ena- goes to P2 and Dir- goes to P3.

Thank you.
David
  • fully_defined
  • fully_defined's Avatar
10 Dec 2024 02:57 - 28 Dec 2024 04:00
Rotary Selector Switches & Resistors was created by fully_defined

Rotary Selector Switches & Resistors

Category: General LinuxCNC Questions

EDIT: I ordered and received binary switches, after some contemplation. They only output in binary - no pins for switch positions - and seem to be the right tool for the job in LinuxCNC with a Mesa 7i73 card. Time will tell.

Weirdly, Mouser doesn't even include this in their "Coded Rotary Switches" section, so finding them was down to luck. The pins are super delicate, so it's pretty clear it was meant to be mounted directly on a PCB. I'm not currently sure how that would work in a DIY console, so I still might get some little breakout PCBs made.

Lorlin BCK1006 pictured below, though BCK1008 would also make a lot of sense, maybe even more sense. It would have more closed circuits than open circuits in the most oft-used positions.

File Attachment:


EDIT: I added a graphic to illustrate the alternative that I found during this discussion. A mux switch seems to be the right tool for the job, but existing products, and documentation combined with illustration of their function are basically nonexistent. This is my attempt to create a resource for future me and others to refer to when creating their own mux selector switches.

I am moving from EdingCNC to LinuxCNC.

Sorting out the MPG/pendant, I thought I could just use 1k resistors like in the attached image of the EdingCNC manual, with the 7i73 analog input sensing the resistance value, but I can't seem to find any examples of anyone doing this in LinuxCNC. Here is a screenshot from the EdingCNC manual, that shows what I was planning to do:

File Attachment:
  • PatJac
  • PatJac
10 Dec 2024 00:20 - 10 Dec 2024 12:34
Replied by PatJac on topic Real-Time Kernel with Orange Pi 4 LTS

Real-Time Kernel with Orange Pi 4 LTS

Category: General LinuxCNC Questions

@roya
I gave that same 6.12-rc7 image some more test , trying to pinpoint where the glitches come from , for the sake of learning , an i do got this dust collector opi4 ...
Stumble upon the linuxcnc-rio guy , wow , still got 80 pages of post to read + his git .
Back to your 6.12rc7 , tried the 3 deb packages you've post on another image , the headers deb is corrupted by te way .
With same -1Gb img , stopping some unused .services , I do get ''stable'' shutdown now , isolating 3 last cores ,
no impressive latency results of course , but a usable fast enough(no lag) jwm desktop ,no hang ,no oo's , i'll hook up the 7i92 to the bob with it , the opi4/your 6.12rt as a ''one at the time'' purpose job and come back , after reading more about the rio .
Kernel 6.12 is young , worth testing it , opi4 may not be the best sbc candidate , not to mention xulong support , or worse their forum !!!
Thanks again , no rush ,i'll be back .
PJ
edit ; still some random kernel panic on shutdown ,i will try recompiling the dts for opi4 to see if it goes somewhere..
  • D Jensen
  • D Jensen
09 Dec 2024 23:22
Replied by D Jensen on topic Retrofitting a 1986 Maho 400E

Retrofitting a 1986 Maho 400E

Category: Milling Machines

Hi Mark,

As always I forgot to mention some things:
At 2:20 on the video you unscrew the hydraulic ram. That is the thread in my instruction sheets that you need to heat because it is Loctited. I'm not sure I like your parallel grip pliers for that job. I used a large adjustable spanner for that, which not much better, and I couldn't move mine cold, for fear of damaging the part. That is when i came to use the paint stripper gun on low. I just held a steady torque and it suddenly came free after a minute or so of heating. Most Acrylic lockers will soften at around 120 - 130 C. Have you found broken Belleville springs?
At 2:35 you show a diagram p7.35-2/3915. First lets mention that there is a thread on the ram that the whole gripper assembly threads onto. So the bolt you remove is part of the system that stops that whole assembly from turning on that thread. In the diagram it seems to show a socket head screw, the head of which I think is used to splay a split collet to jamb the assembly from turning. But when I step through you video you remove a grub screw. So I'm thinking that you actually have the same locking system as my machine 7.35-1 that I put up  with the ball and grub locking?
As you leaf through the drawings at 1:20 you see my type of NT40 tool where I have to machine a groove on the tool holder. The dimensions are exactly the same as mine. I've actually made the setting jig suggested. I don't actually like it much as there is an M16 thread underneath that groove and it leaves alarmingly little meat under the groove, along with the thread stress concentration.
I've had a few second thoughts on my end float comments. I know they make matched pairs of angular contact bearing for common uses like car wheel bearings where they are matched preloaded. It looks like it could be possible that your clamping ring closes the preload on just the inner rings like that. Whatever, it's clear that those bolts should not be loose. They should have some set torque applied. Might be wise to see if Maho can help with end float/ pre-load. At least do the temperature runs after repacking. I would expect it to run hot after re-packing, but come good during the process. Running cold may actually be a bad sign.

Cheers,
David
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
09 Dec 2024 22:45
Replied by Cant do this anymore bye all on topic FreeCAD 1.0 Who's using it?

FreeCAD 1.0 Who's using it?

Category: CAD CAM

Been using it ever since I got my 3D printer for models.
Used the path bench a few time with success for basic 2d stuff.
Mango Jelly Solutions has some good tutorials as well.
  • Zayoo
  • Zayoo
09 Dec 2024 22:34

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Regarding rpi5 I swap to riocore so there is some changes.
For old rio follow instructions on rio page 11

Here is changes for riocore:

I have a raspberry pi5 and this is the code of how I started the SPI communication of the RPI5 - TangNano9K. (Not yet machine tested)

OS:  In /boot/broadcom/config.txt check is SPI is enabled (reboot if not)

# uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
dtparam=spi=on

In /dev/
Check do you have listed spidev0.0, should be!

Generate output files as for raspberry pi4. When you have generated them, find the file 'riocomp.c' and open it. In general, you need to find and replace the code responsible for rpi4 SPI communication. You need to swap approximately 4200 lines of code with around 60 lines, swap FROM:
/*
    interface: SPI
*/

INSERT CODE:
#include <linux/spi/spidev.h>
#include <sys/ioctl.h>  
int spifd;
static uint8_t mode = SPI_MODE_0;
static uint8_t bits = 8;
static uint32_t speed = 1500000;
int spi_init(void) {
   
    rtapi_print("Info: Initialize SPI5 connection\n");
    spifd = open("/dev/spidev0.0", O_RDWR);
    if (spifd < 0) {
        rtapi_print_msg(RTAPI_MSG_ERR,"Failed to open SPI device\n");
        return -1;
    }
    // Set SPI mode
    if (ioctl(spifd, SPI_IOC_WR_MODE, &mode) == -1) {
        rtapi_print_msg(RTAPI_MSG_ERR,"Failed to set SPI mode\n");
        close(spifd);
        return -1;
    }
    // Set bits per word
    if (ioctl(spifd, SPI_IOC_WR_BITS_PER_WORD, &bits) == -1) {
        rtapi_print_msg(RTAPI_MSG_ERR,"Failed to set bits per word\n");
        close(spifd);
        return -1;
    }
    // Set max speed
    if (ioctl(spifd, SPI_IOC_WR_MAX_SPEED_HZ, &speed) == -1) {
        rtapi_print_msg(RTAPI_MSG_ERR,"Failed to set max speed\n");
        close(spifd);
        return -1;
    }
}
int spi_trx(uint8_t *txBuffer, uint8_t *rxBuffer, uint16_t size) {
        struct spi_ioc_transfer tr = {
        .tx_buf = (uint64_t)txBuffer,
        .rx_buf = (uint64_t)rxBuffer,
        .len = size,
        .speed_hz = speed,
        .delay_usecs = 0,
        .bits_per_word = bits,
    };
    // Perform SPI transfer
    if (ioctl(spifd, SPI_IOC_MESSAGE(1), &tr) == -1) {
rtapi_print_msg(RTAPI_MSG_ERR,"Failed to perform SPI transfer\n");
    }
    return 1;
}
 
TO:
int interface_init(void)  {
     spi_init();
}

/*
   hal functions
*/


Find and add:
//ADD to rtapi_app_exit ->> close(spifd);
void rtapi_app_exit(void) {
    close(spifd);
    hal_exit(comp_id);
}
 

And that's all. This procedure with 'riocomp.c' must be repeated every time the output files are regenerated.
 
  • piter_iceman
  • piter_iceman
09 Dec 2024 21:38 - 10 Dec 2024 07:57
Replied by piter_iceman on topic Error reading pdos / motors are not moving - solved!

Error reading pdos / motors are not moving - solved!

Category: EtherCAT

  1.  
  2. It's working!!! The vid="0x00445653" and pid="0009252" must exactly match the driver's configuration, and the registers should start from RxPDOs - 0x1600 ; TxPDOs 0x1A00 - verified in TwinCAT 2 and ethercat sdos
  • tommylight
  • tommylight's Avatar
09 Dec 2024 21:21
Replied by tommylight on topic Kuka robot project - hardware choice

Kuka robot project - hardware choice

Category: Driver Boards

Vevor no, but maybe, usually not isolated.
The 1000VA looks good, has outputs that can be paralleled giving 8.7A and can handle quite some beating, so get 1 of those, it will be more than enough for testing and running individual motors. After you do that, you can try using 2 or more motors with it and see how it behaves, you might just get away with 2 or 3 of those if no fast acceleration is needed.
Kuka does not makes drives, Siemens does/did, although that looks like something Beckhoff would make, so try finding more info on them. Also notice Kuka used fieldbus and profibus for comms...
  • greg23_78
  • greg23_78
09 Dec 2024 20:45
Replied by greg23_78 on topic Kuka robot project - hardware choice

Kuka robot project - hardware choice

Category: Driver Boards

is it possible to drive kuka drivers or not, they are completely blocked by kuka?

 
  • greg23_78
  • greg23_78
09 Dec 2024 20:37 - 09 Dec 2024 20:38
Replied by greg23_78 on topic Kuka robot project - hardware choice

Kuka robot project - hardware choice

Category: Driver Boards

a pity about auto transformers, because there are plenty of them for sale, and they're high-powered.

I'll turn to this:



is it insulated?



moreover, i found in my garage two insulated 400/240 - 110V transformers with a power of 1000VA with two 110V 2x4.26A outputs and can up to 5000VA for short time

 

so I'll go with

transformer 1000 VA : - motor 0.57 kw 1.6A 143V
                                - motor 0.57 KW 1.6A 143V

 transformer 1000 VA: -motor 0.57 KW 1.6A 143V
                                -motor 1.5 KW 3.7A 146V

transformer 3000 VA :- motor 2.5KW 5.4A 185V
                                -motor 2.5KW 5.4A 185V

does this sound right or is the 3KVA transformer too small?

 
  • CNC_ANDI
  • CNC_ANDI
09 Dec 2024 19:29 - 09 Dec 2024 19:33
Replied by CNC_ANDI on topic Probe_Basic Bugs?

Probe_Basic Bugs?

Category: QtPyVCP

ok thanks and how can i configure my axis display without dev install?
you can run fusion 360 for a 4th axis part....
always you have to do ist configure a 2D adaptive clearing and sort it in a round pattern...finish now you have a indexed 4th axis part

here is a 4th axis gcode:
 

File Attachment:

File Name: 1001_2024-12-09.ngc
File Size:507 KB

 
  • 0x2102
  • 0x2102's Avatar
09 Dec 2024 19:08
Replied by 0x2102 on topic Exchange Spindle "Tab" with something else

Exchange Spindle "Tab" with something else

Category: Gmoccapy

This is documented here:

linuxcnc.org/docs/html/gui/gmoccapy.html...tabs-and-side-panels

You can replace the spindle box with your own glade file / function.
  • Lcvette
  • Lcvette's Avatar
09 Dec 2024 18:34
Replied by Lcvette on topic Probe_Basic Bugs?

Probe_Basic Bugs?

Category: QtPyVCP

vtk which is the back plotter is undergoing extensive reconfiguring, so the latest stable had some issues in it that went unnoticed in certain areas. many things have been corrected in the develop version but a few still need to be sorted. one of the things was how the plotter draws and follows the program tool paths. hopefully this will be pushed and released very soon as i think most of it has been corrected but there are still a few bugs to sort out and testing is difficult without multiaxis cam available
  • RDA
  • RDA
09 Dec 2024 17:54

ASD B3 0121 L Loses connection with computer when Servo On

Category: Driver Boards

I would also add that if it’s possible to use shielded motor cables, use them and tie the shield to PE from both ends.

It’s the switching noise from the drive IGBT.
  • hmnijp
  • hmnijp
09 Dec 2024 17:46

Feedback control XY not full speed run G1 when curve or Arc

Category: General LinuxCNC Questions

You should increase motion blending tolerance (g64 p0.002)

The more accurate the tolerance -> the lower the speed.

For roughing operation (adaptive) such accuracy is not required. Try setting P0.05, this will smooth the trajectory and allow it to be executed at high speed.
If the acceleration of your machine is not high, then for roughing operation you can choose P even more.
Displaying 20326 - 20340 out of 22505 results.
Time to create page: 0.797 seconds
Powered by Kunena Forum