21
Mach4 General Discussion / Re: How to programing C# with Mach4
« on: March 01, 2016, 02:30:58 AM »
Those defines are part of the SDK. If you have access to SDK, the C-header files are located in subfolder "SKD/include".
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
How about a link to the examples. I can't find it.
Problem is I'd like the sounds back as well (and a few other things). But not sure I want to learn a new language. Too bad it isn't a config setting. Oh well.
I'm sure I'll figure it out. It seems a lot of "nice to have" stuff as per Mach3 will now be up to the user to program. So I guess I'll get on board and learn Lua.
3. ability to add .wav files and speech (like in mach3).
Sound, Sound, Sound... Mach 3 had the ability to use text to speech and wav files. It also would play a sound when selecting an axis and zeroing an axis.
Mach 4 seems to be mute.
local pFlag = mc.mcCntlGetLocalVarFlag(inst, hParam, mc.SV_P)
... checks if parameter P is available ...local pVal = mc.mcCntlGetLocalVar(inst, hParam, mc.SV_P)
... while this line retrieves the value as doubledaniellyal,
It's not a motion problem, it's an error in the displayed value of the acceleration expressed in G units. When you enter a value for acceleration on the motor tuning page, the box to the right of that should display the acceleration in units of G. If you enter 300 units/s/s and you are working in metric units (mm), the displayed value should be 300/9800=.0306. Nothing to do with pulses, steps per unit, maximum velocity, just a translation from units/s/s to G.
In M3, you can enter either G units or units/s/s but, obviously not both as they are not independent values.
G values are nice in that they give one a quick feel for the forces acting on the table and any vices, work, jigs mounted on it. An actual acceleration of .77 would require very high forces be applied by the motors.
Peter
Sorry for dragging up an old problem but I'm still seeing wrong acceleration values in the motor setup page when setting up M4 for metric. I'm using the latest M4 V2214 and Darwin 2209. Selected metric for both machine setup units and units mode.
Peter
Thank you Steve & Brian.
Tweakie.