Hello Guest it is April 25, 2024, 05:01:14 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 - DavidS

Pages: 1
1
VB and the development of wizards / Re: Macro Tutorial
« on: November 03, 2017, 09:05:19 AM »
Hi Ger21

Thanks again for the quick reply.  A practical example is where a complex profile is being cut.  The program runs through various  cutting profiles at various depths etc. and at an appropriate point it tests the value of parameter #100.  #100 is a function of the thickness of the workpiece and the depth of cut.  Progressive cuts reduce #100, until when the tool breaks through the value of #100 reaches zero.  At this point the tool motion stops, or carries on in the program and does something else.  My intention is to use a Z axis height probe to derive the depths (surface and base) which will be built into the opening part of the program.  I wish to avoid simply using loops which will usually result in substantial over-travel into the material supporting the workpiece.

Example:

N1   {Piece of G code which carries out a number of actions, progressively reducing N
   #100 from, say, 5 down to 0 at which point the program jumps in accordance with the    IF statement}
N10   

.
.
.
.
IF [#100 EQ 0] GOTO 110   

GOTO 200

N110  {Another part of the program. Arrives here if #100=0}

N200 {A different part of the program.  Arrives here is #100 is not equal to 0}


I know that IF...THEN...ELSE and GOTO are available in Fanuc, but clearly not in Mach3.  However, there have been a number of posts that state that these functions can be implemented in Mach3 using a macro.  I have seen some examples of macros, but these use expressions that I have yet to learn.  The macros that come with Mach3 are similar - impenetrable without a primer.  There have been suggestions that I learn by looking at a few examples - although this rather like being advised to learn French by reading a few works by Proust in the original language.   :)

If you can give me an example for the above program I would be grateful.

Regards

2
VB and the development of wizards / Re: Macro Tutorial
« on: November 02, 2017, 12:36:56 PM »
Thank you for the replies.  My immediate interest is in implementing conditional jumps, such as if...then.  I needed a conditional statement in some code that I was writing, and the advice from the forum was that it cannot be done in Mach3, but could be done using a macro.Taking up ger21's point, could one of our members give me an example of an if command executed in a G code program by using a macro?

Many thanks.

3
VB and the development of wizards / Macro Tutorial
« on: October 31, 2017, 03:02:12 PM »
I've been using Mach3 for few years, and up to now managed to avoid writing macros.  Now I need to produce some, and having read many of the posts, I am still stuck as to how to start.  Is there a tutorial anywhere that I have missed?  Just looking at the reference guide does not show the fundamental step by step first moves that I need, mainly because I am still at a very basic level.

Any help would be appreciated!

4
General Mach Discussion / Re: Mach3 and 64 bit OS
« on: November 09, 2016, 02:33:10 PM »
Thanks for the quick reply.  The problem is that the installation doesn't complete.  The installation reaches a point where it displays "Installing files...Seeking" and shows progress bars continually running across the screen.  After about 30 minutes without change I have to cancel.

5
General Mach Discussion / Mach3 and 64 bit OS
« on: November 09, 2016, 11:50:25 AM »
I have read the threads on using 64 bit OS with Mach3 and understand the points made with great patience by Art.  The parallel port cannot be used on a 64 bit system.
I want to use Mach3 in demo mode so that I can test G code programs, because I have W10 indoors where it's warmer but the licensed version running on XP is in the workshop where it is currently less pleasant.  The demo version does not install the parallel port driver - so I should be able to install it on a 64bit W10 machine.  I  haven't had much success in achieving this so far - am I missing something here?


6
Finished Plugins for Download / Re: Mach3 Camera Plugin V3
« on: October 25, 2015, 12:41:03 PM »
Hi Klaus

I tried V2 and it works correctly on the AMD machine.  I installed V3 on another machine with an Intel processor and V3 worked correctly, so it seems that the AMD Athlon is the culprit.

Thank you very much for your help.

Regards

David

7
Finished Plugins for Download / Re: Mach3 Camera Plugin V3
« on: October 25, 2015, 06:52:36 AM »
Thanks for the quick reply.

I installed your Plugin Test and ran Test -> Analyze.  I got a message box headed "Plugin Test Error" with the message "Plugin not installed or not at least started once".  Hit OK, and got a table describing various features of my installation.  I got 7 files on the C drive, which are attached.

The CPU is an AMD Athlon(tm) XP 2600+

Thanks

Regards

8
Finished Plugins for Download / Re: Mach3 Camera Plugin V3
« on: October 24, 2015, 06:20:10 AM »
Hi Klaus

I have deinstalled the plugin and downloaded and reinstalled  V3.02 again.  It produced the same result of "Plugin dll defective". 

It may not be relevant, but I noticed that about halfway through the installation, I always get asked to repair Microsoft Visual C++2010 x86.  I followed the instructions to repair this, including a reboot, and I got the message that it had been successfully repaired.  However, when starting Mach3, I get the dll defective messages again.

Regards

David

9
Finished Plugins for Download / Re: Mach3 Camera Plugin V3
« on: October 23, 2015, 11:18:43 AM »
Hi Klaus

I am having some problems installing the plugin.  I followed the installation instructions, but when I start Mach3 I get the message "Plugin DLL defective  reload"  then "webcam plugin defective  ignoreing" after which the installation of Mach3 completes.  The Plugin is not installed.  In the Mach3 Plugin folder is webcamplugin.dll with what I guess is the version number of 3.0.0.0 but does not appear on the list when I press "config plugins" in Mach3.

I would be grateful if you could let me know what I should do next?

Thanks

David

Pages: 1