Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2014, 06:58:58 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
  Show Posts
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 »
1  Mach Discussion / Mach4 General Discussion / Re: Mach 4 Bug Reports on: November 21, 2014, 06:48:35 AM
Terry if you grab a corner of the box, resize & reposition, on closing all gets stored in the hidden files.

and do replace my user name with yours,  Wink
2  Mach Discussion / Mach4 General Discussion / Re: Mach 4 Bug Reports on: November 20, 2014, 10:22:06 PM
Might just be a Sim Plugin issue then, I'll check tomorrow on a couple of machines.
3  Mach Discussion / Mach4 General Discussion / Re: Mach 4 Bug Reports on: November 20, 2014, 09:25:43 PM
Interesting, I knew there was some issues with metric, but other than running a metric program in inch setup units. Had not pushed it. Peter reading your results I tried creating a new profile all in metric and use my screen set. For the most part it just does not work. All kinds of issues moving an axis and getting poor results. Can't understand how a screen set could cause issues with movement. But there is something amiss with the metric mode. Went back to the default screen worked better but could not use MDI or run a program but jogging worked. This was version 2114

When i worked everyday I programmed 99% of the time in metric but now that I'm retired and putzing around I use inch 99% of the time.
4  Mach Discussion / Mach4 General Discussion / Re: Mach4 Spindle Control and Tuning ?s on: November 19, 2014, 08:04:39 PM
I did write a function to get one of these to work with mach4, thou it says PWM it uses what i'd call PWTiming or PWDuty  as the input signal duration sets the 0-10volt output.
Odd creature but it worked pretty well.

Kele-PWA-1A

http://www.ebay.com/itm/Kele-PWA-1A-Pulse-Tri-State-to-Analog-Transducer-/271312675507?pt=BI_Control_Systems_PLCs&hash=item3f2b7ee2b3
5  Mach Discussion / Mach4 General Discussion / Re: Screen Set Ideas on: November 18, 2014, 07:23:26 AM
liked the feature so much I created a toggle button to turn it on and off and added the other motor count values
Add toggle button, I named it togCounts
Labeled the Text Up and Down condition
set the Button Color and Text Color in both the Up and Down states
Then put this code is at the bottom of the PLC script

Code:
local togcountButState = scr.GetProperty("togCounts","Button State", "Button State",'0');
if (togcountButState = '1') then
    counts0,rc = mc.mcMotorGetPos(inst, 0, 0);
    counts1,rc = mc.mcMotorGetPos(inst, 1, 0);
    counts2,rc = mc.mcMotorGetPos(inst, 2, 0);
    counts3,rc = mc.mcMotorGetPos(inst, 3, 0);
    counts4,rc = mc.mcMotorGetPos(inst, 4, 0);
    counts5,rc = mc.mcMotorGetPos(inst, 5, 0);

    if (oldcounts0 ~= counts0 or oldcounts1 ~= counts1 or oldcounts2 ~= counts2 or oldcounts3 ~= counts3 or oldcounts4 ~= counts4 or oldcounts5 ~= counts5) then
        mc.mcCntlSetLastError(inst, "Counts".." X = "  ..tostring(counts0).." Y = " ..tostring(counts1).." Z = "  ..tostring(counts2).." A = " ..tostring(counts3).." B = " ..tostring(counts4).." C = " ..tostring(counts5));
        oldcounts0 = counts0;
        oldcounts1 = counts1;
        oldcounts2 = counts2;
        oldcounts3 = counts3;
        oldcounts4 = counts4;
        oldcounts5 = counts5;
    end
end
6  Mach Discussion / Mach4 General Discussion / Re: Screen Set Ideas on: November 16, 2014, 06:16:25 AM
I set it to four because these are quadrature signals

http://www.ni.com/white-paper/4763/en/

and the functions I provided is for the MPG hand dial, has little to do with the mouse scroll wheel example, other than that was my lesson in the logic.
7  Mach Discussion / Mach4 General Discussion / Re: Screen Set Ideas on: November 15, 2014, 08:44:23 PM
Did you setup encoder 0 in Darwin for the MPG A & B (like pins 11 & 12) you have the MPG hooked to 5 volts and a ground?
make sure you test in Darwin to make sure you are getting the counts to read up and down as you turned the dial?
should see multiples of 4 counts up and back.

Once that's done you just use the functions I'd provided placed in a script under a toggle button.
0=encoderid from darwin
0=X axis in mach4
1=Y, 2=Z and so on
So when the button is down it accesses the axis and mpg you want and when up make sure you set the increments back to 0.

It's pretty simple, the hard part is setting up multiple dials and mapping, but really its just time consuming. Works sweet.
8  Mach Discussion / Mach4 General Discussion / Re: Screen Set Ideas on: November 15, 2014, 07:01:27 PM
Just so you can see Darwin works with MPG, thou i have to admit I was rushing it a bit and was ahead of the speed set.

https://www.youtube.com/watch?v=l715pq7cis8
9  Mach Discussion / Mach4 General Discussion / Re: Screen Set Ideas on: November 15, 2014, 06:36:17 AM
Thanks Gerry
I knew it was not lost, but I sure don't remember getting it from there.   Embarrassed Hell to get old.

I included the folder link. Hopefully Brian will add to it soon with other cool features

ftp://machsupport.com/Mach4_Lua_Scripts/Panel_Scripts/
10  General CNC Chat / Show"N"Tell ( What you have made with your CNC machine.) / Re: I'm in Hog Heaven on: November 14, 2014, 09:31:58 PM
No wonder she lets you have the basement as your man cave,  Grin
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!