¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

VB books

Greg Nuspel
 

I was wondering what are good books on VB? I'd like to get a handle on this
but I have never done any object oriented programming, a long time ago I did
do 'basic' programs.

--Greg Nuspel

Radio for the adventurous.

It only takes two things to fly:--- airspeed and money.


Re: Help on offsets and such

Matthew A. Morgano
 

Just out of curiousity..What kind of switches do you guys use for limits or
reference switches? Is there a link somewhere to help me wire them up? And
how can I reference 2 separate motors that I have on the y axis?



Thanks,



Matt

-----Original Message-----
From: Digital audio Pro [mailto:digitalaudiopro@...]
Sent: Wednesday, February 25, 2004 2:41 AM
To: mach1mach2cnc@...
Subject: RE: [mach1mach2cnc] Help on offsets and such



Just setup the ref switches machine coordinates positions in the settings
screen, after this you will only need to create an entry in the fixture
table, with the offset you have between the 0,0,0 machine and the machine
fixture origine.

Your Z ref switch is not a ref switch. If you use it as a ref switch you
will have to re-reference the Z axis each time you mout a new part, so your
absolute machine coordinate system for the Z axis will change each time, and
you will loose the software limits functionalities, because they relie on
absolute machine coordinates. You will loose too the possibility to use
program ranges values for Z (to check for program - machine compatibility) ,
because you will never know where you are physically on the Z machine axis.
More i think mach2 has not been fully tested in the mode you want to use it
and there are perhaps other drawbacks, like they are if we switch from mm to
inch for example.

It's better to have a true Z axis homing, and to use your "touch" probe on
the digitize input for zeroing the Z axis through the fixture or better
tools table where you can enter the tool diameter too for compensation. Next
you will have one more offset system (G92) if you do manual work on the
part.

You can do your reference program through a macro, see in screen designer
how Art did this on the 1024.set screens. But your first goto Z safe has no
sense because before the referencing the absolute machine Z = 0 coordinate
can be anywhere. (except if you use perhaps the persistent DRO
functionality). If you have a ref switch on Z, you will always go in the
right direction because mach2 know if you are at left or at right of the
switche (you have to use a half axis lenght ramp).


It should be in your case :

Code ("G53 Z"your Z safe position" ")
Do Button ( 22 )
Do Button ( 23 )
Do Button ( 24 )
Code ("G53 Z"your Z safe position" ")

But normaly we reference Z first, we go to Z safe, and next we reference
other axis.



Best Regards,

Olivier.





-----Message d'origine-----
De : Mike Hammel [mailto:mycamel@...]
Envoye : mercredi 25 fevrier 2004 06:04
A : mach1mach2cnc@...
Objet : [mach1mach2cnc] Help on offsets and such


I got around to installing referencing home switches tonight. I've been
eyeballing things on my router table, but with the switches I should be able
to be a bit more accurate.

here is my question:

1. I have a fixture on my table that has a 0,0,0 location on it and all of
my files are coded to start from this point. My switches are -2, -1.5, +.55
from the fixture 0,0,0. I don't use any length offsets on my tools cause I
have my z reference switch set up as a touch switch (the tool comes down and
presses the switch when I reference the z). What is the best way to
reference the anises and then have them know where to go using the fixture
0,0,0.


2. How do I reference all three axises in order. I need to do the
following
1. go to safe z
2. reference x
3. reference y
4. reference z
5 go to safe z


Any help would be great!

Thanks,

Mike Hammel
www.fancyfoam.com
1704 Bullard
Arkansas City, KS
67005






----------------------------------------------------------------------------
--
Yahoo! Groups Links

a.. To visit your group on the web, go to:


b.. To unsubscribe from this group, send an email to:
mach1mach2cnc-unsubscribe@...

c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.








_____

Yahoo! Groups Links

* To visit your group on the web, go to:



* To unsubscribe from this group, send an email to:
mach1mach2cnc-unsubscribe@...
<mailto:mach1mach2cnc-unsubscribe@...?subject=Unsubscribe>


* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
<> Service.


Re: Control of Special devices was Re: I/O Board instead of LPT

Robin Szemeti
 

On Wednesday 25 February 2004 11:42, Digital audio Pro wrote:
John, i think a first thing to document is a brief reminder about basic
visual basic stuff like :

