587,997 active members*
1,801 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Fanuc > MTConnect missing comments (parenthesis) with Fanuc 30i / 31i / 32i
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2017
    Posts
    1

    MTConnect missing comments (parenthesis) with Fanuc 30i / 31i / 32i

    Hello to all members,
    I'm a software developer who is extrapolating info from Fanuc CNC using MTConnect protocol, in particular I'm interested in retrieving blocks with comments (parenthesis) because I put a G4 command with specific information within parenthesis that can be then parsed and used server-side (we have a database sever-side).
    I'm using the following adapter:
    https://github.com/mtconnect/adapter

    Dwell command example to wait 1 second and write the comment CMD001:
    G4X1(CMD001)


    With a Fanuc 16i CNC everything works as expected, I retrieve the comments from the blocks calling an installed agent (of course an adapter is installed too) and then parse them server-side.
    However I'm having problems doing the same with Fanuc 30i / 31i / 32i CNCs because the comments for G4 are missing.
    For instance G4X1(CMD001) is automatically changed to G4X1.
    Seems almost like the default behaviour for Fanuc 30i / 31i / 32i is to skip the comments for G4 (maybe for optimization purpose?).

    Does anyone know if there is a setting to enable comments / parenthesis for G4 command for Fanuc series 30i / 31i / 32i?
    I'm really at a loss on why there is such a difference between Fanuc 16i and Fanuc 30i / 31i / 32i.

    Any kind of help is really appreciated.

  2. #2
    Join Date
    Dec 2013
    Posts
    5716

    Re: MTConnect missing comments (parenthesis) with Fanuc 30i / 31i / 32i

    Is there another unique identifier, like a line number, for the output G-code? I assume you are ''watching'' the machine running in real time. If both of these items are true, then you could look up the input G-code and grab the comment from the original rather than trying to make changes to the machine controller. Might be much safer to do.

    Maybe you could post a code snippet of the output G-code, might be helpful.
    Jim Dawson
    Sandy, Oregon, USA

Similar Threads

  1. MTConnect
    By greggfikes in forum Computers / Desktops / Networking
    Replies: 0
    Last Post: 05-23-2015, 05:20 PM
  2. MTConnect Help
    By wklove in forum Haas Mills
    Replies: 5
    Last Post: 09-10-2010, 11:22 PM
  3. Replies: 6
    Last Post: 04-16-2010, 01:35 PM
  4. fanuc program comments
    By Rich 72 in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 3
    Last Post: 09-04-2007, 01:38 PM
  5. How do I enter comments into a Fanuc OiM?
    By Darc in forum Bridgeport / Hardinge Mills
    Replies: 4
    Last Post: 02-09-2005, 02:42 PM

Tags for this Thread

Posting Permissions

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