![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Parametric Programing (custom macro b, fadal macro, okuma user task) |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| ||||
| ||||
Hi, I want to make the values of X,Y,Z as 0.000 on absolute page through a macro program. Is it possible to do such thing ? I probably think that its possible because some parameters may be keeping track of X,Y,Z values. If we assign the parameter value to Zero, then automatically the Values of X, Y, Z will be assigned to zero. Does anyone knows about the parameter which keeps track of X,Y,Z Values ? Thanks Ashish |
|
#2
| ||||
| ||||
| Hi, Searched some books and finally got the variable which tracks values on Absolute page. They are - #5041 - X axis #5042 - Y axis #5043 - Z axis. I also made a macro program to assign the values to 0.0. G90 G54 G80 #5041=0.0 M30 But it doesnt works. The value of X axis (on absolute page) remains unchanged.....:-( I think that these variable are READ ONLY & user is not allow to change the values. Thanks |
|
#5
| |||
| |||
G90G10L2P1X0.0Y0.0Z0.0; G11; this should zero your g54 work offset, I have never tried it with the variable # in the formula but it may work. might look like this. G90G10#5041=0.0; G11; BE SURE TO INCLUDE G11, shuts data setting off!!!!!!! |
| Sponsored Links |
|
#6
| ||||
| ||||
| The following codes work absolutely fine. The workoffset is set to Zero properly. G90G10L2P1X0.0Y0.0Z0.0; G11; But if the following codes are commanded that alarm (ILLEGAL ADDRESS ERROR) is generated. G90G10#5041=0.0; G11; Need help |
|
#7
| ||||
| ||||
| A couple of things: #5041 is READ ONLY. G11 is not required for setting work coordinates with G10. It is required for Program Parameter Input with G10 L50 or tool life management data setting G10 L3. What exactly are you trying to accomplish? |
|
#8
| |||
| |||
| If you want to set the work offsets without using G10 the variable numbers for the standard 6 generally are. I do not remember any machine/control where they are at a different location. The extended offsets and tool offsets are not as well defined. Code: X axis Y axis Z axis 4th etc. G54 #5221 #5222 #5223 #5224 G55 #5241 #5242 #5243 #5244 G56 #5261 #5262 #5263 #5264 G57 #5281 #5282 #5283 #5284 G58 #5301 #5302 #5303 #5304 G59 #5321 #5322 #5323 #5324 EXT #5201 #5202 #5203 #5204 Last edited by Andre' B; 10-14-2011 at 09:48 AM. Reason: Added the external work offset |
|
#11
| |||
| |||
| Your absolute values will read 0(zero) on your absolute page if you program our G54-G59(which ever you are using) and then program X0Y0Z0. Other then that there is nothing you can do with these. As Dave asked....."what are you trying to do" and why???? As I am sure you know your absolute values are nothing more then what you specify as your origin and what position you are from that. Stevo |
![]() |
| 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 |
| How do we get absolute to Zero?? | Fine01 | Fanuc | 1 | 10-23-2007 08:55 AM |
| Absolute zero of the CNC Machine. | Evolution VIII | DIY-CNC Router Table Machines | 7 | 06-16-2007 11:43 PM |
| Display Absolute on tool offset page | billm | Fanuc | 0 | 02-14-2007 02:12 PM |
| Arrow, Page Up & Page Down Keys - Rhino Video Tutorial | Robert Schutz | Rhino 3D | 0 | 04-25-2006 10:09 AM |
| NC reading tool length from offset page, not data page..? | RMagnusson | Mazak, Mitsubishi, Mazatrol | 1 | 03-21-2006 04:07 PM |