Hello Guest it is April 25, 2019, 08:33:40 PM

Author Topic: Missing Documentation of mcCntlGetPoundVar magic numbers...  (Read 197 times)

0 Members and 1 Guest are viewing this topic.

Re: Missing Documentation of mcCntlGetPoundVar magic numbers...
« Reply #10 on: April 16, 2019, 06:43:13 PM »
Hi,
on my laptop I have been experimenting trying to find the pound variables associated with the different
probe channels. I have found as Allan has, namely that there is just the one set of pound variables
which are set with either g31, g31.1, g31.2 or g31.3.

I assumed it was because my laptop uses the Sim plugin. I have yet to try it at my machine. I am now thinking
however that Allan is right, there IS only one set of pound variables and its up to your code to save each set
of data and ascribe it to the correct probe channel.

Craig
My wife left with my best friend...
     and I miss him!
Re: Missing Documentation of mcCntlGetPoundVar magic numbers...
« Reply #11 on: April 17, 2019, 01:31:34 AM »
Thank you for your effort.
That is a pity, because if you have a double pound, you can not distinguish them.
Only solution then is, to do the touching two times, and react on the different signals hoping the touch spot keeps the same.

Re: Missing Documentation of mcCntlGetPoundVar magic numbers...
« Reply #12 on: April 17, 2019, 01:50:30 AM »
Hi,
you can only issue on g31.x at a time. Therefore if you probed your surface plate with a g31.2, the data from the
probe event could be stored before probing with a g31.1 for instance. That data would then be stored also but distinctly
from the previous g31.2.

Craig
My wife left with my best friend...
     and I miss him!
Re: Missing Documentation of mcCntlGetPoundVar magic numbers...
« Reply #13 on: April 17, 2019, 04:45:10 AM »
Craig's approach  is absolutely right.

Allan
Re: Missing Documentation of mcCntlGetPoundVar magic numbers...
« Reply #14 on: April 17, 2019, 10:08:11 AM »
I agree with Craig and Allan.
Since you can only use 1 probe move at a time there is no reason to have multiple #VARS to store each individual probe strike.
After the prove strike, take the value and store it in another register.
Chad Byrd
Re: Missing Documentation of mcCntlGetPoundVar magic numbers...
« Reply #15 on: April 18, 2019, 02:17:55 AM »
Tnx all, will find a solution.
Re: Missing Documentation of mcCntlGetPoundVar magic numbers...
« Reply #16 on: April 18, 2019, 06:15:53 AM »
Hi,
have we not outlined a solution?

Craig
My wife left with my best friend...
     and I miss him!
Re: Missing Documentation of mcCntlGetPoundVar magic numbers...
« Reply #17 on: April 18, 2019, 06:27:42 AM »
Hi Craig,

maybe this is a missunderstanding due to my bad english translation, but I want to point out my thank you to all of you and will implement a solution based on your ideas.

Offline smurph

*
  • *
  •  1,079 1,079
  • "That there... that's an RV."
    • View Profile
Re: Missing Documentation of mcCntlGetPoundVar magic numbers...
« Reply #18 on: April 22, 2019, 11:40:22 PM »
Allan hit the nail on the head.  All of the probes, 31, 31.1, 31.2, and 31.3 will write to those variables.  The 4 probe moves are there so that a tool setting probe can be differentiated from a surface probe, etc...

Steve