procedures
functions
operators and there precedence rules
syntaxic rules
statements, loops, ...
variables, constant... the variant type and the implications, the lack of
type declaration like in C...
Hmm .. my feeling is 'Dont re-invent the wheel' refer the users to the MS
website, show example code, but dont spend much time on the language aspects,
thats been done already. There are many books etc, a few example scripts can
reveal many of the techniques, writing our own 'how to code in VB' book is
probably not time well spent.

What is need is a full and comprehensive list of the Mach2 specific
functions, their typical use etc. A full explanation of how each macro runs
in its own thread and what will happen if you call one macro from another etc.

because the macros and the VB attachaed to buttons is mostly identical, this
can all be grouped together in one place to pull things nicely together.

pull all the screen designer stuff into this document too, add in some handy
tips, hints, sample files, etc and its a useful programming/customisation
resource.

--
RapidCut CNC Technology

CNC Plasma Cutter


Control of Special devices was Re: I/O Board instead of LPT

gittt2000
 

--- In mach1mach2cnc@..., "Digital audio Pro"
<digitalaudiopro@w...> wrote:

After this i think a miss documented and
hard to find information is the
file management VB script run time.
Have you got the URL handy please Oliver?

Richard


Re: Control of Special devices was Re: I/O Board instead of LPT

 

John, i think a first thing to document is a brief reminder about basic
visual basic stuff like :

procedures
functions
operators and there precedence rules
syntaxic rules
statements, loops, ...
variables, constant... the variant type and the implications, the lack of
type declaration like in C...

the Microsoft web documentation could be a good basis if you can have
autorization to duplicate and resume some parts.

After this i think a miss documented and hard to find information is the
file management VB script run time. (on the Microsoft site too). A lot of
people think it's not possible to access a file, because it was not
supported in version 1 and 2 if i remember well, or very limited in version
2. Now it's a full set of functions. (nice for web hackers and mach2 users
:=)




Olivier.


Control of Special devices was Re: I/O Board instead of LPT

 

--- In mach1mach2cnc@..., "Bill Griffin"
<bilg63475@y...> wrote:
Is anyone using an I/O board instead of the printer ports?

I believe that Art mentioned to me that this was possible. Also is
anyone using macros to control tool turrets?

I have been using Ahha Artisan on machines with turrets and also
using the macro capability to automate non machine tool mechanisms
for engineering tasks like wear testing, mechanism checkout etc.

Anyone with pointers on where to start learning the macro side of
Mach 2?

Thanks

Bill Griffin
Bill:

If you have not found the latest version of the Mach2Mill manual (in
the files section of this Group) then it might be worth checking for
information on Macros and Scripts attached to screen buttons.

If you HAVE found it, and it does not give you the information you
need in the way you need it, then I would greatly appreciate
pointers to what should be there (when you have discovered it some
other way). We are currently considering how best to document
Mach2's capabilities in this rather open-ended area.

I am sure you will find the Mach2 script features powerful enough to
control the sort of things you decribe. There are some interesting
applications posted on the Group (e.g. conversational machining
screen). An I/O board should be fine for interfacing the "specials"
but not, I suspect, main axis movements, limits etc. The Keyboard
Emulator architecture seems to work well for non-time-critial input
signals.

John Prentice


G2002 status ?

pavel59
 

Hi Art,
I didn't read the list for a while, and maybe you already discussed
this argument in the recent past.

Do you have any news about the G2002 project and availability ?
will this work in a reasonable amount of time ?

Thank you in advance for your kind help.
Regards

Paolo


Re: Help on offsets and such

Steve Blackmore
 

On Tue, 24 Feb 2004 23:14:13 -0600, you wrote:

Sorry, spell check changed axis to anises.

Also, Is there a good way to round my g-code files to the nearest .005. I'm not sure, but I think that I lose steps because my setup only gives me 200 steps per inch. If I am trying to control are 4 decimal places, the .000x steps have to add up.
Normally set in whatever you use to produce your GCode, or use a GCode
editor.
--
Steve Blackmore


axis referencing

 

Is it possible to reference the Z axis, and next X,Y and eventually A
and B at the same time ?

I'm using the ref all button actually, but the 3 axis ref at the same
time, not very safe for the spindle, and if i have no rotary table on
the miller i have to press the escape key after the first 3 axis are
referenced.

If i use a macro with Dobutton 24 , 23 , 22, i loose some time
because X and Y are referenced one after the other.


Thanks for your help,

Olivier.


Re: Help on offsets and such

 

