![]() | |
| 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
| ||||
| ||||
Hey guys, sorry if someone already asked a similar question before, but I could not find an answer through forum search. I wonder if it is possible to write some control characters to the RS-232 interface when the NC-program is going to end (close to the M30). Is there some G- or M-Code that sends out some data when it is triggered? We want to track the time one product takes to finish. That would help us to improve the scheduling of current tasks :-) I have got all the manuals (maintenance, parameters, etc.) for the 18iTB-control but did not find the answer that i am looking for. Kind regards, CriBer |
|
#2
| |||
| |||
Its likely that your control will have the User Macro Executable, but it is an Option; accordingly, you need to check if you don't already know. If User Macro is available, the External Output Commands BPRNT and DPRNT can be used for this purpose. Because Output is stopped and subsequent data is erased when a reset operation is performed, M30 will cause this to happen. As you want to output your data close to the end of the program, you can achieve this by one of the following methods: 1. By calling a Macro Program, or Sub Program to perform the Output operation immediately prior to the M30 being executed, therefore passing control to the Macro or Sub Program. 2. Specify a Close command at the end of the program so that processing M30 is not performed until all data is output. There is no Status bit that can be Output, but you could simply makeup your own Status Code. Regards, Bill |
|
#3
| ||||
| ||||
| BPRNT and DPRNT are exactly what I was looking for! Thank you very much. I already testet DPRNT and I am going to use it as a macro (G65P9999A...) where I can set my status as a number (i.e 1=start, 2=pause, 3=end, 101=Tool1 Offset 1, etc). in the main program: G65 P9999 A...; Macro:
CriBer |
![]() |
| 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 |
| Current status of my machine | ssutton | DIY-CNC Router Table Machines | 2 | 08-22-2011 06:40 PM |
| question about machine interface | timberfab | Torchmate | 1 | 02-04-2008 05:40 PM |
| Hypertherm Machine Interface | MaXx | General Electronics Discussion | 1 | 05-01-2007 11:33 PM |
| How Does the CAM software Interface with the CNC machine? | Ninhil | General CNC (Mill and Lathe) Control Software (NC) | 4 | 02-04-2007 09:56 PM |