585,735 active members*
4,971 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2015
    Posts
    2

    Fanuc 31i Ladder Help

    Dear All,
    I have stucked on 31i ladder. I want to trigger a signal(example Y0002.1) by using M code(example M17 or M58 anyway). How am i set the correct M code parameter and find the address? I want to get 24v from Y2.1(or else exit way) to my pneumatic valve for tool length measurement device.

    Another example, M21/22 trigered by R1324.4 address and my custom ladder works perfect for CTS. R1324.4 is defined in R address book. I linked to the Y2.0 for 24v input to my contactor.

    Thanks.

  2. #2
    Join Date
    Aug 2019
    Posts
    145

    Re: Fanuc 31i Ladder Help

    There are a few different ways M-codes are decoded (created) in the newer ladders. You should try to locate the method the OEM has used and see if the M-codes you want are already decoded.
    Just finding this has become increasingly difficult over the years as many ladders have no symbols or the verbiage is convoluted.
    Then you need to determine the method they used to create the Finish signal.
    Once you have these it is usually possible to add m-codes.

    Or you could simply decode the M-code you want and see if it works and if any adverse issues occur. <- never the 1st choice!!

    Some OEMs have gone to some length to make it increasingly difficult to add what used to be a fairly simple item.
    Some OEM's also use High Level Language (executer) to try to stop addition of M-codes and outputs as well.

  3. #3
    Join Date
    Sep 2015
    Posts
    2

    Re: Fanuc 31i Ladder Help

    I have done.
    you should get a triger signal from F7.2(M function signal). Then decode F10 address to a variable(it could an empty one). Then decoder decodes a 8 block of data. You can get your M code by using .X . For example If tou want M23, you can get by using E0605.3.
    First you decode F10 to E0605. It gets M20 to M27. After that you should get a closing signal to G4.3(m code function finish) . Don't forget to link emg(G8.4) and reset(F1.1) buttons.

  4. #4

    Re: Fanuc 31i Ladder Help

    Quote Originally Posted by bacargan View Post
    I have done.
    you should get a triger signal from F7.2(M function signal). Then decode F10 address to a variable(it could an empty one). Then decoder decodes a 8 block of data. You can get your M code by using .X . For example If tou want M23, you can get by using E0605.3.
    First you decode F10 to E0605. It gets M20 to M27. After that you should get a closing signal to G4.3(m code function finish) . Don't forget to link emg(G8.4) and reset(F1.1) buttons.
    You did good

Similar Threads

  1. Fanuc Ladder III ladder editing
    By ulfnilsen in forum Fanuc
    Replies: 1
    Last Post: 03-19-2022, 05:50 PM
  2. Download / Backup Ladder Fanuc 31i Model B
    By the_catalyst in forum Fanuc
    Replies: 2
    Last Post: 03-26-2020, 11:39 PM
  3. Replies: 7
    Last Post: 04-11-2018, 03:57 AM
  4. Replies: 1
    Last Post: 04-14-2014, 07:41 PM
  5. Need help Fanuc 31i
    By vmdrafik in forum Drilling- and Milling Machines
    Replies: 0
    Last Post: 01-05-2014, 01:24 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
  •