586,065 active members*
4,747 visitors online*
Register for free
Login
Results 1 to 3 of 3

Threaded View

  1. #1
    Join Date
    Sep 2019
    Posts
    2

    DPRNT for manual probing (FANUC 30i)

    Hi

    I made a small macro that I will use to probe and set up parts on my machine using a 3d probe.
    I jog the machine to different positions around my parts and run this macro and have it output the current tip position. In the macro below I have all this set and it works good.
    It outputs as follows:

    14500.000 3400.000 -2000.000

    %
    O1234
    G4X1.
    #101=PRM[12318]
    #135=#5001
    #136=#5002
    #137=#5003
    #138=#137-#101
    POPEN
    DPRNT[#135[53]*#136[43]*#138[43]]
    PCLOS
    G4X1.
    M30
    %

    The problem I am having is it outputs a PRNT0000.DAT (if PRM6019 bit 3 (OFN) is set to 0) file for each position I run the macro at or it just overwrites the MCR_PRNT.TXT (if PRM6019 bit 3 (OFN) is set to 1 ) file with the last position the macro was run at. Is there a way to output multiple positions in one MCR_PRNT.TXT/PRNT0000.DAT file?

    Example:

    14500.000 3400.000 -2000.000
    14000.500 3000.500 -1500.000
    13500.000 2500.000 -1000.500

    Any help or advise will be much appreciated
    Last edited by Doc_Johnson; 09-04-2019 at 08:57 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
  •