![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Fadal Discuss Fadal machinery here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
The manual shows sets of variable arrays that are supposed to be available to macros. Specifically, the G() array. (Not to be confused with g-codes). When I try to test the value for G(5), I get an error when trying to start my program. It says, "Illegal syntax in line" or something to that effect. My suspicion is that the software is older than that for which the manual I have was written for. Can anyone tell me if there is some way to programmaticly determine whether the machine is in G90 or G91 besides using the G(5) variable? I have a 1400-4 CPU, if that helps. The machine is a '95 RT Thanks |
|
#2
| |||
| |||
| Problem solved. Neal was kind enough to help me with this off-site. G10 can determine the machine absolute/incremental state among other things. Basically, G10 can be used to set R parameters. However, it does so differently depending on whether the machine is in absolute or incremental mode. In absolute mode, the R parameter is *replaced* with the "P" value. In incremental, the R parameter is *altered* In both cases the syntax is identical. R9+5. (assign a value to R9 G10 L109 P10. (L10* represents the R parameter where * is a number between 0-9 If the machine is in absolute (G90) mode, R0 = 10. If the machine is in incremental (G91) mode, R0 = 15. Not real elegant, but certainly useful. Thanks again Neal. |
![]() |
| 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 |
| G47 MACRO 599 QUESTION | panaceabea | Haas Mills | 6 | 04-09-2009 04:27 PM |
| Macro B Question | Bluetech | Fanuc | 7 | 03-10-2009 12:58 AM |
| 21i Macro Question | marcwdci | Fanuc | 3 | 03-11-2008 02:04 PM |
| Question about Buying an older Bridgeport | watsonstudios | Bridgeport and Hardinge Mills | 1 | 02-18-2008 07:50 PM |
| Drawbar spring question on fadal vmc15 | Edster | Fadal | 3 | 02-10-2006 09:47 AM |