Advanced Search

Search Results (Searched for: )

  • besriworld
  • besriworld
29 May 2024 21:16 - 29 May 2024 21:18
Replied by besriworld on topic Index homing Mesa 7i96s

Index homing Mesa 7i96s

Category: PnCConf Wizard

i can't compile bit file

package PIN_5ABOBx3D_51Copy is
    constant ModuleID : ModuleIDType :=( 
        (HM2DPLLTag,    x"00",    ClockLowTag,    x"01",    HM2DPLLBaseRateAddr&PadT,    HM2DPLLNumRegs,        x"00",    HM2DPLLMPBitMask),
        (WatchDogTag,    x"00",    ClockLowTag,    x"01",    WatchDogTimeAddr&PadT,        WatchDogNumRegs,        x"00",    WatchDogMPBitMask),
        (IOPortTag,        x"00",    ClockLowTag,    x"03",    PortAddr&PadT,                    IOPortNumRegs,            x"00",    IOPortMPBitMask),
        (InMTag,       x"00",   ClockLowTag,   x"01",   InMControlAddr&PadT,       InMNumRegs,          x"00",   InMMPBitMask),
        (QcountTag,        x"02",    ClockLowTag,    x"05",    QcounterAddr&PadT,            QCounterNumRegs,        x"00",    QCounterMPBitMask),
        (StepGenTag,    x"C2",    ClockLowTag,    x"04",    StepGenRateAddr&PadT,        StepGenNumRegs,        x"00",    StepGenMPBitMask),
        (PWMTag,            x"00",    ClockHighTag,    x"01",    PWMValAddr&PadT,                PWMNumRegs,                x"00",    PWMMPBitMask),
       (SSerialTag,    x"00",    ClockLowTag,    x"01",    SSerialCommandAddr&PadT,    SSerialNumRegs,        x"10",    SSerialMPBitMask),
        (LEDTag,            x"00",    ClockLowTag,    x"01",    LEDAddr&PadT,                    LEDNumRegs,                x"00",    LEDMPBitMask),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,        x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (InMWidth0Tag, x"00",   NullTag,       x"00",   NullAddr&PadT,             x"00",               x"00",   x"0000000B") -- hide this tag here until we find a better way
        );
        
    
    constant PinDesc : PinDescType :=(
--     Base func  sec unit sec func      sec pin                                        -- external IDC 26
        IOPortTag & x"01" & QCountTag & QCountQAPin,                -- I/O 00    PIN 1        ENCODER QA 3
        IOPortTag & x"01" & QCountTag & SharedSDQCIdxPin,            -- I/O 01    PIN 2     ENCODER IDX3  
        IOPortTag & x"01" & QCountTag & QCountQBPin,             -- I/O 02    PIN 3    ENCODER QB 3
        IOPortTag & x"04" & QCountTag & QCountIDXPin,            -- I/O 03    PIN 4     ENCODER IDX4
        IOPortTag & x"00" & SSerialTag & SSerialRX0Pin,          -- I/O 04    PIN 5        SERIAL_RX    
        IOPortTag & x"04" & QCountTag & QCountQBPin,                -- I/O 05    PIN 6    ENCODER QB 4
        IOPortTag & x"00" & SSerialTag & SSerialTX0Pin,       -- I/O 06    PIN 7        SERIAL_TX
        IOPortTag & x"04" & QCountTag & QCountQAPin,                -- I/O 07    PIN 8     ENCODER QA 4
        IOPortTag & x"00" & QCountTag & QCountQAPin,              -- I/O 08    PIN 9     ENCODER QA 2
        IOPortTag & x"00" & QCountTag & QCountQBPin,             -- I/O 09    PIN 11    ENCODER QB 2
        IOPortTag & x"00" & QCountTag & SharedSDQCIdxPin,           -- I/O 10    PIN 13    ENCODER IDX2
        IOPortTag & x"03" & QCountTag & QCountIDXPin,          -- I/O 11    PIN 15    ENCODER IDX1
        IOPortTag & x"03" & QCountTag & QCountQBPin,              -- I/O 12    PIN 17    ENCODER QB 1
        IOPortTag & x"03" & QCountTag & QCountQAPin,                -- I/O 13    PIN 19    ENCODER QA 1
        IOPortTag & x"02" & QCountTag & QCountIDXPin,             -- I/O 14    PIN 21    ENCODER IDX0
        IOPortTag & x"02" & QCountTag & QCountQBPin,             -- I/O 15    PIN 23    ENCODER QB 0
        IOPortTag & x"02" & QCountTag & QCountQAPin,           -- I/O 16    PIN 25    ENCODER QA 0
        
                                                                            -- 26 HDR    -- IDC 26    
        IOPortTag & x"00" & PWMTag & PWMAOutPin,                -- I/O 17    PIN 1             Analog DAC PWM
        IOPortTag & x"00" & PWMTag & PWMBDirPin,                -- I/O 18   PIN 2            Analog DAC PWM_DIR
        IOPortTag & x"00" & StepGenTag & StepGenStepPin,    -- I/O 19   PIN 3            StepGenStep2 (1)
        IOPortTag & x"00" & StepGenTag & StepGenDirPin,       -- I/O 20    PIN 4            StepGenDir2 (1)
        IOPortTag & x"01" & StepGenTag & StepGenStepPin,    -- I/O 21    PIN 5           StepGenStep3  (2)  
        IOPortTag & x"01" & StepGenTag & StepGenDirPin,     -- I/O 22    PIN 6            StepGenDir3 (2)
        IOPortTag & x"02" & StepGenTag & StepGenStepPin,    -- I/O 23    PIN 7           StepGenStep4  (3)
        IOPortTag & x"02" & StepGenTag & StepGenDirPin,       -- I/O 24    PIN 8           StepGenDir4  (3)
        IOPortTag & x"03" & StepGenTag & StepGenStepPin,    -- I/O 25    PIN 9           StepGenStep5  (4)
        IOPortTag & x"03" & StepGenTag & StepGenDirPin,       -- I/O 26    PIN 11       StepGenDir5  (4)
        IOPortTag & x"00" & InMuxTag & InMuxAddr0Pin,       -- I/O 27    PIN 13       InMuxAddr0Pin
        IOPortTag & x"00" & InMuxTag & InMuxAddr1Pin,       -- I/O 28    PIN 15       InMuxAddr1Pin
        IOPortTag & x"00" & InMuxTag & InMuxAddr2Pin,        -- I/O 29    PIN 17       InMuxAddr2Pin
        IOPortTag & x"00" & InMuxTag & InMuxAddr3Pin,        -- I/O 30    PIN 19       InMuxAddr3Pin
        IOPortTag & x"00" & InMuxTag & InMuxAddr4Pin,          -- I/O 31    PIN 21       InMuxAddr4Pin
        IOPortTag & x"00" & InMuxTag & InMuxDataPin,          -- I/O 32    PIN 23       InMuxdata
        IOPortTag & x"17" & NullTag & NullPin,              -- I/O 33    PIN 25       free
        
                                                                            -- 26 HDR    -- IDC 26    
        IOPortTag & x"06" & NullTag & NullPin,                -- I/O 34    PIN 1            just GPIO_6
        IOPortTag & x"07" & NullTag & NullPin,                -- I/O 35   PIN 2            just GPIO_7
        IOPortTag & x"04" & NullTag & NullPin,           -- I/O 36   PIN 3           just GPIO_4
        IOPortTag & x"05" & NullTag & NullPin,                -- I/O 37    PIN 4            just GPIO_5
        IOPortTag & x"02" & NullTag & NullPin,              -- I/O 38    PIN 5           just GPIO_2 
        IOPortTag & x"03" & NullTag & NullPin,                -- I/O 39    PIN 6            just GPIO_3
        IOPortTag & x"00" & NullTag & NullPin,             -- I/O 40    PIN 7            just GPIO_0
        IOPortTag & x"01" & NullTag & NullPin,                -- I/O 41    PIN 8            just GPIO_1
        IOPortTag & x"08" & NullTag & NullPin,              -- I/O 42    PIN 9            just GPIO_8
        IOPortTag & x"09" & NullTag & NullPin,             -- I/O 43    PIN 11        just GPIO_9
        IOPortTag & x"10" & NullTag & NullPin,              -- I/O 44    PIN 13       just GPIO_10
        IOPortTag & x"11" & NullTag & NullPin,             -- I/O 45    PIN 15        just GPIO_11
        IOPortTag & x"12" & NullTag & NullPin,              -- I/O 46    PIN 17        just GPIO_12
        IOPortTag & x"13" & NullTag & NullPin,                -- I/O 47    PIN 19        just GPIO_13
        IOPortTag & x"14" & NullTag & NullPin,              -- I/O 48    PIN 21          just GPIO_14
        IOPortTag & x"15" & NullTag & NullPin,             -- I/O 49    PIN 23        just GPIO_15
        IOPortTag & x"16" & NullTag & NullPin,           -- I/O 50    PIN 25        just GPIO_16
        

        emptypin,emptypin,emptypin,emptypin,emptypin, -- added for IDROM v3
        emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,
                    
        emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,
        emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,
        emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,
        emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,
        emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,
        emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,
        emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,
        emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,
        emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,
        emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin,emptypin);

