Hello Guest it is August 13, 2020, 05:43:43 AM

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 - Acrodoc

Pages: 1 2 3 »
Mach4 General Discussion / Re: Mach4 button to load GCode file
« on: March 23, 2017, 10:45:23 AM »
DazTheGas that worked. I tried everything but doubling up the back slash.
Could you recommend any documentation I could download and read and use as reference so I could work through these problems better on my own. I have watched your videos and they have definitely helped. I can write GCode very well and have done a fair amount of Ladder writing. The VB Scripting for Mach3 is pretty basic so I was fair at that but this LUA is more powerful but also more difficult for someone with no coding experience.

Thanks again for all your help.

Mach4 General Discussion / Re: Mach4 button to load GCode file
« on: March 22, 2017, 06:29:41 PM »
OK I created the button and in the Left Up Script

1.  local inst = mc.mcGetInstance();
2.  mc.mcCntlLoadGcodeFile(inst, "CHRIS.txt");

It still does not work. Please type it as it should be. Thank you

Mach4 General Discussion / Re: Mach4 button to load GCode file
« on: March 22, 2017, 04:59:25 PM »
I using m122 to prove the code before I put it in a Button.
Not sure if line 3 is correct. The path for the file is.   C:\Mach3\GCode\CHRIS.txt
If I put the whole path in place of just CHRIS.txt I get a compile error.
My goal is to have a button to load the only program the machine will ever run.

1.    function m122()
2.    Local inst = mc. mcGetInstance();
3.    mc. mcCntlLoadGcodeFile(inst, CHRIS.txt);
4.    end
5.    if ( mc. mcInEditor() == 1) then
6.     m122()
7.     End

Mach4 General Discussion / Mach4 button to load GCode file
« on: March 22, 2017, 10:11:49 AM »
Want to make a button to load a specific GCode file in Mach4. Can't seem to get the code correct. Help please.

CS-Lab / Re: CSMIO-IP/S or CSMIO-IP/A for a servo controlled router
« on: March 10, 2017, 11:28:37 AM »
I used the CSMIO/ IP-S and purchased DMM AC Servos from CNC4 PC. As far as tuning with the DMM servos not much tuning is needed. They ran out of the box like a champ. I did use the 400oz servos on a loader so not much mass to move and no changing load. They are very good quality at a great price. Lots of videos about the DMM servos on YouTube. If you have a separate PC you can monitor servo performance on the fly while running and tuning your router as well. Also the servo amps have an output for precision homing. The guys at DMM in Canada are very helpful as well. I had questions about the wiring and they responded to my email very quickly.

CS-Lab / Feed Overide and Ffed Hold slow to respond
« on: February 18, 2017, 11:11:23 PM »
I'm using Mach3 V.062 and CSMIO/IP-S
Feed Overide and Feed Hold seem to wait until the end of the block to slow or stop motion. The Stop button works immediately.
Help ple

VB and the development of wizards / Re: Total Operating Time in Macro
« on: January 30, 2017, 02:12:19 PM »
Thanks that worked perfectly. I needed to tell the machine operator when to grease the machine. I wrote a little Macro to look at the time and if it was greater than 100. (100 hours) then I did a Message Box to inform it was time to grease the machine and then reset the timer. I saved it as M85 then in the General config file I put the M85 in the startup line so each time the machine is started it will run the M85 macro.
Again thanks. I could not find that info anywhere.

VB and the development of wizards / Total Operating Time in Macro
« on: January 27, 2017, 06:40:28 PM »
Want to use the Total Operating Time from the Maintenance Statistics drop down menu in a Macro. How can I access the data in a macro.
Can't find any info anywhere.

General Mach Discussion / Re: Robot part loader for CNC Lathe
« on: November 27, 2016, 01:51:26 PM »
I have 2 YouTube Videos 1 of my teach screen and 1 of my controller as of a few days ago. See links

General Mach Discussion / Re: Robot part loader for CNC Lathe
« on: November 27, 2016, 01:47:09 PM »
I agree that for the 100 bucks for the MPG unit is worth it. Remember I am not doing the lathe itself. My customer has 30 Hyundia lathes with the Siemens controller we are building part loaders for. I think the final design will be just 3 axis. X parallel to the lathe X and z parallel to the lathe z axis. The X will enter the lathe to load, unload or rotate the part 180 degrees with a servo a axis for the gripper. On my handheld I will have a Start and Hold button, Feed and Rapid Overide, MPG wheel with axis select and Icrement. One more item I will have is a page selector switch for my Mach3 pages Run Program, Manual Jog and Teach Page. I set it up so you can only run or MDI on the run page using Input 1 Safety. I also made a custom MDI on the Run Program screen that opens the MDITeach file and you type in the command. Then you push the Input Button and it loads the MDITeach file. Then it requires 2 Cycle Starts. I did not like how as soon as you hit the enter key It executed the command. I also did not like how hitting the start button on any Mach3 screen would start the loaded program. Any time you leave the Run Program screen and then go back it does a Stop then Rewind of the loaded Program. I'm trying to make it as safe and Fanuc like as I can.

Pages: 1 2 3 »