Hello Guest it is April 18, 2024, 05:06:30 AM

Author Topic: Variables and 1024.set boxes/DROs  (Read 2791 times)

0 Members and 1 Guest are viewing this topic.

Offline rcaffin

*
  •  1,054 1,054
    • View Profile
Variables and 1024.set boxes/DROs
« on: October 19, 2011, 03:54:06 AM »
I am sure there is a listing somewhere ... but i can't find it.
On the standard M3M screen there are 4 axis boxes, for X, Y, Z & A
My mill does not have an A axis, so that box/DRO is not used.

I would like to use the A box/DRO to display a loop counter to tell me how far the program has got.
It sticks in my memory that assigning a value to some high variable will result in that appearing on the screen in that box - yes?
Or will the contents of the A box/DRO get overwritten by the sysrtem immediately?

Is there a listing for the standard 1024.set screen of what variables are used?

Cheers

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Variables and 1024.set boxes/DROs
« Reply #1 on: October 19, 2011, 11:42:23 AM »
HIYA R. I think you are looking for Var # 15095 that will update the A axis DRO.

BUT what you will find is you have to use the inverse of the value. IF you want to put +11111 in the DRO you have to SetVar(15095,-11111).


NOW for a piece of FREE advice I would just change the DRO from the a axis dro to a user dro.  Any of the screen designers can do it very easily.  Once you start playing in the Paramters side of MACH you can easliy corrupt MACH in a way that you will NEVER be able to find the problem OR correct it. WITHOUT having to actually reload MACH3 and start ALL over again with a NEW MXL.

There are about 20,000 things in the Parmater side tha you can mess up accidently(;-)

(;-) TP
« Last Edit: October 19, 2011, 11:58:15 AM by BR549 »

Offline rcaffin

*
  •  1,054 1,054
    • View Profile
Re: Variables and 1024.set boxes/DROs
« Reply #2 on: October 19, 2011, 04:49:49 PM »
HIYA R. I think you are looking for Var # 15095 that will update the A axis DRO.
Thanks. Now, where can I find a listing of those? I KNOW I saw it somewhere!
(And I had the list, but a HDD crash lost that data...)

Quote
BUT what you will find is you have to use the inverse of the value. IF you want to put +11111 in the DRO you have to SetVar(15095,-11111).
WIERD! REALLY WIERD!

Quote
NOW for a piece of FREE advice I would just change the DRO from the a axis dro to a user dro.  Any of the screen designers can do it very easily.  Once you start playing in the Paramters side of MACH you can easliy corrupt MACH in a way that you will NEVER be able to find the problem OR correct it. WITHOUT having to actually reload MACH3 and start ALL over again with a NEW MXL.
And that is a very good point. Thanks, appreciated.
Sigh - means I have to go and learn Screen4 ...

Cheers
Roger

Offline BR549

*
  •  6,965 6,965
    • View Profile
Re: Variables and 1024.set boxes/DROs
« Reply #3 on: October 19, 2011, 04:56:53 PM »
I personally would not use Scream4 (;-) I would use MachScreen.

That I know of there is NO published list of all the internal Vars from 0-20,000. There is one in the manual that kinda gives you the G59(1-255) offsets but as to the actual OTHER values I don't know of any.

I would LOVE to see one done as it would be extremely handy at times AND very deadly at other times (;-). THAT may be the reason there IS NONE.

I think there was a PROPOSED set of variables for the new Mach4??????


(;-) TP
« Last Edit: October 19, 2011, 05:04:51 PM by BR549 »