Hello Guest it is April 18, 2024, 04:40:46 PM

Show Posts

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.


Messages - Ya-Nvr-No

321
Mach4 General Discussion / Re: Screen Set Ideas
« on: June 02, 2014, 06:19:43 PM »
I've worked on HAAS MC and TC too, lot more bells and whistles. Same smelly coolant and way lube. Just a lot prettier screen set with more to play with.

322
Mach4 General Discussion / Re: Screen Set Ideas
« on: June 02, 2014, 04:13:23 PM »
your getting the idea
fanuc is full of quack quacks
now we have mach4 a new duck
I can create my own M7734 for what ever in fanuc
ladder dont care
ya just have to have access to it.  >:D

323
Mach4 General Discussion / Re: Screen Set Ideas
« on: June 02, 2014, 03:30:10 PM »
all I can say I been doing controls for lot of years now and there is a mcode that has to get setup buts its up to you what you want to use.
I never use M99 for part counters, counter intuitive to functional programming. You might want to read the manual again, might be missing some real nice features. I have Fapladder and I can make it do anything i want too within reason its all about bits, ya have to love ladder.

The parameters are there, just not quite the same as this is a PC and not a PLC so they have not been address as of yet or can be quite the same.
And no matter their just a holding cell for information. Its up to you what you put in them. So if you dont want to follow Fanuc numbering system have at it.

thats why i get calls to come back and add features and I/O as they learn what the limitations are and want more functionality.

I have to write scrips to orient a chuck. their just called gcode. Still need to set some parameters that let the controller know what it need. Scripts to re-reference a paletalizer.

Different duck, Different quack but same crap in the end.

324
Mach4 General Discussion / Re: Screen Set Ideas
« on: June 02, 2014, 01:12:33 PM »
Even in Fanuc you have options to set. they don't come in the door without needing set up
that's why most companies get it turnkey or have a written contract of all obligations, before final payment.
If your buying used, better know what questions to ask what options are on it and what to look for.
what parameter to look at to see what the backlash is set too, or the system & run hours, and then how to set the time and date using the parameters not the user screen. See the number of total parts ran, what the lube pump and conveyor time is set to. Its all in there its just a matter of knowing where and what it all means. that's why most of fanuc's books are close to an 1" thick and there are several. and they don't provide you all of the parameters descriptions or hardware interfaces. Or you get documentation that says one thing and you find out its a mistake. Good luck getting that corrected.

3901 is the parts counter
3902 is parts required
3000 Alarm
3001 Clock in ms
3002 Clock in hour

3011 is the year,month,day
3012 Hour, minute, second

(the problem is the pound variables are numbers and date and times are strings)
Will have to convert the date and time to a number and then back to a string so you know what it represents.
kind of like what I did to create the start and stop timer.

the M60 mcode will have to be created so it knows what variable to increment.
some way to reset the counter. A way to set parts required.
Other mcodes that you use to interface with other outputs or used as syncing codes with a gantry loader and palatalizing units
Spindle orientation, mcodes for spindle lock, lift stations, clamping, blowoffs, turnarounds, inspection interfaces, tail-stock quill movements, load cells, air & hydraulic sensors and the list goes on and on.

Months maybe years yet to go to be industrial ready. But it just might be your only option, have not heard anyone else take on an elephant this big for the hobbyist/home builder/oem

If nothing else it gives you something to do. hate to see anyone bored. ;D

325
Mach4 General Discussion / Re: Screen Set Ideas
« on: June 02, 2014, 06:46:00 AM »
added a parts counter feature
created a M60 script some screen features and
added this to the end of the PLC script

    partscounter = mc.mcCntlGetPoundVar(inst, 3901);
    scr.SetProperty('drovar3901', 'Value', tostring(partscounter));

326
Mach4 General Discussion / Re: Screen Set Ideas
« on: May 31, 2014, 02:48:59 PM »
What part of bend over and beware... are you missing? ;D

Now that your a Lua coder its up to you now, how you want create your wake up calls.

327
Mach4 General Discussion / Re: Screen Set Ideas
« on: May 31, 2014, 11:46:56 AM »
If you can tell me how i could compute/predict the future tool change.

Is that something your controllers do?

I use an output to turn on my stack light a few lines before it happens, or you could send it to your shock collar. ;D

Or schedule your naps better.

328
Mach4 General Discussion / Re: Read write to a DRO ??
« on: May 30, 2014, 10:32:07 PM »
 --read
    local inst = mc.mcGetInstance();
     local varvalue;
     local val = 0;
     varvalue = mc.mcProfileGetDouble(inst , 'drovar1' , '1', val)
     mc.mcCntlSetPoundVar(inst, 1, varvalue)

--write
     local inst = mc.mcGetInstance();
     varvalue = mc.mcCntlGetPoundVar(inst, 1);
     mc.mcProfileWriteDouble(inst ,'drovar1','1',varvalue)

--getpound setdro
     local inst = mc.mcGetInstance();
    varvalue = mc.mcCntlGetPoundVar(inst, 1);
    scr.SetProperty('drovar1', 'Value', tostring(varvalue));

329
Mach4 General Discussion / Re: Screen Set Ideas
« on: May 30, 2014, 06:42:55 PM »
No Terry few years before that, just when I happened to hit the button good guess thou.

Russ, Ya-Nvr-No I might be ready before them.  ;)

how to get the Screen name (placed in the the PLC script)
you do have to create the text and label on the screen page and give them the correct name.

    ScrName = mc.mcProfileGetString(inst,'Preferences','Screen',ScreenName);  --Screenset name
    scr.SetProperty('lblScreenName', 'Label', ScrName);

330
Mach4 General Discussion / Re: Screen Set Ideas
« on: May 30, 2014, 12:33:27 PM »
Added a start/stop timer and the Screen.set Profile name.