Hello Guest it is April 16, 2024, 11:05:21 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 »
1
CS-Lab / Re: G31 Probe
« on: September 16, 2020, 02:44:09 PM »
It was suggested by CS Labs to use Mach3 version .022 - .044 and to put the G Code into VB Script. I wrote an M code as follows.
Code”G31G90Z-2.8F25.”
While(IsMoving)
Wend

Code”G1G91Z.1F50.”
While(IsMoving)
Wend

Code”G31G90Z-2.8F25.”
While(IsMoving)
Wend

Code”G0G90Z0”
While(IsMoving)
Wend

It worked perfectly. My only complaint would be Single block doesn’t work in an M Code so it executed the whole script without stopping.

2
CS-Lab / G31 Probe
« on: September 06, 2020, 05:01:13 PM »
Need help.
Mach3 Version  3.043.062
CSMIO/IP-S
DMM DYN2 Servo

Machine runs fine and has for years. Wanted to do some Straight Probe to measure.
The G Code

G1G31Z-3.2F25.
G1G91Z.1F25.
G1G90G31Z-3.2F5.
G1G90Z0F50.
M30

In Single Block it feeds down in Z in first block until it trips Probe Switch.
Z Stops and displays Probe Hit OK
I hit Start and I get an e-Pid error.
Sometimes no movement at all and sometimes the Z will jerk up and fault.
With version 3.043.062 the Run LED stays on always.

So I switch to Version 3.043.044 That version is recommended by CS Labs for use with the CSMIO/IP-S
Got it all set up and running using same settings.
Loaded the above program, turned on single block just to make sure all my setting are good. Hit Start and executed
Each line one at a time and all worked. I’m happy thinking I got this. Turn single block off and hit Start.
Z moves until Probe switch is hit and e-Pid fault again.
The only difference I can see between Mach3 V .044 and .062 is in .044 the Run LED turns off when stepping through the program in single block.

So I started the machine back up using Mach3 V .062 and it faults in single block unlike V .044

Any ideas would be much appreciated.



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.

4
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

5
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


6
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.

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

8
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

9
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.

10
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.

Pages: 1 2 3 »