Just setup the ref switches machine coordinates positions in the settings
screen, after this you will only need to create an entry in the fixture
table, with the offset you have between the 0,0,0 machine and the machine
fixture origine.

Your Z ref switch is not a ref switch. If you use it as a ref switch you
will have to re-reference the Z axis each time you mout a new part, so your
absolute machine coordinate system for the Z axis will change each time, and
you will loose the software limits functionalities, because they relie on
absolute machine coordinates. You will loose too the possibility to use
program ranges values for Z (to check for program - machine compatibility) ,
because you will never know where you are physically on the Z machine axis.
More i think mach2 has not been fully tested in the mode you want to use it
and there are perhaps other drawbacks, like they are if we switch from mm to
inch for example.

It's better to have a true Z axis homing, and to use your "touch" probe on
the digitize input for zeroing the Z axis through the fixture or better
tools table where you can enter the tool diameter too for compensation. Next
you will have one more offset system (G92) if you do manual work on the
part.

You can do your reference program through a macro, see in screen designer
how Art did this on the 1024.set screens. But your first goto Z safe has no
sense because before the referencing the absolute machine Z = 0 coordinate
can be anywhere. (except if you use perhaps the persistent DRO
functionality). If you have a ref switch on Z, you will always go in the
right direction because mach2 know if you are at left or at right of the
switche (you have to use a half axis lenght ramp).


It should be in your case :

Code ("G53 Z"your Z safe position" ")
Do Button ( 22 )
Do Button ( 23 )
Do Button ( 24 )
Code ("G53 Z"your Z safe position" ")

But normaly we reference Z first, we go to Z safe, and next we reference
other axis.



Best Regards,

Olivier.

-----Message d'origine-----
De : Mike Hammel [mailto:mycamel@...]
Envoye : mercredi 25 fevrier 2004 06:04
A : mach1mach2cnc@...
Objet : [mach1mach2cnc] Help on offsets and such


I got around to installing referencing home switches tonight. I've been
eyeballing things on my router table, but with the switches I should be able
to be a bit more accurate.

here is my question:

1. I have a fixture on my table that has a 0,0,0 location on it and all of
my files are coded to start from this point. My switches are -2, -1.5, +.55
from the fixture 0,0,0. I don't use any length offsets on my tools cause I
have my z reference switch set up as a touch switch (the tool comes down and
presses the switch when I reference the z). What is the best way to
reference the anises and then have them know where to go using the fixture
0,0,0.


2. How do I reference all three axises in order. I need to do the
following
1. go to safe z
2. reference x
3. reference y
4. reference z
5 go to safe z


Any help would be great!

Thanks,

Mike Hammel
www.fancyfoam.com
1704 Bullard
Arkansas City, KS
67005






----------------------------------------------------------------------------
--
Yahoo! Groups Links

a.. To visit your group on the web, go to:


b.. To unsubscribe from this group, send an email to:
mach1mach2cnc-unsubscribe@...

c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


Re: Help on offsets and such

Mike Hammel
 

Sorry, spell check changed axis to anises.

Also, Is there a good way to round my g-code files to the nearest .005. I'm not sure, but I think that I lose steps because my setup only gives me 200 steps per inch. If I am trying to control are 4 decimal places, the .000x steps have to add up.

Thanks,

Mike Hammel
www.fancyfoam.com
1704 Bullard
Arkansas City, KS
67005

----- Original Message -----
From: Mike Hammel
To: mach1mach2cnc@...
Sent: Tuesday, February 24, 2004 11:03 PM
Subject: [mach1mach2cnc] Help on offsets and such


I got around to installing referencing home switches tonight. I've been eyeballing things on my router table, but with the switches I should be able to be a bit more accurate.

here is my question:

1. I have a fixture on my table that has a 0,0,0 location on it and all of my files are coded to start from this point. My switches are -2, -1.5, +.55 from the fixture 0,0,0. I don't use any length offsets on my tools cause I have my z reference switch set up as a touch switch (the tool comes down and presses the switch when I reference the z). What is the best way to reference the anises and then have them know where to go using the fixture 0,0,0.


2. How do I reference all three axises in order. I need to do the following
1. go to safe z
2. reference x
3. reference y
4. reference z
5 go to safe z


Any help would be great!

Thanks,

Mike Hammel
www.fancyfoam.com
1704 Bullard
Arkansas City, KS
67005






------------------------------------------------------------------------------
Yahoo! Groups Links

a.. To visit your group on the web, go to:


