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


Results 1 to 2 of 2

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

  1. #1
    Registered
    Join Date
    Oct 2017
    Location
    Italy
    Posts
    1
    Downloads
    0
    Uploads
    0

    Default 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.

    Similar Threads:


  2. #2
    Community Moderator Jim Dawson's Avatar
    Join Date
    Dec 2013
    Posts
    5717
    Downloads
    0
    Uploads
    0

    Default 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


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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

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

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