584,874 active members*
5,449 visitors online*
Register for free
Login
Results 1 to 9 of 9
  1. #1
    Join Date
    May 2008
    Posts
    157

    PMC write with NC Program

    Is anyone aware of any method using which A PMC parameter can be written through a NC Program ?

    I want to write to R7000.0 and R7000.2 which I' am using in the ladder for generating an alarm in certain conditions. I' am able to write to this PMC parameter using FOCAS but I would also like to have the option of writing into this with an NC Program.

    Cheers

  2. #2

    Re: PMC write with NC Program

    If you write #1000=1 in the program then F54.0 will turn on in the ladder. You must turn off F54.0 by writing #1000=0 in the program. You can use F54.0 to turn on R7000.0 If you use #1001it will turn on F54.1 This is assuming you have Fanuc 16/18/21 as you didn't specify. Also must have Macro B option turned on.

  3. #3
    Join Date
    May 2008
    Posts
    157

    Re: PMC write with NC Program

    Quote Originally Posted by drdos View Post
    If you write #1000=1 in the program then F54.0 will turn on in the ladder. You must turn off F54.0 by writing #1000=0 in the program. You can use F54.0 to turn on R7000.0 If you use #1001it will turn on F54.1 This is assuming you have Fanuc 16/18/21 as you didn't specify. Also must have Macro B option turned on.
    Do you mean to say that I have to make changes in ladder to have F54.0 write to R7000.0 ? In that case, I need to write 2 bits ( Bit 0 and Bit 2), Is this a possibility ?

    My machines are OiMD, OiMF, 31iMB controllers with Macro B option turned on.

  4. #4

    Re: PMC write with NC Program

    Yes,
    #1000 turns on F54.0
    #1001 turns on F54.1
    #1002 turns on F54.2
    #1003 turns on F54.3.....and so on....you get the picture

  5. #5
    Join Date
    May 2008
    Posts
    157

    Re: PMC write with NC Program

    Thanks, got the picture

    The problem is that I' am not very conversant with Ladder programming and moreover I' am also not very comfortable getting the ladder edited by a third party as then for every new machine I have to get this third party to edit the ladder for me. Someone from Fanuc told me that there is a procedure from which one can write to PMC parameters directly unless they are protected.

  6. #6

    Re: PMC write with NC Program

    The CNC (Part Programs) and the PMC (Ladder) can only talk using G and F addresses in the ladder. G addresses go to the CNC and F address come from the CNC. You can also use the #3000 to display alarms. If you know that your condition has been met you can simply write #3000=1( TOOL LIFE OVER) then when the program read that line whatever in in the parentheses will be displayed on the alarm page.

  7. #7
    Join Date
    May 2008
    Posts
    157

    Re: PMC write with NC Program

    My case is mentioned below.

    Using Focas I' am monitoring idle time to get a proper picture of OEE. There are Idle codes for which M codes have been made and these Idle codes can also be activated through a Kiosk (some kind of hand held device / smart phone / tablet).

    I' am using R7000.0 and 7000.0 to control the cycle start actuation. Cycle start will be disabled after a certain period of idle time without an assigned reason and wont get activated until the operator assigns the reason code through Kiosk OR M Code.

    There is no issue when using a kiosk type device as then I can write the PMC parameter through Focas but the problem comes when I use an M Code as then I cant enable or disable the R 7000 PMC Parameter.

    In such a case my only option is to have some more ladder modification to activate R7000 with F54 commands OR have only Kiosk as the option for activating Idle codes.

    drdos, thanks a lot for your inputs.

  8. #8
    Join Date
    Sep 2006
    Posts
    25

    Re: PMC write with NC Program

    Quote Originally Posted by drdos View Post
    If you write #1000=1 in the program then F54.0 will turn on in the ladder. You must turn off F54.0 by writing #1000=0 in the program. You can use F54.0 to turn on R7000.0 If you use #1001it will turn on F54.1 This is assuming you have Fanuc 16/18/21 as you didn't specify. Also must have Macro B option turned on.
    Which documents (manual ) should I read about # in programming? I could not find in programming manual about # or programming to read and wrie Input or output of PMC.
    Thanks

  9. #9

    Re: PMC write with NC Program

    The function manual has the most information. Then you are going to need the PMC ladder book to show you how to implement it.

Similar Threads

  1. Okuma will not write program
    By 60sMoparGuy in forum Okuma
    Replies: 4
    Last Post: 01-12-2014, 06:24 PM
  2. Write program
    By mike sr1 in forum Tormach Personal CNC Mill
    Replies: 10
    Last Post: 02-11-2012, 11:17 PM
  3. How to write a code program to cut threads
    By jjenks in forum NCPlot G-Code editor / backplotter
    Replies: 7
    Last Post: 04-22-2008, 03:18 AM
  4. Possible to write variables to a program?
    By Heavy D in forum G-Code Programing
    Replies: 2
    Last Post: 08-22-2006, 05:08 AM
  5. someone wanna write a program?
    By ljoe1969 in forum DIY CNC Router Table Machines
    Replies: 2
    Last Post: 06-07-2004, 01:47 AM

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
  •