b.. To unsubscribe from this group, send an email to:
mach1mach2cnc-unsubscribe@...

c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


Help on offsets and such

Mike Hammel
 

I got around to installing referencing home switches tonight. I've been eyeballing things on my router table, but with the switches I should be able to be a bit more accurate.

here is my question:

1. I have a fixture on my table that has a 0,0,0 location on it and all of my files are coded to start from this point. My switches are -2, -1.5, +.55 from the fixture 0,0,0. I don't use any length offsets on my tools cause I have my z reference switch set up as a touch switch (the tool comes down and presses the switch when I reference the z). What is the best way to reference the anises and then have them know where to go using the fixture 0,0,0.


2. How do I reference all three axises in order. I need to do the following
1. go to safe z
2. reference x
3. reference y
4. reference z
5 go to safe z


Any help would be great!

Thanks,

Mike Hammel
www.fancyfoam.com
1704 Bullard
Arkansas City, KS
67005


Re: Version 4.0 online.

 

--- In mach1mach2cnc@..., Art <fenerty@a...> wrote:
Hi all:
[snip]
It will soon be released to Rutex as a general Windows Tuner.. To use it
setup up your 990MB as an SPI device, power it up and then run
RutexTune.

What's an spi device? And, is using the 990mb required? I'm not at
this time. I bought one, but it seemed easier to me to not use it. I
replaced my gecko drivers in a Camtronics box with the Rutex drivers
so I could use the tuning program.

I've just gotten back into Mach1/2 after a year or so off and just
started trying Mach2 anyways. Just got my Rutex drivers 'wired up' and
have use the Rutex tuning program. Now I see the new one, cool.

Monte


Manual stepping

mmenig
 

I just installed a Mach1 demo and would like to run a WABECO
F1210mill (German made).

How do I manually step with MACH1.

Thank you

Markus


I/O Board instead of LPT

Bill Griffin
 

Is anyone using an I/O board instead of the printer ports?

I believe that Art mentioned to me that this was possible. Also is
anyone using macros to control tool turrets?

I have been using Ahha Artisan on machines with turrets and also
using the macro capability to automate non machine tool mechanisms
for engineering tasks like wear testing, mechanism checkout etc.

Anyone with pointers on where to start learning the macro side of
Mach 2?

Thanks

Bill Griffin


servo motor

 

is some one using rutex r990h with servo
or geckodrive g320 or g340 with servo
my question with motor you use and with encoder
jacques lambert
montreal


Re: 4th axis trouble (accel problem)

barker806
 

--- In mach1mach2cnc@..., Art <fenerty@a...> wrote:
Brian:

I have made a change to the next release version to track the
acceleration
of the rotary axis better. I hope to release soon and we'll see if
that
helps..
I don't have a rotary hooked up right now, so my testing is limited
on this
one. Did the test I mentioned actually work. Setting the A accele
very low
and the X very high and then doing a
G0X10A360
G0X0A0

Does this accel properly??

Art
www.artofcnc.ca
The axis is not working with the moves that you gave me to do... The
Accel is VERY fast (Missing steps).

Thank you
Brian


Re: Radius Error...Update

 

If that didn't help I think we have to look at what else can
cause it. Can
you send me your Mach2Mill.xml file and the G-Code file so I can
run a few
tests...
Heres another clue...I have two G-Code files. One generated by
Vector which defines arcs using IJ. The other is generated by
Artcam which seems to define arcs only by XY coordinate points.

Nothing I do makes any difference in the Vector file. Using the
Arcam file in Plasma mode does fix the blending issue, but it cuts
the feed speed in the arcs by 2/3, which burns bits.

The artcam file in regular CV mode blends the corners the same as
the Vector file.

I'll send you both files, but I'll probably use the Artcam file.

Thanks...Ross


Re: 4th axis trouble (accel problem)

Art
 

Brian:

I have made a change to the next release version to track the acceleration
of the rotary axis better. I hope to release soon and we'll see if that
helps..
I don't have a rotary hooked up right now, so my testing is limited on this
one. Did the test I mentioned actually work. Setting the A accele very low
and the X very high and then doing a
G0X10A360
G0X0A0

Does this accel properly??

Art
www.artofcnc.ca


Re: verify positions problem in mach2

Art
 

Olivier:

This is normal. By design it was never concieved that switches would be in
the center. I will add to the list to make the routine more sophisticated to
allow for this.
Thanks,
Art
www.artofcnc.ca