end package PIN_5ABOBx3D_51Copy;


I tried this too  
        IOPortTag & x"00" & InMTag & InMData0Pin,       -- I/O 27    PIN 13       InMuxAddr0Pin
        IOPortTag & x"00" & InMTag & InMData1Pin,       -- I/O 28    PIN 15       InMuxAddr1Pin
        IOPortTag & x"00" & InMTag & InMData2Pin,        -- I/O 29    PIN 17       InMuxAddr2Pin
        IOPortTag & x"00" & InMTag & InMData3Pin,        -- I/O 30    PIN 19       InMuxAddr3Pin
        IOPortTag & x"00" & InMTag & InMData4Pin,          -- I/O 31    PIN 21       InMuxAddr4Pin
        IOPortTag & x"00" & InMTag & InMData5Pin,          -- I/O 32    PIN 23       InMuxdata
 
  • Grotius
  • Grotius's Avatar
29 May 2024 20:45 - 29 May 2024 20:52
Replied by Grotius on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

@Andrew,

Equation 11 has k0 - ke as the denominator, so when the curvature of the shapes you're trying to join are equal, the equation breaks down

if Ke-Ko=0 then result s1=0. But you know that yourself too.
I really have to dive in that to say something usefull.
Deep respect you are doing and have achieved so far.

