wrench
Titanium
- Joined
- Jul 9, 2002
- Location
- Sunnyvale, CA
I have a new to me Mitsubishi Meldas M3 based machining center to which I want to add a Renishaw TS27R tool setter. I got the CD to generate the macros and ran that. Fundamentally, the output is a collection of 10 or so macros, one of which is configures all of the common variables. The start of this macro is as follows:
%
O9750(REN_SETTING)
(F-4012-0584-0Y)
G90G80G40G0
#129=1(MM)
IF[#4006EQ21]GOTO10
IF[#4006EQ71]GOTO10
#129=1/25.4(INCH)
()
()
()
N10
#101=8.(FIRST*PROBE*TOUCH)
#127=197.(RAPIDTRAVERSE)
#110=0.394(TOOLS*ABOVE*ROTATE)
#111=3.937(CUTTER*DIA*ABOVE*SINGLE*SIDE)
#138=0.(LONG*TOOL)
#139=0.(SHORT*TOOL)
#124=79.(SEARCH*FEEDRATE)
#113=3.937(INITAL*CLEARANCE)
#114=0.394(SECONDARY*CLEARANCE*Z)
#125=0.2(RADIAL*CLEARANCE*)
#117=0.2(DEFAULT*OVERTRAVEL)
#145=0.0002(ZONECHK)
#105=0.012(BACK*OFF)
()
#102=1.(OFFSET*TYPE)
#120=520(BASENUMBER)
#104=-1.(PROBE*ORIENT)
#103=1.(SINGLE*SIDED*SELECTION)
()
Unfortunately, I cannot get the Renishaw macros to run because I end up with a format error. I single stepped through the macro and found that the error (#33) is on the line that is fourth from the botton: #120=520(BASENUMBER)
I looked at this for a bit and realized that the only difference between it and the preceding lines was the fact that 520 did not have a decimal point on it, so I added it and ran again. Lo and behold, the macro got through this line but failed on another one later on. But this puzzles me for several reasons. First, why would Renishaw create a product specific for the Meldas/Fanuc type controls that produces content that cannot be run... That just doesn't ring true... Second, although not a definitive test, I hand load common variable 120 with 520 (no decimal point) and the value is taken. Finally, and perhaps most curious, I wrote a small MDI program that exercised the common variable:
#120=300
#120=10
#120=150
#120=520
This runs without any error. I also tried changing the program number to something that wasn't in protected memory (in this case, O111) but the format error still shows up (frankly, what I expected).
So, I'm in a conundrum. I'd like to understand what is *different* about the program versus my tests. Maybe this is a parameter setting someplace? If so, I didn't see anything that looked like it was related to this type of behavior in the manuals (granted, the manuals are not very good though...). I've also searched the web for people with similar problems, but that hasn't netted any decent results...
Does anyone have ideas?
Thanks!
Full Disclosure: This is a new machine to me. My previous machines were all conversational, so my experience with G code is limited. Further, this is the first time I have setup (or will have used) a Renishaw probe. Again, however, the problem I'm seeing now is stock out of Renishaw's macro generation program, and there are no options in that process that look like they'll address the issue.
I check the manual and couldn't find anything to i
%
O9750(REN_SETTING)
(F-4012-0584-0Y)
G90G80G40G0
#129=1(MM)
IF[#4006EQ21]GOTO10
IF[#4006EQ71]GOTO10
#129=1/25.4(INCH)
()
()
()
N10
#101=8.(FIRST*PROBE*TOUCH)
#127=197.(RAPIDTRAVERSE)
#110=0.394(TOOLS*ABOVE*ROTATE)
#111=3.937(CUTTER*DIA*ABOVE*SINGLE*SIDE)
#138=0.(LONG*TOOL)
#139=0.(SHORT*TOOL)
#124=79.(SEARCH*FEEDRATE)
#113=3.937(INITAL*CLEARANCE)
#114=0.394(SECONDARY*CLEARANCE*Z)
#125=0.2(RADIAL*CLEARANCE*)
#117=0.2(DEFAULT*OVERTRAVEL)
#145=0.0002(ZONECHK)
#105=0.012(BACK*OFF)
()
#102=1.(OFFSET*TYPE)
#120=520(BASENUMBER)
#104=-1.(PROBE*ORIENT)
#103=1.(SINGLE*SIDED*SELECTION)
()
Unfortunately, I cannot get the Renishaw macros to run because I end up with a format error. I single stepped through the macro and found that the error (#33) is on the line that is fourth from the botton: #120=520(BASENUMBER)
I looked at this for a bit and realized that the only difference between it and the preceding lines was the fact that 520 did not have a decimal point on it, so I added it and ran again. Lo and behold, the macro got through this line but failed on another one later on. But this puzzles me for several reasons. First, why would Renishaw create a product specific for the Meldas/Fanuc type controls that produces content that cannot be run... That just doesn't ring true... Second, although not a definitive test, I hand load common variable 120 with 520 (no decimal point) and the value is taken. Finally, and perhaps most curious, I wrote a small MDI program that exercised the common variable:
#120=300
#120=10
#120=150
#120=520
This runs without any error. I also tried changing the program number to something that wasn't in protected memory (in this case, O111) but the format error still shows up (frankly, what I expected).
So, I'm in a conundrum. I'd like to understand what is *different* about the program versus my tests. Maybe this is a parameter setting someplace? If so, I didn't see anything that looked like it was related to this type of behavior in the manuals (granted, the manuals are not very good though...). I've also searched the web for people with similar problems, but that hasn't netted any decent results...
Does anyone have ideas?
Thanks!
Full Disclosure: This is a new machine to me. My previous machines were all conversational, so my experience with G code is limited. Further, this is the first time I have setup (or will have used) a Renishaw probe. Again, however, the problem I'm seeing now is stock out of Renishaw's macro generation program, and there are no options in that process that look like they'll address the issue.
I check the manual and couldn't find anything to i