Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: eschx on August 09, 2018, 11:17:26 PM
-
Hi, When setting up Mach4 in mixed mode
Machine Setup Units = "Inch" (this is how I originally set up and dialed in my mill)
Units Mode = "Metric" (this is how I normally program and work)
When I click an Axis on DRO I get non-deterministic behavior on either direct Type-in values or when using AutoCalc
example: click into X DRO and type: 2 <ENTER>,
/sometimes/ I get 2.0 as expected, but other times I get 1290.32 (If I then just select the same axis again only hit enter, -> 1248694.2768 mm! )
I have tried this in BOTH 3804 and 3805, but both have same result. (Also, exists with fresh profile)
Can someone verify and hopefully fix it?!
(I guess i will try to go back to 3390 for now as this is the last version that I know did not have this issue, but was looking forward to a few other fixes (like keyboard jogging), so crossing my fingers for a quick fix or a hack I can do on my side to fix it ;D )
(http://cryptnet1.net/files/Mach4_3805_DROBug.png)
-
Hi.
I use 3804 and have not had any issues. I use mm units for set up and in general use, whether that changes something, although I suspect not.
Do you use either 'keypad' or 'keypad extended' ?
I have keypad extended on all my axis DROs. To enable 'keypad' or 'keypad extended' or revert to 'in place' do so from Edit Screen per attached.
Craig
-
Thanks Joe! (Will have to play with that extended keyboard bit).
I wound up just redoing my machine setup in MM (so both settings could be the same), and manually converting my tool table from inch values to metric. It got me up and running, without going back in time... Just need to make sure I don't make a bozo converting from my IN height gage on tool length entry!
-
Hi,
if using sin, cos and tan be aware that the argument is in radians not degrees. To my knowledge there is no inverse for the trig functions.
Seems a bit weird that should be the case, but if there is an inverse I cant find it.
Craig.
-
math.rad(degrees) converts to radians
math.deg(radians) converts to degrees
Here are all the math functions: https://www.tutorialspoint.com/lua/lua_math_library.htm
-
Hi,
I'm more than happy with radians......its just you have to know that is what the keypad
expects.
Craig