I see equatation 9 is interesting related to Ko & Ke.

I was planning to test your scurve algo tomorrow.

Here is some chatgpt info about your issue, i just copy paste a piece of the science paper into chatgpt.

 
   
  • PCW
  • PCW's Avatar
29 May 2024 20:24

Binary encoder - Sauter SK-501 turret - Strobe diagram of functions

Category: Advanced Configuration

A strobe signal is normally used to indicate that the
other signals are valid (so should be latched/captured)
  • Grotius
  • Grotius's Avatar
29 May 2024 20:20
Replied by Grotius on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

@RDA,

Volunteers can choose what they like. If you build one you like, you can use it with c++ under the hood.
I think you won't regret your effort. It's quite responsive.

@Grijalvap,

I have no idea what gui we should build. It's up to the designer, the one with the initiave to create something.
The c++ axis gui i build, is like a ugly copy of the axis gui.
For my personnaly i like to see a copycat gui of a excisting machine brand.

I have to be going on with the planner work. So designing and design's for gui's, windows, etc
has to be outsourced to volunteers.

Take some inspiration and build what you like. I will take care that c++ will work under the hood.
This c++ work is quite straighforward as we have nml command interface where almost all things can be done
to run the cnc.
Please use qt designer. A empty c++ project and start building the gui, sub windows etc.
For the opencascade gremlin viewer, add a frame.
For the gcode, also add a frame. So everything that is special will need a frame.

A offline fillet test, while program is running. Haha.









 
  • Murphy
  • Murphy
29 May 2024 20:15 - 30 May 2024 22:01
  • andrew2085
  • andrew2085
29 May 2024 20:02
Replied by andrew2085 on topic Trajectory Planner using Ruckig Lib

Trajectory Planner using Ruckig Lib

Category: General LinuxCNC Questions

