![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
This snippet is in exact parallel to the sample in the manual. It is for testing purposes, to get the hang of using the command: % O2233(SAMPLE DPRINT) POPEN DPRNT[C**X#502[3]Z#503[3]] PCLOS M30 % It outputs the C and the X then raises "FORMAT ERROR IN MACRO". I know some of these manuals (the one I am using is FANUC B-63524EN/01, 16i-TB,18i-TB, 160i-TB, 180i-TB, pp 333,334 ) sometimes contain errors. If you have DPRINT commands that work could you post or send them to me along with the output they generate? |
|
#2
| ||||
| ||||
|
|
#4
| |||
| |||
| I was going to suggest the same: You need 2 digits in the square brackets: DPRNT[C**X#502[44]Z#503[44]] 4+4 is the number of characters output where 4 are after the decimal point. If you wanted to output the number as an integer it would be say [40] where you only want the first 4 digits output and no values after the decimal! are you printing your probe offsets by chance? |
![]() |
| 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 |
| DPRINT Command 18Mi | RLMTS | Fanuc | 9 | 11-09-2011 03:15 PM |
| Problem- DPRINT with EThernet | Torsten | Fanuc | 3 | 07-15-2010 07:30 PM |
| DPRNT COMMAND | harinct | Machine Problems, Solutions , Wireless DNC, serial port | 0 | 12-21-2009 04:38 AM |
| # sign using dprint | Buddy Swanson | Parametric Programing | 0 | 01-04-2009 12:45 PM |
| Need Help!- DPRNT command in Yasnac J100 | hense | Machine Problems, Solutions , Wireless DNC, serial port | 0 | 09-23-2008 01:38 AM |