Advanced Search

Search Results (Searched for: )

  • Aciera
  • Aciera's Avatar
18 Sep 2024 17:49 - 18 Sep 2024 17:50
Replied by Aciera on topic Error messages when trying to run GCode

Error messages when trying to run GCode

Category: Installing LinuxCNC

Can't see Joint_3 but for the Home_All you need to define a HOME_SEQUENCE number for every joint you have configured.
  • Lcvette
  • Lcvette's Avatar
18 Sep 2024 17:39

Probe Basic is splitting into Stable and Develop apt branch

Category: QtPyVCP

Probe Basic Develop version will become the stable release soon before 9-23-2024. this means that the new stable branch and the develop branch will have a short window of overlap until new changes are made and added to the repository. if you are still on the "current stable" version, this means that the next update to probe basic after the change will install what is currently the "Develop" version and the old version will no longer be available for installation via apt. old debs can still be used for installation, but we strongly encourage you to make the change as there are important update made to imporve functionality and add features. the new documentation we have added to the ProbeBasic website will be geared towards the most recent version. We gave everyone several months to make the change that pops up on gui startup update page and hope you have made the necessary updates. if not, the new documentation would be an easy way to accomplish this by reviewing the "Machine Configuration (ini, hal, files)"section showing what needs to be changed over. running apt update in develop mode will supply a new folder in the linuxcnc config folder that has the necessary updated files for the current develp version to work. please see the link below for guidance in transitioning into the latest release!


kcjengr.github.io/probe_basic/machine_config.html
  • Lcvette
  • Lcvette's Avatar
18 Sep 2024 17:27

Probe Basic Documentation and Installation... Start Here!!!

Category: QtPyVCP

Tommy, i have moderator privilidges in here and have already unpinned what needed to come down, this should remain indefinitely to give users a place to easily navigate to for the docs i think, my intention was to leave it here.  the old post was a nightmare to edit with all of the images and formatting that i had applied that broke everytime i tried to edit so having an offsite location with easier to edit docs being built from within the buildbot for probe basic seems like the better solution.

thanks,

Chris
  • Lcvette
  • Lcvette's Avatar
18 Sep 2024 17:19
Replied by Lcvette on topic Probe Basic subroutine parameter - #5210?

Probe Basic subroutine parameter - #5210?

Category: QtPyVCP

removed 5210 from subs, i think it was a remnant from a long time ago and you are correct it should be removed, thanks! subs on latest commit will reflect the change!
  • Lcvette
  • Lcvette's Avatar
18 Sep 2024 17:04
Replied by Lcvette on topic Vertical Screen with ProbeBasic?

Vertical Screen with ProbeBasic?

Category: QtPyVCP

AWESOME!! want to share and see about possibly adding to the PB repository as an option?
  • Lcvette
  • Lcvette's Avatar
18 Sep 2024 17:01

Probe Basic Documentation and Installation... Start Here!!!

Category: QtPyVCP

We have been working on the Probe Basic documentation and have it up in one location now so it will be easier to use for installations, user interface use and setup and Machine configuration instruction and guide.  It is updated with the currently latest of everything (9/18/24).  Please have a visit and leave your impressions and replies regarding what is there.  We know everyone would like MORE documentation and it is being worked on albeit slowly when time becomes available, but if you have input on what we have recently added which seems to be where the bulk of questions come from please let us know! including typos, mispellings, hard to understand sentences etc.. my eyes are crossed and i have pushed maybe a hundred or so commits the last 2 days trying to get things cleaned up so there are bound to be some booboo's..  /o\

Thanks all!

PROBE BASIC DOCUMENTATION - CLICK HERE!
  • AndyDM01
  • AndyDM01
18 Sep 2024 16:05

stuff you might want to know when you start with ethercat drivers

Category: EtherCAT

please feel free to add more information after this
  • AndyDM01
  • AndyDM01
18 Sep 2024 16:04

stuff you might want to know when you start with ethercat drivers

Category: EtherCAT