I've been trying to test the first algorithm in that bi-clothoid paper but have had problems. Equation 11 has k0 - ke as the denominator, so when the curvature of the shapes you're trying to join are equal, the equation breaks down. I was able to use sagemath to just find the limits of the equations that break down and use those instead in those situations. The equation also just seems to give bogus values for certain inputs, negative s1 or s2 which don't make sense. It seems like only one of the possible solutions to equations 7, 8, 9, and 10 for s1, s2, c1, c2 are given in the paper, but I was able to figure out what was missing with sagemath. It almost seems like it's working, the second and third iteration close in on the solution, but the fourth overshoots and generates negative inputs. I'm not sure if I'm just missing something about the implementation of the algorithm in the paper, or if you are expected to do more than what is shown.

maybe a fresh set of eyes can help see what's wrong.

Here's the test program:
colab.research.google.com/drive/1Gh6oU7h...YF4zEgFD?usp=sharing

PDF:
www.researchgate.net/publication/3246504...h_speed_CNC_machines
  • greg23_78
  • greg23_78
29 May 2024 19:58

Binary encoder - Sauter SK-501 turret - Strobe diagram of functions

Category: Advanced Configuration

I have a sauter SK-501 turret.
I managed to find the function diagram, see below.

 

This browser does not support PDFs. Please download the PDF to view it: Download PDF


 

This browser does not support PDFs. Please download the PDF to view it: Download PDF



My questions are as follows:

- I haven't been able to find much about how the strobe pin works. What is it used for in an encoder?

-The diagram shows that the strobe signal is used to continue the tool change procedure.
Does courousel9.comp manage this on its own (does it have a signal out that I can use?), or do I need to use carousel.N.strobe to count the number of falling edges between my current tool and my next tool in my HAL file?

 
  • RoberCNC
  • RoberCNC
29 May 2024 19:52
Replied by RoberCNC on topic Run/Step Hold/Resume Buttons

Run/Step Hold/Resume Buttons

Category: HAL Examples

Ok, the first thing was difficult for me but it now seems to be functional, thank you very much COFHAL!!
The only thing I have observed is that with the physical button it only works when starting LinuxCNC, then it gives me a message "you must be in joint mode for home" while that does not happen with the MPG button, it makes home again and again every time I press it. pulse (totally lost with this).

On the other hand, I have continued with the physical power button, I have done exactly the same, but it gives me the error that I attached in the report, I am sure I am missing something, I am convinced that it cannot be so simple anymore.
  • PCW
  • PCW's Avatar
29 May 2024 19:47
Replied by PCW on topic Index homing Mesa 7i96s

Index homing Mesa 7i96s

Category: PnCConf Wizard

package PIN_7I96SD_51 is
    constant ModuleID : ModuleIDType :=(
        (HM2DPLLTag,            x"00",    ClockLowTag,        x"01",    HM2DPLLBaseRateAddr&PadT,        HM2DPLLNumRegs,            x"00",    HM2DPLLMPBitMask),
        (WatchDogTag,            x"00",    ClockLowTag,        x"01",    WatchDogTimeAddr&PadT,            WatchDogNumRegs,        x"00",    WatchDogMPBitMask),
        (IOPortTag,                x"00",    ClockLowTag,        x"03",    PortAddr&PadT,                    IOPortNumRegs,            x"00",    IOPortMPBitMask),
        (OutMTag,                x"00",    ClockLowTag,        x"01",    OutMDataAddr&PadT,                OutMNumRegs,            x"00",    OutMMPBitMask),
        (PWMTag,                x"00",    ClockHighTag,        x"01",    PWMValAddr&PadT,                PWMNumRegs,                x"00",    PWMMPBitMask),
        (StepGenTag,            x"02",    ClockLowTag,        x"05",    StepGenRateAddr&PadT,            StepGenNumRegs,            x"00",    StepGenMPBitMask),
        (QcountTag,                x"02",    ClockLowTag,        x"01",    QcounterAddr&PadT,                QCounterNumRegs,        x"00",    QCounterMPBitMask),
        (SSerialTag,            x"00",    ClockLowTag,        x"01",    SSerialCommandAddr&PadT,        SSerialNumRegs,            x"10",    SSerialMPBitMask),
        (XFrmrOutTag,            x"00",    ClockLowTag,        x"01",    XFrmrDataAddr&PadT,                XFrmrNumRegs,            x"00",    XFrmrMPBitMask ),
        (InMTag,                x"00",    ClockLowTag,        x"01",    InMControlAddr&PadT,            InMNumRegs,                x"00",    InMMPBitMask),
        (LEDTag,                x"00",    ClockLowTag,        x"01",    LEDAddr&PadT,                    LEDNumRegs,                x"00",    LEDMPBitMask),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (NullTag,                x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"00000000"),
        (InMWidth0Tag,            x"00",    NullTag,            x"00",    NullAddr&PadT,                    x"00",                    x"00",    x"0000000B") -- hide this tag here until we find a better way
        );
  • besriworld
  • besriworld
