603,893 active members*
3,947 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Fanuc > how to have more than 32 characters in one block
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2006
    Posts
    1792

    how to have more than 32 characters in one block

    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.

  2. #2
    Join Date
    Sep 2005
    Posts
    767
    Nope. But, if you edited your macros on a PC, then sent them to the control with an RS232 link, you won't have that limitation.

  3. #3
    Join Date
    Jun 2008
    Posts
    1511
    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. #4
    Join Date
    Feb 2006
    Posts
    1792
    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.

Similar Threads

  1. Replies: 11
    Last Post: 11-18-2014, 08:08 AM
  2. Vibrating Characters on the CRT Screen
    By MetalZilla in forum Haas Lathes
    Replies: 2
    Last Post: 08-22-2008, 07:36 PM
  3. Bad Characters
    By gplush in forum Haas Mills
    Replies: 5
    Last Post: 02-09-2008, 06:00 AM
  4. VF-4 Control computer repeating characters
    By Drkk in forum Haas Mills
    Replies: 5
    Last Post: 11-02-2005, 05:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •