I continue to have big trouble with A axis acceleration. In motor tuning, the acceleration ramp looks like a pyramid and the velocity is about 75% of the failure point. Jogging is silky smooth. The code below will usually work, but there is NO hint of ramped acceleration. f5 g1 x1 a360 g1 x0 a0
If I try to add a zero: g1 x1 a3600 g1 x0 a0
The a-axis will not budge. It will only squeal.
I have fiddled with feed rate and rotation diameter until I'm blue in the face. They affect it, but don't CORRECT it.
Is anyone enjoying smooth dependable X-A axis travel?
David Christal
|
Thanks for the last note with some of the caling sequence.
If I call SetProfileName and then AboutBox the box displays, with the correct version number, but it says Demo Version. What loads the license file?
You said if we didnt want to use your screens there were a few more calls needed. Can you please list them- for my application I dont want to see any of the Mach2 screen, I will issue all the motor calls I need and maintain my own graphic display.
thanks
ron
|
Release of Mach2Mill manual Rev A4.5
Hi everyone
I have uploaded the latest revision (A4-5) of the Mach2Mill manual to the files section of this Group. This refers to Mach2 release 4.00.
The changes are outlined on the revision history page.
I am afraid that it is becoming rather untidy. Partly because I have been having some eye trouble but mainly (in the customisation section) because of the new features and methods of working that are available to us.
However, as always, please do let me have your corrections and suggestions - big and small.
Art's recent posting on "the way forward" shows that the split into user manals and a customisation manual will have to come next to do justice to Mach2 Release 5. This is something to look forward to as a chance to tidy things up.
Best wishes
John Prentice
|
Re: Next Development Version and Legacy Issues..
--- In mach1mach2cnc@..., Art <fenerty@a...> wrote: This is all in preperation for what I was refering to as conversational screens Art, this sounds great, but where is it on the priority list with respect to USB controlled interface equipment? Richard
|
I just cannot toggle the soft limits on and off. Is this a conflict with Also is jogging 2 axis at the same time and 1 hits the soft limit the machine stops in both axis even though the other axis still has travel I have this problem either. I ?m hiting 3, 4 times at RefAll to get machine referenced. Daniel.
|
Re: Next Development Version and Legacy Issues..
On Mon, 01 Mar 2004 20:57:34 -0400, you wrote: Cutting direction is really something that best done in a cam program. I do have it on the list though to see what can be done. I'll give it some thought while I bask in the sun... You could read the OpenGL manual instead ;) -- Steve Blackmore
|
Mike the only folder I have in Mach2 on the c drive is the "Mach2Screen.exe" Am I missing something? Is that the designer? If so I am gonna need some serious coaching on this one! :) Mike -- In mach1mach2cnc@..., "Bloy2004" <jmnotions@c...> wrote: --- In mach1mach2cnc@..., "guzakaka" <nonna01@e...> wrote:
I need some help on how to get to the screen designer. I apologize for the beginner's block but I can't find. I have read the manual and
noticed where I was supposed to make a desktop icon for it when setting up but I can't even find the file. I have only been able to
find the Mach2Screen.exe file and when I open it I still can't find
the designer. Help would be appreciated.
On another note; Art be sure you just "bask" in the sun and not bake!
Mike Hi Mike, It's in the Mach2 folder in the C: directory....called "Mach2Screen"
|
Hi,
I have managed to get the soft limits working somewhat. I hit the reference all button when machine is closest and farthest right and limits work fine. I just cannot toggle the soft limits on and off. Is this a conflict with some hardware and bad windows install or something else I could be overlooking? I am planning to do a fresh install of windows and mach2 this week but wanted to check to make sure this wasn't a bug first.
Also is jogging 2 axis at the same time and 1 hits the soft limit the machine stops in both axis even though the other axis still has travel could it be set to allow the machine to travel to it's fullest limits on both axis before stopping? I have to hit the reset button when it stops or the 1 axis jumps and locks when I try to move again. All works fine when using 1 axis..it hits limit then I move opposite direction without any problems and w/o having to reset.
Thanks,
Matt
|
--- In mach1mach2cnc@..., "guzakaka" <nonna01@e...> wrote: I need some help on how to get to the screen designer. I apologize for the beginner's block but I can't find. I have read the manual and noticed where I was supposed to make a desktop icon for it when setting up but I can't even find the file. I have only been able to find the Mach2Screen.exe file and when I open it I still can't find the designer. Help would be appreciated.
On another note; Art be sure you just "bask" in the sun and not bake! Mike
Hi Mike, It's in the Mach2 folder in the C: directory....called "Mach2Screen"
|
g-code using indexing for a threading project
Hi, Most of what I learn is from taking apart something existing and putting it back together again without parts left over. This applies to g-codes too. To help me get started, would anyone have a ready made G-code that uses indexing for threading and works well with Mach2Lathe? This would give me an idea of how the whole thing fits together. Thanks, John
|
I need some help on how to get to the screen designer. I apologize for the beginner's block but I can't find. I have read the manual and noticed where I was supposed to make a desktop icon for it when setting up but I can't even find the file. I have only been able to find the Mach2Screen.exe file and when I open it I still can't find the designer. Help would be appreciated.
On another note; Art be sure you just "bask" in the sun and not bake!
Mike
|
Re: Next Development Version and Legacy Issues. + Pendent Issues
Hi Art,
Thanks for the reply, and have a good break. You need it you've been flat out like a lizard drinking!
On more question if I may?
I presume I can have a keyboard shortcut that calls a macro I write? say My_Spindle_CW
Then, in my macro, call the "Spindle CW" function, then read the status of the "Spindle CW LED" and send it out the serial port?
Maybe what I need to do now is built the pendent controller. That will take a while, Then try it and go from there.
I'm thinking of using a USB I/F that has both a keyboard and a serial port in it.
are you planning on supporting more than 1 serial port?
Cheers,
Peter Homann mailto:Peter.Homann@... Adacel Technologies Limited, 250 Bay St, BRIGHTON, 3186, AUSTRALIA <> Telephone +61 (3) 8530 7777, Facsimile +61 (3) 9596 2960 Mobile 0421-601 665
toggle quoted message
Show quoted text
-----Original Message----- From: Art [mailto:fenerty@...] Sent: Tuesday, 2 March 2004 1:07 PM To: mach1mach2cnc@... Subject: Re: [mach1mach2cnc] Next Development Version and Legacy Issues. + Pendent Issues
Hi Peter:
Does each function in Mach2 have an OEM code?
YEs, at least all the fucntion you currently can call as a user.
Does a keyboard shortcut invoke an OEM code?
It can, this is set in the screen designer..
Is each function invoked by an OEM code written as a macro and able to be changed?
No, most are internal functions.
Can all of the variables that hold state, Spindle speed, MPG jog increment, MPG selected axis, etc be read and written to via macros?
No, some can, but the list is very long indeed of all the variables. I haven't found a good way to pass them to the user or I would.....
On possible method for what I want to do may be to invoke the OEM functions via the serial port. That would mean that Mach2 would have to monitor the port and process a command set. This command set could be very similar to the existing OEM codes?
This is on the list, but may be awhile. Serial RX is not available yet. TX is no problem, but implementing rx is a problem due to lack of protocol. Some woudl like string message, some just numerical constants, hard to tell the best method, and thats why its been on hold for awhile.
Also, it would be necessary to output the value of any states changes invoked out through the serial port.
This isn't a problem , Mach2 can transmit now, simple hook to make it send packets, but I worry about the overhead, untested as to how much would slow everything down, this is all on the list but a bit low in priority. Like I said before though, when I return from vacation, I will list the list as it now stands and everyone here can set priorities on some of this. Perhaps someone bored can create a list on the database section of yahoo and everyoine could put their wish lists there so it can all be cooridnated somewhat..
Thanks, Art
Art www.artofcnc.ca
Yahoo! Groups Links
|
Re: Next Development Version and Legacy Issues. + Pendent Issues
Give me your email and I will send you the manual in pdf. It took alot of work to hunt this down and get it from Yaskawa. Shawn
toggle quoted message
Show quoted text
----- Original Message ----- From: "Peter Homann" <peter.homann@...> To: <mach1mach2cnc@...> Sent: Monday, March 01, 2004 5:16 PM Subject: RE: [mach1mach2cnc] Re: Next Development Version and Legacy Issues. + Pendent Issues
Hi Jeff,
You seem to know more about the interface than I. I just had a quick look and assumed that it all went through the RS-232.
Do you know how I can get hold of the manual? It may be possible to use the
existing I/F by using a micro processor as a converter or some what.
Cheers,
Peter Homann mailto:Peter.Homann@... Adacel Technologies Limited, 250 Bay St, BRIGHTON, 3186, AUSTRALIA <> Telephone +61 (3) 8530 7777, Facsimile +61 (3) 9596 2960 Mobile 0421-601 665
-----Original Message----- From: washcomp [mailto:jeff@...] Sent: Tuesday, 2 March 2004 12:09 PM To: mach1mach2cnc@... Subject: [mach1mach2cnc] Re: Next Development Version and Legacy
Issues. + Pendent Issues
Peter:
I too have one of these pendants. My impression (please correct me if I'm wrong) is that the RS-232 is for the LCD display. The rest of the functions (with the excption of the E-Stop) seem to communicate to the controller (originally Yaksawa) through a protocol named YE-NET (DeviceNet maybe?). This seems to use a bus based network over one pair of wires where the devices along the bus are indevidually addressable. The data is then sent serialy.
The controller (MACH2)would have to interpet which key was pressed and the communications protocol would have to be converted to RS-232 usable signals/hardware.
I've considered using a keyboard emulator, but as you point out, there's no easy way to light the LED's.
Unfortunately I don't know enough about how to read or program the original microprocessor and flash ram that is in the pendant.
One of the other purchasers has come up with an English manual from Yaskawa for the pendant which might help if someone wants to take a whack at it.
Jeff
--- In mach1mach2cnc@..., "Peter Homann" <peter.homann@a...> wrote:
Art,
All the changes sounds excellent to me.
I have a question regarding the exporting the state of the system. Let me
explain.
I have one of the Pendents sold by Richard Piatek. These are very nice and
professional commercial unit. There is a one to one mapping for a lot of the
buttons on the pendent to the mach2 functionality. You must be doing things
right). all of these buttons have a LED indicator.
The pendent also has a 16x2 LCD character display, a 100 step/rev MPG and an
ESTOP button. Pictures of it are in the files area.
The pendent is controlled by a large FPGA and a H8 Micro controller and
communicates back to the original controller via RS-232. These are all on a
separate PCB.
My plan is to replace the PCB with one of my own. It seems a shame to just
connect the switches to a keyboard encoder as some plan to do. We could do
something really special. The reason for replacing the board is that I
believe that it will be too difficult to reverse engineer the existing
controller board.
Although the pendent is packaged beautifully, there is nothing stopping use
from putting all the same functionality into an "off the shelf" enclosure.
After all it just contains a lot of switches, LEDs, a 2x16 character lcd
display, estop switch, and a controller board.
One of the issues with just using a keyboard encoder is that the LEDs can
show state. For example, there are 3 buttons labelled X1,X10,X100. These are
the jog increments for the MPG. If X10 is pressed, then I assume that the
LED for that button will stay illuminated to indicate the current jog
increment. Also I'd expect the spindle Forward button's LED to flash when
the spindle is ON.
Initially I considered keeping the state of the system in the pendant's
micro controller. One of the first rules of software engineering is "If you
store the state of a variable in two places, one of then will be wrong"
So, what am I after? A method of interacting/controlling Mach2 via a serial
Port.
I don't know enough about the macro facility of Mach2 to know if a lot is
already there.
Does each function in Mach2 have an OEM code?
Does a keyboard shortcut invoke an OEM code?
Is each function invoked by an OEM code written as a macro and able to be
changed?
Can all of the variables that hold state, Spindle speed, MPG jog increment,
MPG selected axis, etc be read and written to via macros?
On possible method for what I want to do may be to invoke the OEM functions
via the serial port. That would mean that Mach2 would have to monitor the
port and process a command set. This command set could be very similar to
the existing OEM codes?
Also, it would be necessary to output the value of any states changes
invoked out through the serial port.
For example, the spindle on/off control.- The user pushes the Spindle
Forward button on the pendent. This sends an message (110 "M3") via the
serial port to Mach2. The function that this calls sends a message containing the state of the Spindle LED out of the serial port. The pendent
micro controller would process this message and update the associated LED on
the pendent. Also pressing the spindle button on the screen or pressing the
shortcut would also send out the Spindle LED state, as this is coded in the
function.
The use of the serial port for pendent control would be configurable.
Another example. The MPG encoder.- On the pendent the user would select, via
the rotary switch the axis, say the Y axis. This would send a message to
Mach2 which would update the screen and send back the selected axis. The
user then selects the X10 button. This sends a message to mach2 which sets
the jog increment. Mach 2 responds with a message containing this variable.
The pendent illuminates the LED. As the user rotates the MPG a stream of
messages indicating +/- movement is sent to Mach2.
How much of what I'm asking is already there? I know that reading the serial
port is not. How far away is that.
Another possibility may be. Is there a range of "User OEM Codes"? With these
I could write macro functions that do what I defined above. With this I
could implement a PS2 keyboard encoder still sending the state out of the
serial port, but would still want the normal keyboard as well.
Am I asking too much? I'm not sure. I'm guessing that eventually Mach2 will
be able to be used with a sophisticated pendent at some time.
I am happy to work on a pendent controller that will look after the pendent
pushbuttons, LEDs, LCD, rotary switches and MPG. A defined interface method
between Mach2 and the pendent controller would need to be identified. Once
the controller is complete, people could package it as necessary for their
application.
Sorry it's so long
Thanks,
Peter Homann mailto:Peter.Homann@a... Adacel Technologies Limited, 250 Bay St, BRIGHTON, 3186, AUSTRALIA <> Telephone +61 (3) 8530 7777, Facsimile +61 (3) 9596 2960 Mobile 0421-601 665
-----Original Message----- From: Art [mailto:fenerty@a...] Sent: Tuesday, 2 March 2004 10:01 AM To: mach1mach2cnc@... Subject: [mach1mach2cnc] Next Development Version and Legacy Issues..
Hi All:
Just so everyone is on the same page, next version release
will be a new
development version. (5.0) and it WILL have some legacy issues unfortunately. For example, ..m1s and .t1s extensions are all replaced just with the .m1s . Macro's reside in separate directories with the name of the profile in use. So, for example, if your profile is Mach2Mill , the the
folder will be ./Macros/Mach2Mill/*.m1s Also included is a toolfile tools.dat (Lathe or mill both use tools.dat) and it too resides in the profiles directory as above. No tools file is
distributed, as before, but a new file is created if none is found in the
new directory structure.
I really didn't want to go the route of legacy issues, but its time for
some radical changes to Mach2 so some things just had to change in the
development version. I have kept a spare build of the current lockdown for
bug fixes and repairs , but the development version will encompass future
feature upgrades and such. This is all in preperation for what I was
refering to as conversational screens, but I think the way its looking,
"Functional CNC" will be my prefered name. Basically it will entail pressing a button for a function "Like pocketing, flange drilling, chocolate cake
making..or whatever" and having the user designable screen become the only
screen for that functional run. All these "plug-ins" will have their own
directories and Mach2 will index them and present selections for them at run time. These changes will probably necessitate other legacy changes , but
I'll try to keep them to a minimum.
Thanks, Art www.artofcnc.ca
Yahoo! Groups Links
Yahoo! Groups Links
Yahoo! Groups Links
|
Re: Next Development Version and Legacy Issues. + Pendent Issues
Give me your email and I will send you the manual in pdf. It took alot of work to hunt this down and get it from Yaskawa. Shawn
toggle quoted message
Show quoted text
----- Original Message ----- From: "Peter Homann" <peter.homann@...> To: <mach1mach2cnc@...> Sent: Monday, March 01, 2004 5:16 PM Subject: RE: [mach1mach2cnc] Re: Next Development Version and Legacy Issues. + Pendent Issues Hi Jeff,
You seem to know more about the interface than I. I just had a quick look and assumed that it all went through the RS-232.
Do you know how I can get hold of the manual? It may be possible to use the existing I/F by using a micro processor as a converter or some what.
Cheers,
Peter Homann mailto:Peter.Homann@... Adacel Technologies Limited, 250 Bay St, BRIGHTON, 3186, AUSTRALIA <> Telephone +61 (3) 8530 7777, Facsimile +61 (3) 9596 2960 Mobile 0421-601 665
-----Original Message----- From: washcomp [mailto:jeff@...] Sent: Tuesday, 2 March 2004 12:09 PM To: mach1mach2cnc@... Subject: [mach1mach2cnc] Re: Next Development Version and Legacy Issues. + Pendent Issues
Peter:
I too have one of these pendants. My impression (please correct me if I'm wrong) is that the RS-232 is for the LCD display. The rest of the functions (with the excption of the E-Stop) seem to communicate to the controller (originally Yaksawa) through a protocol named YE-NET (DeviceNet maybe?). This seems to use a bus based network over one pair of wires where the devices along the bus are indevidually addressable. The data is then sent serialy.
The controller (MACH2)would have to interpet which key was pressed and the communications protocol would have to be converted to RS-232 usable signals/hardware.
I've considered using a keyboard emulator, but as you point out, there's no easy way to light the LED's.
Unfortunately I don't know enough about how to read or program the original microprocessor and flash ram that is in the pendant.
One of the other purchasers has come up with an English manual from Yaskawa for the pendant which might help if someone wants to take a whack at it.
Jeff
--- In mach1mach2cnc@..., "Peter Homann" <peter.homann@a...> wrote:
Art,
All the changes sounds excellent to me.
I have a question regarding the exporting the state of the system. Let me
explain.
I have one of the Pendents sold by Richard Piatek. These are very nice and
professional commercial unit. There is a one to one mapping for a lot of the
buttons on the pendent to the mach2 functionality. You must be doing things
right). all of these buttons have a LED indicator.
The pendent also has a 16x2 LCD character display, a 100 step/rev MPG and an
ESTOP button. Pictures of it are in the files area.
The pendent is controlled by a large FPGA and a H8 Micro controller and
communicates back to the original controller via RS-232. These are all on a
separate PCB.
My plan is to replace the PCB with one of my own. It seems a shame to just
connect the switches to a keyboard encoder as some plan to do. We could do
something really special. The reason for replacing the board is that I
believe that it will be too difficult to reverse engineer the existing
controller board.
Although the pendent is packaged beautifully, there is nothing stopping use
from putting all the same functionality into an "off the shelf" enclosure.
After all it just contains a lot of switches, LEDs, a 2x16 character lcd
display, estop switch, and a controller board.
One of the issues with just using a keyboard encoder is that the LEDs can
show state. For example, there are 3 buttons labelled X1,X10,X100. These are
the jog increments for the MPG. If X10 is pressed, then I assume that the
LED for that button will stay illuminated to indicate the current jog
increment. Also I'd expect the spindle Forward button's LED to flash when
the spindle is ON.
Initially I considered keeping the state of the system in the pendant's
micro controller. One of the first rules of software engineering is "If you
store the state of a variable in two places, one of then will be wrong"
So, what am I after? A method of interacting/controlling Mach2 via a serial
Port.
I don't know enough about the macro facility of Mach2 to know if a lot is
already there.
Does each function in Mach2 have an OEM code?
Does a keyboard shortcut invoke an OEM code?
Is each function invoked by an OEM code written as a macro and able to be
changed?
Can all of the variables that hold state, Spindle speed, MPG jog increment,
MPG selected axis, etc be read and written to via macros?
On possible method for what I want to do may be to invoke the OEM functions
via the serial port. That would mean that Mach2 would have to monitor the
port and process a command set. This command set could be very similar to
the existing OEM codes?
Also, it would be necessary to output the value of any states changes
invoked out through the serial port.
For example, the spindle on/off control.- The user pushes the Spindle
Forward button on the pendent. This sends an message (110 "M3") via the
serial port to Mach2. The function that this calls sends a message containing the state of the Spindle LED out of the serial port. The pendent
micro controller would process this message and update the associated LED on
the pendent. Also pressing the spindle button on the screen or pressing the
shortcut would also send out the Spindle LED state, as this is coded in the
function.
The use of the serial port for pendent control would be configurable.
Another example. The MPG encoder.- On the pendent the user would select, via
the rotary switch the axis, say the Y axis. This would send a message to
Mach2 which would update the screen and send back the selected axis. The
user then selects the X10 button. This sends a message to mach2 which sets
the jog increment. Mach 2 responds with a message containing this variable.
The pendent illuminates the LED. As the user rotates the MPG a stream of
messages indicating +/- movement is sent to Mach2.
How much of what I'm asking is already there? I know that reading the serial
port is not. How far away is that.
Another possibility may be. Is there a range of "User OEM Codes"? With these
I could write macro functions that do what I defined above. With this I
could implement a PS2 keyboard encoder still sending the state out of the
serial port, but would still want the normal keyboard as well.
Am I asking too much? I'm not sure. I'm guessing that eventually Mach2 will
be able to be used with a sophisticated pendent at some time.
I am happy to work on a pendent controller that will look after the pendent
pushbuttons, LEDs, LCD, rotary switches and MPG. A defined interface method
between Mach2 and the pendent controller would need to be identified. Once
the controller is complete, people could package it as necessary for their
application.
Sorry it's so long
Thanks,
Peter Homann mailto:Peter.Homann@a... Adacel Technologies Limited, 250 Bay St, BRIGHTON, 3186, AUSTRALIA <> Telephone +61 (3) 8530 7777, Facsimile +61 (3) 9596 2960 Mobile 0421-601 665
-----Original Message----- From: Art [mailto:fenerty@a...] Sent: Tuesday, 2 March 2004 10:01 AM To: mach1mach2cnc@... Subject: [mach1mach2cnc] Next Development Version and Legacy Issues..
Hi All:
Just so everyone is on the same page, next version release
will be a new
development version. (5.0) and it WILL have some legacy issues unfortunately. For example, ..m1s and .t1s extensions are all replaced just with the .m1s . Macro's reside in separate directories with the name of the profile in use. So, for example, if your profile is Mach2Mill , the the
folder will be ./Macros/Mach2Mill/*.m1s Also included is a toolfile tools.dat (Lathe or mill both use tools.dat) and it too resides in the profiles directory as above. No tools file is
distributed, as before, but a new file is created if none is found in the
new directory structure.
I really didn't want to go the route of legacy issues, but its time for
some radical changes to Mach2 so some things just had to change in the
development version. I have kept a spare build of the current lockdown for
bug fixes and repairs , but the development version will encompass future
feature upgrades and such. This is all in preperation for what I was
refering to as conversational screens, but I think the way its looking,
"Functional CNC" will be my prefered name. Basically it will entail pressing a button for a function "Like pocketing, flange drilling, chocolate cake
making..or whatever" and having the user designable screen become the only
screen for that functional run. All these "plug-ins" will have their own
directories and Mach2 will index them and present selections for them at run time. These changes will probably necessitate other legacy changes , but
I'll try to keep them to a minimum.
Thanks, Art www.artofcnc.ca
Yahoo! Groups Links
Yahoo! Groups Links
Yahoo! Groups Links
|
Ebay..for obsessive encoder people
2500CPR and differential output so no noise problems
|
Re: Next Development Version and Legacy Issues. + Pendent Issues
Hi Peter:
Does each function in Mach2 have an OEM code?
YEs, at least all the fucntion you currently can call as a user.
Does a keyboard shortcut invoke an OEM code?
It can, this is set in the screen designer..
Is each function invoked by an OEM code written as a macro and able to be changed?
No, most are internal functions.
Can all of the variables that hold state, Spindle speed, MPG jog increment, MPG selected axis, etc be read and written to via macros?
No, some can, but the list is very long indeed of all the variables. I haven't found a good way to pass them to the user or I would.....
On possible method for what I want to do may be to invoke the OEM functions via the serial port. That would mean that Mach2 would have to monitor the port and process a command set. This command set could be very similar to the existing OEM codes?
This is on the list, but may be awhile. Serial RX is not available yet. TX is no problem, but implementing rx is a problem due to lack of protocol. Some woudl like string message, some just numerical constants, hard to tell the best method, and thats why its been on hold for awhile.
Also, it would be necessary to output the value of any states changes invoked out through the serial port.
This isn't a problem , Mach2 can transmit now, simple hook to make it send packets, but I worry about the overhead, untested as to how much would slow everything down, this is all on the list but a bit low in priority. Like I said before though, when I return from vacation, I will list the list as it now stands and everyone here can set priorities on some of this. Perhaps someone bored can create a list on the database section of yahoo and everyoine could put their wish lists there so it can all be cooridnated somewhat..
Thanks, Art
Art www.artofcnc.ca
|
Re: still can not clear E-Stop in Mach 2
Robin,
When you have time please let me know what you did to get it working.
Bob Campbell Bob@... www.campbelldesigns.com Breakout board THC board sets CNC router plans Stepper Motors
toggle quoted message
Show quoted text
----- Original Message ----- From: "INDECO" <indeco@...> To: <mach1mach2cnc@...> Sent: Monday, March 01, 2004 6:20 PM Subject: Re: [mach1mach2cnc] Re: still can not clear E-Stop in Mach 2 I HAVE MOTION!!!!! errr... sorry for yelling :>) Just tooooo excited!!!
Thanks to all for the help!!!
Robin
PS... I LOVE THIS GROUP....;>)
----- Original Message ----- From: INDECO To: mach1mach2cnc@... Sent: Monday, March 01, 2004 5:53 PM Subject: Re: [mach1mach2cnc] Re: still can not clear E-Stop in Mach 2
The X & Y are yellow and the pulse frequency is "25742" None are green. ----- Original Message ----- From: Art Fenerty To: mach1mach2cnc@... Sent: Monday, March 01, 2004 5:14 PM Subject: [mach1mach2cnc] Re: still can not clear E-Stop in Mach 2
Robin:
On the diags page, all the input LED's should be off, are they?? Are any of them green? What is the pulse frequency on the diags page?
Art
Yahoo! Groups Sponsor ADVERTISEMENT
------------------------------------------------------------------------ ------ 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
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
|
Re: Question on index pulse
Hi Andy,
Are you actually talking about the signals on the wires to the motor or about a PWM signal generated by the VFD to indicate the frequency it is running at?
Mach2 uses the index pulse to determine RPM and is probably based a number of pulses per interrupt cycle. It may be based on the speeds you define in the pulley setup of the spindle. You would have to ask ART specifically.
Best, Ed Gilbert Gilbert Engineered Systems 632 Warrenton-Embro Road Macon, NC 27551 252-257-0539
toggle quoted message
Show quoted text
-----Original Message----- From: Andy Wander [mailto:awander@...] Sent: Monday, March 01, 2004 12:05 PM To: 'mach1mach2cnc@...' Subject: RE: [mach1mach2cnc] Question on index pulse
Of course, VFD means Variable Frequency, so is this actually a PWM signal? I'm so confused...
Andy Wander Verrex Corporation
-----Original Message----- From: washcomp [mailto:jeff@...] Sent: Monday, March 01, 2004 8:42 AM To: mach1mach2cnc@... Subject: [mach1mach2cnc] Question on index pulse
I notice that "index pulse" can be checked on the parallel input to pick up the true speed of a machine. Can the PWM frequency of a VFD be used for this? If so, can it be scaled in MACH2 to correspnd to the speed (I believe speed is a linear function to frequency, but the numeric value of one will not be the same as the other.
Jeff
Yahoo! Groups Sponsor
ADVERTISEMENT
Click HereClick Here
< eb /S=:HM/A=2019528/rand=446470174>
_____
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.
Yahoo! Groups Links
------------------------------------- This message has been scanned for viruses and dangerous content by NCOL.NET, and is believed to be clean.
|
Re: Next Development Version and Legacy Issues..
Art,
I use a separate CAM program now to pick direction. I just hate having to draw in one program, write cam files in another and cut in Mach 2. Just hoping to cut the CAM step out.
Thanks,
Mike Hammel www.fancyfoam.com 1704 Bullard Arkansas City, KS 67005
toggle quoted message
Show quoted text
----- Original Message ----- From: Art To: mach1mach2cnc@... Sent: Monday, March 01, 2004 6:57 PM Subject: Re: [mach1mach2cnc] Next Development Version and Legacy Issues..
Hi Mike:
Cutting direction is really something that best done in a cam program. I do have it on the list though to see what can be done. I'll give it some thought while I bask in the sun...
Thanks, Art www.artofcnc.ca
------------------------------------------------------------------------------ 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: Next Development Version and Legacy Issues. + Pendent Issues
Hi Jeff,
You seem to know more about the interface than I. I just had a quick look and assumed that it all went through the RS-232.
Do you know how I can get hold of the manual? It may be possible to use the existing I/F by using a micro processor as a converter or some what.
Cheers,
Peter Homann mailto:Peter.Homann@... Adacel Technologies Limited, 250 Bay St, BRIGHTON, 3186, AUSTRALIA <> Telephone +61 (3) 8530 7777, Facsimile +61 (3) 9596 2960 Mobile 0421-601 665
toggle quoted message
Show quoted text
-----Original Message----- From: washcomp [mailto:jeff@...] Sent: Tuesday, 2 March 2004 12:09 PM To: mach1mach2cnc@... Subject: [mach1mach2cnc] Re: Next Development Version and Legacy Issues. + Pendent Issues
Peter:
I too have one of these pendants. My impression (please correct me if I'm wrong) is that the RS-232 is for the LCD display. The rest of the functions (with the excption of the E-Stop) seem to communicate to the controller (originally Yaksawa) through a protocol named YE-NET (DeviceNet maybe?). This seems to use a bus based network over one pair of wires where the devices along the bus are indevidually addressable. The data is then sent serialy.
The controller (MACH2)would have to interpet which key was pressed and the communications protocol would have to be converted to RS-232 usable signals/hardware.
I've considered using a keyboard emulator, but as you point out, there's no easy way to light the LED's.
Unfortunately I don't know enough about how to read or program the original microprocessor and flash ram that is in the pendant.
One of the other purchasers has come up with an English manual from Yaskawa for the pendant which might help if someone wants to take a whack at it.
Jeff
--- In mach1mach2cnc@..., "Peter Homann" <peter.homann@a...> wrote:
Art,
All the changes sounds excellent to me.
I have a question regarding the exporting the state of the system. Let me
explain.
I have one of the Pendents sold by Richard Piatek. These are very nice and
professional commercial unit. There is a one to one mapping for a lot of the
buttons on the pendent to the mach2 functionality. You must be doing things
right). all of these buttons have a LED indicator.
The pendent also has a 16x2 LCD character display, a 100 step/rev MPG and an
ESTOP button. Pictures of it are in the files area.
The pendent is controlled by a large FPGA and a H8 Micro controller and
communicates back to the original controller via RS-232. These are all on a
separate PCB.
My plan is to replace the PCB with one of my own. It seems a shame to just
connect the switches to a keyboard encoder as some plan to do. We could do
something really special. The reason for replacing the board is that I
believe that it will be too difficult to reverse engineer the existing
controller board.
Although the pendent is packaged beautifully, there is nothing stopping use
from putting all the same functionality into an "off the shelf" enclosure.
After all it just contains a lot of switches, LEDs, a 2x16 character lcd
display, estop switch, and a controller board.
One of the issues with just using a keyboard encoder is that the LEDs can
show state. For example, there are 3 buttons labelled X1,X10,X100. These are
the jog increments for the MPG. If X10 is pressed, then I assume that the
LED for that button will stay illuminated to indicate the current jog
increment. Also I'd expect the spindle Forward button's LED to flash when
the spindle is ON.
Initially I considered keeping the state of the system in the pendant's
micro controller. One of the first rules of software engineering is "If you
store the state of a variable in two places, one of then will be wrong"
So, what am I after? A method of interacting/controlling Mach2 via a serial
Port.
I don't know enough about the macro facility of Mach2 to know if a lot is
already there.
Does each function in Mach2 have an OEM code?
Does a keyboard shortcut invoke an OEM code?
Is each function invoked by an OEM code written as a macro and able to be
changed?
Can all of the variables that hold state, Spindle speed, MPG jog increment,
MPG selected axis, etc be read and written to via macros?
On possible method for what I want to do may be to invoke the OEM functions
via the serial port. That would mean that Mach2 would have to monitor the
port and process a command set. This command set could be very similar to
the existing OEM codes?
Also, it would be necessary to output the value of any states changes
invoked out through the serial port.
For example, the spindle on/off control.- The user pushes the Spindle
Forward button on the pendent. This sends an message (110 "M3") via the
serial port to Mach2. The function that this calls sends a message containing the state of the Spindle LED out of the serial port. The pendent
micro controller would process this message and update the associated LED on
the pendent. Also pressing the spindle button on the screen or pressing the
shortcut would also send out the Spindle LED state, as this is coded in the
function.
The use of the serial port for pendent control would be configurable.
Another example. The MPG encoder.- On the pendent the user would select, via
the rotary switch the axis, say the Y axis. This would send a message to
Mach2 which would update the screen and send back the selected axis. The
user then selects the X10 button. This sends a message to mach2 which sets
the jog increment. Mach 2 responds with a message containing this variable.
The pendent illuminates the LED. As the user rotates the MPG a stream of
messages indicating +/- movement is sent to Mach2.
How much of what I'm asking is already there? I know that reading the serial
port is not. How far away is that.
Another possibility may be. Is there a range of "User OEM Codes"? With these
I could write macro functions that do what I defined above. With this I
could implement a PS2 keyboard encoder still sending the state out of the
serial port, but would still want the normal keyboard as well.
Am I asking too much? I'm not sure. I'm guessing that eventually Mach2 will
be able to be used with a sophisticated pendent at some time.
I am happy to work on a pendent controller that will look after the pendent
pushbuttons, LEDs, LCD, rotary switches and MPG. A defined interface method
between Mach2 and the pendent controller would need to be identified. Once
the controller is complete, people could package it as necessary for their
application.
Sorry it's so long
Thanks,
Peter Homann mailto:Peter.Homann@a... Adacel Technologies Limited, 250 Bay St, BRIGHTON, 3186, AUSTRALIA <> Telephone +61 (3) 8530 7777, Facsimile +61 (3) 9596 2960 Mobile 0421-601 665
-----Original Message----- From: Art [mailto:fenerty@a...] Sent: Tuesday, 2 March 2004 10:01 AM To: mach1mach2cnc@... Subject: [mach1mach2cnc] Next Development Version and Legacy Issues..
Hi All:
Just so everyone is on the same page, next version release
will be a new
development version. (5.0) and it WILL have some legacy issues unfortunately. For example, ..m1s and .t1s extensions are all replaced just with the .m1s . Macro's reside in separate directories with the name of the profile in use. So, for example, if your profile is Mach2Mill , the the
folder will be ./Macros/Mach2Mill/*.m1s Also included is a toolfile tools.dat (Lathe or mill both use tools.dat) and it too resides in the profiles directory as above. No tools file is
distributed, as before, but a new file is created if none is found in the
new directory structure.
I really didn't want to go the route of legacy issues, but its time for
some radical changes to Mach2 so some things just had to change in the
development version. I have kept a spare build of the current lockdown for
bug fixes and repairs , but the development version will encompass future
feature upgrades and such. This is all in preperation for what I was
refering to as conversational screens, but I think the way its looking,
"Functional CNC" will be my prefered name. Basically it will entail pressing a button for a function "Like pocketing, flange drilling, chocolate cake
making..or whatever" and having the user designable screen become the only
screen for that functional run. All these "plug-ins" will have their own
directories and Mach2 will index them and present selections for them at run time. These changes will probably necessitate other legacy changes , but
I'll try to keep them to a minimum.
Thanks, Art www.artofcnc.ca
Yahoo! Groups Links
Yahoo! Groups Links
|