So I am starting this topic because I am 300% sure I fucked up somewhere in the start of the installation of linuxcnc ethercat from repositories....
first advice would be to check this topic untill the last grain of information because there might be something there that will save you a lot of time trying to figure out why your project doesn't work.... 
first tip i can give after that one would be .... 
Ethercat only works when everything is neatly organized and everything is spelled correctly and all stuff is called the same
Ethercat also likes perfect order in stuff, you can not to make disorder in the way ethercat READS stuff and WRITES stuff...
look at the examples how in the XML folder the read/write is written in the start of the XML
  • Aciera
  • Aciera's Avatar
18 Sep 2024 15:51

SCARA Vismach - Gcode error "exceed C's positive limit"

Category: General LinuxCNC Questions

Problem is that the kinematic model in scarakins.c is for a scara with 3 angular joints and a linear joint and also two angular joints that move the table. You could easily remove those last two (ie j4/a and j5/b) from the kinematic as they are just looped through. J3/c however is part of the calculation so to remove that you will need to have a closer look at the forward and inverse kinematic model.
/* joint[0], joint[1] and joint[3] are in degrees and joint[2] is in length units */
static
int scaraKinematicsForward(const double * joint,
                      EmcPose * world,
                      const KINEMATICS_FORWARD_FLAGS * fflags,
                      KINEMATICS_INVERSE_FLAGS * iflags)
{
    double a0, a1, a3;
    double x, y, z, c;

/* convert joint angles to radians for sin() and cos() */

    a0 = joint[0] * ( PM_PI / 180 );
    a1 = joint[1] * ( PM_PI / 180 );
    a3 = joint[3] * ( PM_PI / 180 );
/* convert angles into world coords */

    a1 = a1 + a0;
    a3 = a3 + a1;

    x = D2*cos(a0) + D4*cos(a1) + D6*cos(a3);
    y = D2*sin(a0) + D4*sin(a1) + D6*sin(a3);
    z = D1 + D3 - joint[2] - D5;
    c = a3;

    *iflags = 0;
    if (joint[1] < 90)
        *iflags = 1;

    world->tran.x = x;
    world->tran.y = y;
    world->tran.z = z;
    world->c = c * 180 / PM_PI;

    world->a = joint[4];
    world->b = joint[5];

    return (0);
} //scaraKinematicsForward()

static int scaraKinematicsInverse(const EmcPose * world,
                                  double * joint,
                                  const KINEMATICS_INVERSE_FLAGS * iflags,
                                  KINEMATICS_FORWARD_FLAGS * fflags)
{
    double a3;
    double q0, q1;
    double xt, yt, rsq, cc;
    double x, y, z, c;

    x = world->tran.x;
    y = world->tran.y;
    z = world->tran.z;
    c = world->c;

    /* convert degrees to radians */
    a3 = c * ( PM_PI / 180 );

    /* center of end effector (correct for D6) */
    xt = x - D6*cos(a3);
    yt = y - D6*sin(a3);

    /* horizontal distance (squared) from end effector centerline
        to main column centerline */
    rsq = xt*xt + yt*yt;
    /* joint 1 angle needed to make arm length match sqrt(rsq) */
    cc = (rsq - D2*D2 - D4*D4) / (2*D2*D4);
    if(cc < -1) cc = -1;
    if(cc > 1) cc = 1;
    q1 = acos(cc);

    if (*iflags)
        q1 = -q1;

    /* angle to end effector */
    q0 = atan2(yt, xt);

    /* end effector coords in inner arm coord system */
    xt = D2 + D4*cos(q1);
    yt = D4*sin(q1);

    /* inner arm angle */
    q0 = q0 - atan2(yt, xt);

    /* q0 and q1 are still in radians. convert them to degrees */
    q0 = q0 * (180 / PM_PI);
    q1 = q1 * (180 / PM_PI);

    joint[0] = q0;
    joint[1] = q1;
    joint[2] = D1 + D3 - D5 - z;
    joint[3] = c - ( q0 + q1);
    joint[4] = world->a;
    joint[5] = world->b;

    *fflags = 0;

    return (0);
} // scaraKinematicsInverse()
  • tommylight
  • tommylight's Avatar