29 May 2024 19:39
Replied by besriworld on topic Index homing Mesa 7i96s

Index homing Mesa 7i96s

Category: PnCConf Wizard

(InMuxTag, x"00", ClockLowTag, x"00", InMuxControlAddr&PadT, InMuxNumRegs, x"00", InmuxMPBitMask),

I have this line. If I change this ClockLowTag, x"00", to ClockLowTag, x"01", the firmware cannot be compiled.
I'm looking at a pin file PIN_7I96SD_INMP1.vhd

(InMTag, x"00", ClockLowTag, x"02", InMControlAddr&PadT, InMNumRegs, x"00", InMMPBitMask),


This file differs from mine . There are different pin names and more pins used.
  • LCR
  • LCR
29 May 2024 19:31

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

I can read he first 3 DINs with
<pdoEntry idx="60FD" subIdx="00" bitLen="32" halPin="mydigitalin" halType="u32"/>
DIN 3 and 4 still do nothing.
Has anyone got the DINs 3/4 working?
  • PCW
  • PCW's Avatar
29 May 2024 19:28

Using Step/Dir in Position Mode to Drive Spindle

Category: General LinuxCNC Questions

This has been done but is a bit complex if you need to support spindle orientation.

Typically the spindle is run in velocity mode when used as a normal
spindle and then changed to position mode when orientation is desired
(changing to position mode requires a home to index operation)
  • Bassblaster
  • Bassblaster
29 May 2024 19:17

Using Step/Dir in Position Mode to Drive Spindle

Category: General LinuxCNC Questions

After I bought a cheap chinese servo/driver combo and testing it, I am wondering on the interface to use with Linuxcnc.
Has anybody tried to implement the spindle just as a "normal" axis, so as step/dir and in position mode? Everybody uses velocity mode as far as I can tell. Position mode would give me the advantage of spindle orientation without too much trouble, at least in my mind. Thanks for the help! Maybe it is not a good idea, but if not then why so?
  • PCW
  • PCW's Avatar
29 May 2024 18:48 - 29 May 2024 18:56

error finishing read and joint following error.

Category: General LinuxCNC Questions

Can you run this script to check the IRQ pinning and
kernel command line setting:

 

File Attachment:

File Name: checkmask_...5-29.txt
File Size:1 KB


Also since you have Intel MACs, have you disabled IRQ coalescing?

(man hm2_eth)

 
  • jg00163206
  • jg00163206's Avatar
29 May 2024 18:23

error finishing read and joint following error.

Category: General LinuxCNC Questions

******Dr. Emmit Brown***** "IT WORKS........IT WORKS! i finally invented something that works."

Greetings, i finally got a working configuration on my dell vostro desktop but I am getting error finishing read and then a joint 0 following error. even after i disabled all the virtualization options in bios and i did the irq balance according to this link forum.linuxcnc.org/38-general-linuxcnc-q...ead-and-irq-affinity .this is only an issue on this machine. it works perfectly on a duo core laptop but i can't get it stable on the the desktop. i did read a post that said if i update the rtkernel to something above 6.1 to something like 6.3 that it might fix that issue but i am unsure on how to do that exactly? Tried to compile a kernel according to the instructions on myheap.com but i keep getting a make error and i shouldn't have to compile a whole kernel just to update to a newer version do i? you guys on this site have been amazing already with helping me get this machine working and any help you can offer on this issue will be greatly appreciated.


I'm running a Dell Vosrto with an i5 3.4ghz cpu with dual intel Ethernet cards,  right now there is firepro gpu in it. i'm on linuxcnc 2.9.2 with 6.1.1 rtkernel.
Displaying 25486 - 25500 out of 26502 results.
Time to create page: 0.547 seconds
Powered by Kunena Forum