![]() | |
| 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
| |||
| |||
Macro programming can be used for several mathematical applications also. For example, one can calculate standard deviation of a given set of data, can solve quadratic equation, sum a series (e.g. factorial of a number) etc. The problem arises when one has to insert a block with more than 32 characters. For example, for calculating standard deviation I needed to type the following statement: #104 = #104 + [#103 - # [#101]] * [#103 - # [#101]]; This has 40 characters which I could not type beyond 32 characters. So, I had to break this statement into two blocks which, of course gives correct result. My question is that is it possible to continue typing a block to the next line?. FORTRAN uses a continuation character in the next line. Do we have a similar option on fanuc CNC. |
|
#3
| |||
| |||
| I have never seen any way to type more characters on the control itself. Maybe the newer controls you can. When I have long calculation lines or a lot of characters as you have I download the program instead of typing at the control. For whatever reason if you must do it at the control you should be able to get this in 1 block instead of splitting it into two. I don’t know if there are limitations to the control that you are using on how many characters you can have per block. The blocks of the program can usually be a lot longer then what you can type at the bottom of the control. What kind of control are you using? I can do as follows to get it all into the same block. #104 = #104 + [#103 - # [#101]] EOB insert. Now highlight this code then type the reset * [#103 - # [#101]] and do not put an EOB just push insert. The last code should go right after the first all in the same block. Stevo |
|
#4
| |||
| |||
| My control is 0i Mate TC, with 7.2" screen. I can type only 34 characters while editing a program (previously, I wrote 32 incorrectly). Possibly, on a wider screen, a few more characters could be typed. "I can do as follows to get it all into the same block. #104 = #104 + [#103 - # [#101]] EOB insert. Now highlight this code then type the reset * [#103 - # [#101]] and do not put an EOB just push insert. The last code should go right after the first all in the same block." I have tried this. It does not work. Actually, you cannot insert any "arbitrary" thing. It has to be "logically correct", and the control follows its own logic. As Dan said, there is possibly no way you can type more than a certain number of characters, using the MDI panel. RS-232 method has to be used. This, of course, is a limitation of the control. Fanuc should consider this problem. |
![]() |
| 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 |
| Need Help!- Vibrating Characters on the CRT Screen | MetalZilla | Haas Lathes | 2 | 08-22-2008 01:36 PM |
| Bad Characters | gplush | Haas Mills | 5 | 02-08-2008 11:00 PM |
| Help with Optional Characters on the EOB Button | AZDEN | Fanuc | 10 | 11-05-2007 11:20 AM |
| Number of characters in Tooltip | sanddrag | Suggestions for the CNCzone.com site. | 1 | 05-24-2006 03:46 PM |
| VF-4 Control computer repeating characters | Drkk | Haas Mills | 5 | 11-02-2005 10:32 AM |