18 Sep 2024 15:37

How to setup 2 PCI Parallel Ports on LinuxCNC 2.8.4?

Category: Basic Configuration

Maybe I was miss reading your posts, and you've resolved your issue and loading the parport_pc module as a kernel mod at start up was the solution?

+1
Hence the "thank you" under the post.
  • Todd Zuercher
  • Todd Zuercher's Avatar
18 Sep 2024 15:25
Replied by Todd Zuercher on topic How to setup 2 PCI Parallel Ports on LinuxCNC 2.8.4?

How to setup 2 PCI Parallel Ports on LinuxCNC 2.8.4?

Category: Basic Configuration

Maybe I was miss reading your posts, and you've resolved your issue and loading the parport_pc module as a kernel mod at start up was the solution?
  • Todd Zuercher
  • Todd Zuercher's Avatar
18 Sep 2024 14:46
Replied by Todd Zuercher on topic How to setup 2 PCI Parallel Ports on LinuxCNC 2.8.4?

How to setup 2 PCI Parallel Ports on LinuxCNC 2.8.4?

Category: Basic Configuration

What advantage would there be to be to have "the ports to be active when the PC boots up instead of when LinuxCNC starts"? If Linuxcnc isn't running then it can't act upon any input or control any output.

I have never even tried to use the "parport_pc" module. I wonder if this is causing some kind of conflict?

Lets try to narrow down exactly what your problem is. So, you are trying to migrate from 2.7 to a newer version? Are you wanting to go to the current 2.9.3? (Just wondered why go to 2.8 vs 2.9?) There are some pretty significant configuration changes required when moving from 2.7 to version 2.8 or greater. Are you copying your old config files to the new version or are you starting fresh creating a new config in the new version. I wonder if your config configuration is running afoul in the auto config conversion and if those are the real issues not anything to actually do with the parallel port.

I have to be honest none of my machines that use parallel ports have been updated beyond version 2.7. Mostly because my my machine configurations are complex enough to not work correctly with the automatic config conversion script that is supposed to update the configuration, and issues with finding new real time kernels that work well with the existing PC running the machine. That said, I just downloaded the current Linuxcnc iso and booted it live on the machine's PC (latency is pretty bad with the stock Preempt-RT kernel), opened the Linuxcnc parallel port test app and the IO to that port worked correctly. Then I copied over the machine's config files, and tried to run it. It took me a few tries to correct the config issues that the conversion script either missed or messed up, but I was able to get the config running and working correctly (didn't even need to change any of the 3 parallel port addresses or settings.) I was able to jog the machine and the inputs are working even with the bad latency.

In conclusion, I really don't know what might be giving you problems, unless it is a problem with what you are doing with the parport_pc module, an issue with 2.7-2.8 config conversion, or a problem with what ever kernel you are trying to use. (I know at some point between 2.7 and 2.9 32-bit kernel support was dropped.)
  • Mae22
  • Mae22
18 Sep 2024 14:31
Replied by Mae22 on topic Error messages when trying to run GCode

Error messages when trying to run GCode

Category: Installing LinuxCNC

Hi have added the missing text and also sequenced the axis for homing, dont know if its correct though or whether i have to add anything else either in here or the HAL so could you have a quick look for me. the machine is still sending error messages and still no home all button
Many thanks for your help
  • Mae22
  • Mae22
18 Sep 2024 14:28
Replied by Mae22 on topic Error messages when trying to run GCode

Error messages when trying to run GCode

Category: Installing LinuxCNC

Hi i have done the sequence as in images but still no "home all" button lol, every thing i try brings up an error message and i know the axis are homed but screen error messages insist they are not, think i have a ghost 
Displaying 23326 - 23339 out of 23339 results.
Time to create page: 0.721 seconds
Powered by Kunena Forum