Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: rcaffin on October 19, 2011, 03:54:06 AM

Title: Variables and 1024.set boxes/DROs
Post by: rcaffin 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
Title: Re: Variables and 1024.set boxes/DROs
Post by: BR549 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
Title: Re: Variables and 1024.set boxes/DROs
Post by: rcaffin 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
Title: Re: Variables and 1024.set boxes/DROs
Post by: BR549 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