Hello Guest it is April 20, 2024, 05:06:45 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 - FV21

Pages: 1
1
Mach4 General Discussion / Re: Variables and Parameters list
« on: February 06, 2017, 08:56:30 AM »
After a few days of probing and testing the algorithm, finally I can say them work.
By now this ones wich I share here are working.
For each machine you have to set some parameters in the file O9724.txt where you have to put the feed rate, the tolerance of your measures and other thing commented there.
If you have any doubt about what are the place where the values go to be stored check the excel table attached where it says where it gonna be. There's a trick, where the Haas variable number is commented in the programs you will se theres is a diference of 50 positions exactly. That was a way to make the program fit in the place where I know that I can make changes.
Anyway, hope you can use them and when I finish another cycle I will share with you.
Regards,

Franco

2
Mach4 General Discussion / Re: Variables and Parameters list
« on: February 01, 2017, 04:30:20 PM »
finally this is the algorithm to a safe movement.

Code: [Select]
%
O9810(REN PROTECTED POSN )
G65 P9724
IF [#9NE #0]GOTO3
IF [#117NE #0]GOTO2
#3000=88(NO FEED RATE )
N2
#9=#117
N3
#117=#9
#148=0.1
N4
G31 X #24Y #25Z #26F #9
IF [#24EQ #0]GOTO5
IF [ABS [#5041-[#24]]GT #123]GOTO8
N5
IF [#25EQ #0]GOTO6
IF [ABS [#5042-[#25]]GT #123]GOTO8
N6
IF [#26EQ #0]GOTO7
IF [ABS [[#5043-#116]-[#26]]GT #123]GOTO8
N7
GOTO9
N8
#148=7.
IF [#13EQ1. ]GOTO9
#3000=86(PATH OBSTRUCTED )
N9
M99
%

3
Mach4 General Discussion / Re: Variables and Parameters list
« on: February 01, 2017, 04:26:55 PM »
here is a table wich I build to work with...

4
Mach4 General Discussion / Re: Variables and Parameters list
« on: February 01, 2017, 03:32:15 PM »
Well I'm building the things to make this work. To improve this I'll update my files with my progress.
Here we go.
Sorry if I leave some comments in spanish hahaha.
Any help will be appreciated.

5
Mach4 General Discussion / Re: Variables and Parameters list
« on: January 31, 2017, 03:03:25 PM »
Fantastic Steve!
Thanks for the info. As you said I'm asking to me what is #50601, and I'm looking for the Fanuc CNC Custom Macros in the innet but without look.
Anyway, as you said I have to understand both machines, for now I'm do it by the experimental way, putting the code in the subroutine folder and checking every parameter, variable or setting that makes me lock the machine.
So I have many things to read. Thanks a lot for your help, I'll look for the book but in case you have somewhere that book digital can you share it with me, please?
Thanks in advance.

Franco.

6
Mach4 General Discussion / Re: Variables and Parameters list
« on: January 31, 2017, 08:47:54 AM »
Thanks for reply! The fanuc controller is something that I dont have, but I get the files. I don't know exactly this things.
1. 99 Tools said the person who found the files
2. Memory C if we are lucky, we are not sure. But Can you tell me the differences? because in google I didn't find info about Model C or I'm confused about the way to search about it.
3. I don't understand this one. May be is about where I think to put the subroutines and the settings, well by now I'm settings this manually for my own porpose. With the parameters that I need. But with a clean backup to make it functional in every case. If this is not what you need, please ask again.

I already have the Industrial license and the fanuc manual too. But what I cant find is a complete Variable and parameter list of the Mach4.  In the forum I found one list but is not complete I think.
At the end of the this history probably I'll write my own routines for the Mach4 after all I have the original ones provided for a Fanuc and export it from that to Mach4 probably will be just a few hours if I found the correct variables and parameters.

The idea for that point is translate this:

Code: [Select]
%
O9810(REN PROTECTED POSN)
IF[#50601EQ1]GOTO1000(VIRTUAL MACHINING)
#15=0
WHILE[#15LT1000]DO1
#14=#1000
IF[#14EQ1]GOTO1
#15=#15+1
END1
GOTO1000
N1
G65P9724
IF[#9NE#0]GOTO3
IF[#117NE#0]GOTO2
#3000=88(*NO*FEED*RATE)
N2
#9=#117
N3
#117=#9
#148=0
G31X#24Y#25Z#26F#9
IF[#24EQ#0]GOTO5
IF[ABS[#5041-[#24/#108]]GT#123]GOTO8
N5
IF[#25EQ#0]GOTO6
IF[ABS[#5042-[#25]]GT#123]GOTO8
N6
IF[#26EQ#0]GOTO7
IF[ABS[[#5043-#116]-[#26]]GT#123]GOTO8
N7
GOTO9
N8
#148=7.
IF[#13EQ1.]GOTO9
#3000=86(*PATH*OBSTRUCTED)
N9
IF[#107EQ1]GOTO1000
#9101=#9101(MEASURE MACRO)
N1000M99
%

To a full compatible Gcode with Mach4.

Again, thanks for your time and help. I'll update every progress and then maybe we can use the macro call to inspect a point of a surface with our Gcode.

Have a nice day,

regards.

Franco.


PD: Sorry for my english.

7
Mach4 General Discussion / Re: Variables and Parameters list
« on: January 30, 2017, 09:47:06 PM »
Thanks for the reply.
I have al the subroutines of fanuc and haas renishaws probes. I mean, I already have the subroutines codes but there's a problem with the memory allocation with each variable that the subroutine use. So to make this I need to know what I have in the mach4 allocated in memory like variables and parameters. I think is not very difficult having the original codes, in fact I just have to put the right memory for each variable of the subroutine and debug it with probe experiments on known shapes with high precision measures to understand the behaivor of the software in progress.
So the request is if someone can help to find out the equivalences between Haas or Fanuc variables and parameters with Mahc4.
Thanks for your time and have a good night.
Regards,
Franco.

8
Mach4 General Discussion / Variables and Parameters list
« on: January 30, 2017, 07:30:23 AM »
Hi everyone!
I'm looking for a Variable and Parameters list but with the total of them 'cause I've found the one wich is in the forum but is not enought. I'm looking to export a Renishaw probe Subroutines to a Mach4 Industry so to do that I need an specific list to check the compatibility of the Haas Program provided by Renishaw.
Any help will be useful. Thanks in advance.
Best regards,


Franco.

9
Mach4 Toolbox / Re: Mach4 SUB to do sequential S/N engraving
« on: January 28, 2017, 11:59:07 AM »
I know this is an old post, but this is helping me with a project for university... I'm working with the mach4 industrial and building a post processor for SolidCAM fully compatible with mach4.
The quesiton here is:
If I put a file like O9810.txt where the file, In example, has the subroutine of a Renishaw probe operation, when I call the macro in my program like

G65 P9810 X34.54 Y54.98
G65 P9810 Z1

Then mach4 will understand that my call is for the subroutine I save in the Subroutines folder? Or how it works?
In other case, if I make a macro with Lua Script like the example provided in the manual called M1005, then when I program the post processor to execute M1005 with the necesary parameter Mach4 will understand that it have to make the macro Gcode?

Any help will be useful, thanks in advance.

Sorry for my english.


Franco.

Pages: 1