Hello Guest it is March 28, 2024, 01:33:29 PM

Author Topic: New guy frustration LOL  (Read 5879 times)

0 Members and 1 Guest are viewing this topic.

Re: New guy frustration LOL
« Reply #20 on: April 03, 2019, 09:11:32 AM »
Quote
His assumption that all GetVar(NNNN) functions are NOT supported is probably NOT CORRECT

I have several thousand people using my 2010 screenset, and a large number of them with Chinese motion controllers find that the GetVAR is often not supported by most chinese controllers. I do not know which ones specifically do or do not.

ZProbePos = GetOEMDro(802)


Should work with all of them.

If it works, there's no need to change it. If it doesn't, then make the switch.
I am back to "Not working", so I will make the edit today. I don't understand the code...but I am getting more comfortable with the editing part. :) Thank you sir.
Re: New guy frustration LOL
« Reply #21 on: April 03, 2019, 09:43:03 AM »
I made the change to the script as Gerry said, and it works now, Thanks again Gerry. I will keep all posted on my progress. I appreciate all inputs from the forum so far. This is my first post, I don't think it will be my last.
Gerry. On your signature line, you have listed a 2010 screenset. What is that?

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: New guy frustration LOL
« Reply #22 on: April 03, 2019, 10:15:41 AM »
Quote
His assumption that all GetVar(NNNN) functions are NOT supported is probably NOT CORRECT.)

Or maybe it is.  >:D




Quote
Gerry. On your signature line, you have listed a 2010 screenset. What is that?

It's a different screen for Mach3. It also comes with macros that automatically zero the tool after a tool change. Click the link.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: New guy frustration LOL
« Reply #23 on: April 03, 2019, 10:18:40 AM »




Quote
Gerry. On your signature line, you have listed a 2010 screenset. What is that?

It's a different screen for Mach3. It also comes with macros that automatically zero the tool after a tool change. Click the link.
[/quote]

Ok cool. Is that something that will work with my import unit? (:( )

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: New guy frustration LOL
« Reply #24 on: April 03, 2019, 10:34:15 AM »
I can't guarantee that it will, but I do have a set of alternate macros without the GetVAR() that seem to work for most people with Chinese controllers. They are available for download separately on my site.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: New guy frustration LOL
« Reply #25 on: April 03, 2019, 10:35:34 AM »
Where in Michigan are you? I'm in the northern Detroit suburbs.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: New guy frustration LOL
« Reply #26 on: April 03, 2019, 11:30:07 AM »
Where in Michigan are you? I'm in the northern Detroit suburbs.

Oh  great!!
I am just north of Lansing about 15mile. near St.Johns

Offline reuelt

*
  •  520 520
    • View Profile
Re: New guy frustration LOL
« Reply #27 on: April 03, 2019, 03:25:26 PM »
Quote
His assumption that all GetVar(NNNN) functions are NOT supported is probably NOT CORRECT.)

Or maybe it is.  >:D


Gerry,
Fred had a happy ending because he found "a USERDRO conflict" and not  "GetVAR() not supported by Chinese Motion Controllers"
Quote:-
"As I wanted to give you as many informations as possible including a copy of the scripts involved, I found the problem !
It was a USERDRO conflict.
the script of the "set variable position" is using the same default USERDRO of the VFD monitor:
x = GetABSPosition(0)
y = GetABSPosition(1)
z = GetABSPosition(2)
SetUserDRO 1000, x
SetUserDRO 1001, y
SetUserDRO 1002, z
Fred.
Endquote/
(https://www.machsupport.com/forum/index.php?topic=39662.msg266084#msg266084)

So if any two programmers was trying to read and write to the same "GLOBAL VARIABLES", there will be a problem.

Reuel


"the gift of God is eternal life through Jesus Christ our Lord"
Re: New guy frustration LOL
« Reply #28 on: April 29, 2019, 05:44:45 PM »
I also was disappointed with my STB5100 card, I tried following the tips of this topic but I was all messed up, I do not understand programming, I used my machine to do the pc with autoleveller and mach3 through the parallel port and XP,
now using windows10 and usb card did not work, please help me with a macro, that can work, until I got the probe down but it does not save anything on the mach3 and when it goes to cut the pcb it's like there is no autoleveller. any point on the board shows the same value as Z
Re: New guy frustration LOL
« Reply #29 on: April 30, 2019, 03:16:10 AM »
Hi,
I use Autoleveller and find it works well. What version are you using AutlevellerAl or AutolevellerAE.
My preference is the AE version, it produces a file of probe data and THEN 'autolevells' the PCB.
It is plainly obvious that the probe data is being incorporated into your file.

Lots of Chinese made controllers do not handle probing at all well. It may be that your board is apparently
probing but not in fact producing any valid data. The AE version of Autoleveller allows you to inspect the probe data
and draws a 3D representation of the probed surface,  so you get a visual indication of the results.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'