. .

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. Hi,

    Has anyone had any luck getting Mach3 with a CSMIO/IP-M controller to work with a probe properly?

    The probe I'm using works fine, G31 and CS Lab's M31 macro (http://en.cs-lab.eu/technical-suppor...native-to-g31/) both work in that both cause my CNC router to move until either the probe triggers or the specified distance is reached.

    What does not work is, variables 2000-2002 (which are supposed to contain the X, Y & Z coordinates of the probe event) do not update properly. For some reason, variable 2000 updates consistently with the Y coordinate (when it is supposed to contain the X coordinate), but variables 2001 and 2002 either contain zero or nonsensical values.

    Mach3 and the CSMIO/IP-M firmware are both up-to-date (R3.043.066 and V2.91 respectively). I have the probe tip diameter set on Mach3's Settings screen.

    Ideas/suggestions much appreciated.

    Matt.
    Last edited by matt-b2; 01-12-2017 at 12:19 AM.

  2. #2
    I'm using a CSMIO-IP/M and Mach3 very successfully and probing works beautifully. However, I had a lot of problems when I first started. One secret (well, not so secret as it's described quite a lot but only if you know where to look!) is to upgrade Mach3 to an earlier version. I can't remember now if I'm using .028 or .043. There is s problem with the way that the CSMIO uses some undocumented features of Mach3 which were "fixed" in later versions and promptly broke CSMIO probing.

    I have a set of three macros to do simple Z touch-off, touch-off portable plate plus touch-off fixed plate for first tool in multiple operations, and touch-off fixed plate for subsequent operations. Happy to pass these on, although there's nothing very original in them (all based on other people's work but tweaked to use CSMIO firmware probing). They work fine when used during m6 tool change operations, which is where I first started seeing issues myself.

    Because of these problems, you have to be careful if you want to use add-on screensets which contain probing macros. I've modified the standard 1024 screenset to add buttons for my macros, but I haven't done anything for XY probing on a regular basis. However, I did use variations of my Z touch-off macro for both X and Y while I was setting up the machine and I know that probing is fine in those axes as well.

    You might find this interesting.
    Last edited by Neale; 01-12-2017 at 11:06 AM.

  3. Hi Neale,

    Thanks for your post. I'll try downgrading to .028 - I think I was running .043 before I upgraded to the latest version. Failing that, yeah, I'm not particularly happy with my Mach3+CSMIO set up. This probe issue is just another one to add to the list. Maybe it is time to sort out a new control system - Kind of disruptive though.

    Cheers,
    Matt.

  4. #4
    I've been happy with my setup, I have to say - until the last few days. I've had some random "lost connection to CSMIO" events, although fortunately never while I have been cutting. It's a pain because I seem to have to stop and restart Mach3 to reset things, then need to reload gcode, rehome, recheck work zero, etc. I'm slowly drifting towards the UC300ETH plus decent BOB. At least that would mean software which is current and supported.

    I've just checked - I believe that I am running .028, which probably means that I saw problems with .043. Might be worth trying, at least as a stop-gap until you find a plan B. I would have gone LinuxCNC, which I ran with my previous router, except that at the time I had to make a decision, LCNC did not support master+slave axes and the choice of motion control hardware seemed over-complex and only available from the US. I think that both these things have now changed.

  5. #5
    When you use the M31 macro, is it displaying the touch coordinates in the status bar?If it is, then GetVar is working, as the M31 uses GetVar() get the touch point, then writes it to the status bar.
    Gerry
    ______________________________________________
    UCCNC 2022 Screenset

    Mach3 2010 Screenset

    JointCAM - CAM for Woodworking Joints

  6. Yes, values are being displayed, they're just not the right values with the exception that the Y coordinate is correct, but stored in Variable 2000 instead of 2001. I get the same problem whether using G31 or M31 and whether interrogating the variables using GetVar or the variable display window (can't remember its proper name).

  7. #7
    Quote Originally Posted by matt-b2 View Post
    Hi,

    Has anyone had any luck getting Mach3 with a CSMIO/IP-M controller to work with a probe properly?

    The probe I'm using works fine, G31 and CS Lab's M31 macro (http://en.cs-lab.eu/technical-suppor...native-to-g31/) both work in that both cause my CNC router to move until either the probe triggers or the specified distance is reached.

    What does not work is, variables 2000-2002 (which are supposed to contain the X, Y & Z coordinates of the probe event) do not update properly. For some reason, variable 2000 updates consistently with the Y coordinate (when it is supposed to contain the X coordinate), but variables 2001 and 2002 either contain zero or nonsensical values.

    Mach3 and the CSMIO/IP-M firmware are both up-to-date (R3.043.066 and V2.91 respectively). I have the probe tip diameter set on Mach3's Settings screen.

    Ideas/suggestions much appreciated.

    Matt.
    Dear Matt,

    I use also the CNC controller CSMIO IP-M together with Mach 3 in the newest version and the last CSMIO firmware.
    For tool probing I got always the Y value for var(2002). I contacted CS-Lab support for help but the answer was that I do not understand the macro.
    I was shure to use the macro right and tried everything to find the fault. So I checked the connection of the motors and the channels.
    That was the solution and I changed my wiring.
    I connected the x-axis to Channel 0, the y-axis to channel 1 and the z-axis to channel 3. After that I tried the tool length measurement again and got the
    right values.

    I hope this information will help you.

    Phil

  8. #8
    Yes XYZ is channel 0-1-2 and so on.

    I have my probe working well now - the secret is to allow some time in the macro so pad it with "Sleep(100)" lines after a DRO update etc also it ONLY works with soft limits turned off - i just made the macro turn limits off then on when the move was made.

    Its going well now.

  9. #9
    Yes, that's a bit of a gotcha - that "sleep" after a DRO update is absolutely vital, as is the "while moving" loop so you wait for the machine to reach target position before carrying out the next action. However, my version works fine with soft limits, so not sure what's going on there.

  10. #10
    Yes, its only a 0.1s wait and it needs going after every DRO update, i also padded it after every DRO read, plus the totally essential while-ismoving loop on ANY call that creates movement of an axis.

    Doing this likely added 5s to the macro run time but thats no bother if its what it takes to make it work 100%

    The soft limits thing i'm going to play with again - it seems very version dependant so now I have the timings sorted, ill try leaving it on and see what occurs. CSLABS said they had never heard of it BUT they always run v022 so that may be why.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. csmio/ip-m z probe
    By charlieuk in forum CS-Lab (CSMIO)
    Replies: 0
    Last Post: 16-09-2017, 09:49 AM
  2. mach3 csmio ips errors
    By Web Goblin in forum Artsoft Mach (3 & 4)
    Replies: 7
    Last Post: 07-01-2017, 10:47 PM
  3. Mach3 oem buttons with CSMIO-IP/S
    By Web Goblin in forum Artsoft Mach (3 & 4)
    Replies: 2
    Last Post: 07-11-2016, 07:14 AM
  4. CSMIO-M Tool Probe Connection - +24v to earth
    By Noplace in forum CS-Lab (CSMIO)
    Replies: 1
    Last Post: 10-04-2016, 09:17 PM
  5. Weird problem - stepped/staged deceleration on Huanyang 2.2kw Spindle
    By glynster in forum Spindles & Drive Motors
    Replies: 0
    Last Post: 25-01-2016, 01:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •