![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Fanuc Discuss Fanuc controllers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
In our wire machine there is a parameter number 15201 , (this is an 18i ontrol on a fanuc wire edm). The parameter controls the reverse alarm distance. i.e. if the wire shorts out the machine will attempt to move backwards to clear the short and then start cutting again. If it moves beyond the distance specified in this parameter, the machine will alarm out.. I need to be able to change the parameter from within a program. Does anyone know how to do this? Thanks again, you guys are great! |
|
#2
| |||
| |||
This looks like a pretty good site for some variable... I mean valuable tips!! allows parameter change from within a program... http://www.machinetoolhelp.com/Appli...statement.html |
|
#5
| |||
| |||
| 070121-1427 EST USA REVCAM Bob: On a HAAS machine, these are similar to Fanuc, many parameters can be directly changed thru an associated #number variable. In HAAS this requires MACROS. If your 15201 is actually the numeric part of a #number address, then you could do #15201 = 2.345 or what ever and assuming it can be changed at any time. If not there may be some other #number address associated with this parameter. In a few cases in HAAS changing a variable does not take immeadiate effect. . |
| Sponsored Links |
|
#6
| |||
| |||
I tried all of the following: G10L50 N15201 R30000 G11 ==> 003 Alarm: Value exceeding maximum number of character was detected. ;then G10L50 N15201 R00030000 G11 ==> 003 Alarm: Value exceeding maximum number of character was detected. ;then G10L50 N15201 R00030000 ==> 003 Alarm: Value exceeding maximum number of character was detected. ;then G10L50 ==> 110 Alarm: Absolute value of fixed point representation exceeds allowable range. ;then N15201 R00030000 ==> 003 Alarm: Value exceeding maximum number of character was detected. Maybe it thinks it is a line number.... ?? % N1 O1(9 MINUTES) N2 (R1TAB1S2S) N3 M31 (MACHINING TIMER RESET) N4 M15 P0 (VERTICAL CUTTING) N5 G90 (ABSOLUTE POSITIONING) N6 G10 P1 B0 (DO NOT SKIP LINE /1) N7 G10 P2 B0 (DO NOT SKIP LINE /2) N8 G10 P3 B1 (SKIP LINE /3) N9 G10 P4 B1 (SKIP LINE /4) N10 M45 N11 G53 Z-1.0 N12 G53 X-10.85974 Y-14.40714 (PALLET 12) N13 G93 X0 Y0 N14 G92 X0 Y0 N15 (EDM3 A2/D2 1.500 123STRAIGHT) N16 G10 P1 R0.00782 (REDUCED 0.0002) N17 G10 P2 R0.00547 N18 G10 P3 R0.00515 N19 G10 P10 R0.00588 G10 L50 N15201R00030000 G11 N20 G10P1(A2/D2 1.500 123STRAIGHT)K1X11Y4Z31U6V140W23I13J6A130C10E13Q0L165 N21 G11P1Y12X1Z1U500V3W2 N22 G10P2(A2/D2 1.500 123STRAIGHT)K2X11Y6Z6U2V90W64I2J0A170C13E6Q0L362 N23 G11P2Y12X1Z1U1000V1W2 N24 G10P3(A2/D2 1.500 123STRAIGHT)K3X12Y8Z0U2V80W30I0J0A170C13E4Q1L441 N25 G11P3Y3X1Z1U1000V0W2 N26 G10P20(REDUCED FLOW)K1X11Y4Z31U6V140W23I13J6A130C10E4Q0L165 N27 G11P20Y12X1Z1U500V3W2 N28 G10 P9998 R0.0000 (CLEARANCE) N29 #101=#5023 N30 #103=#5024 N31 #102=#101+0.00000 N32 #104=#103+0.00000 etc.................... |
|
#8
| |||
| |||
| First find out what the current value is in N15201 then try changing it by -1 to see if it works. With fanuc macros enabled you can MDI #15201=#15201-1; Otherwise something like what you tried earlier, but try a smaller number... G10L50 N15201 R30 G11 The error ==> 003 Alarm: Value exceeding maximum number of character was detected. looks like your just trying to put too large a number in. You would have to check the manual for the max value allowed. Dale |
|
#11
| |||
| |||
| If the parameter number you are changing controls more than one axis, you have to specify the axis number you want to change. G10L50 (programable parameter entry ON) N15201 P Axis number R setting value (1=X, 2=Y, 3=Z...etc) G11 (programmable paremeter entry OFF) Also, some values can not be changed with a G10 statement due to the way the software controls that action. If you change it from the parameter screen and it throws an alarm for power down, you obviously won't be able to change it in cycle. If you are putting a decimal point in the setting value, it won't like it either.
Last edited by codyst; 01-22-2007 at 06:05 AM. Reason: Spelling |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 0TC parameter for more memory? | jani | Fanuc | 32 | 01-16-2010 04:44 PM |
| Rapid to (# set by Parameter) What's yours? | Scott_bob | G-Code Programing | 8 | 07-13-2009 07:05 AM |
| parameter list | Drye-123 | Fanuc | 4 | 06-16-2008 11:56 PM |
| L50 parameter write | Bluesman | General CNC (Mill and Lathe) Control Software (NC) | 0 | 02-09-2006 05:49 AM |
| Anyone got any basic examples of a program using a subroutine/program? | Darc | CamSoft Products | 11 | 10-08-2005 11:45 PM |