585,930 active members*
4,169 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Fanuc > Proximity crossreference TLM2ME1 to PNP
Results 1 to 17 of 17
  1. #1
    Join Date
    Dec 2005
    Posts
    59

    Proximity crossreference TLM2ME1 to PNP

    Hello all,

    I have a Moriseki I am working on with a 6T control and I need to replace some of the turret position switches. They are PNP and NOT the TL-M2ME2 (NPN, NC). When I looked up the PDF for the TL-M2ME2 it does not show a PNP variety and the TL-M2ME2 seems to be obsolete.

    I have some TL-M2ME2 proximity so I thought I would use a relay to switch the input. Apparently, the input is floating and I need a pull down resistor to make it work. Unfortunately, I don't know the resistor size needed but it should not be too hard to figure out.

    Does anyone have a cross reference for the TL-M2ME2 to PNP and know the pull down resistor value needed to make the relay work as a temp fix until I can get the right parts?

    Does it seem odd this machine would have PNP inputs? It has been awhile since working on a vintage SL-3 but I seem to remember they were NPN. The I/O board is a A20B-0007-004.
    Jack of all, master of none
    Galveston, TX

  2. #2
    Join Date
    Dec 2003
    Posts
    24221
    You could use a NPN transistor to invert them, just connect a 560ohm res to from the collector of the PNP to common, then connect a 1k resistor in series from the the base of the NPN to the junction of the prox and 560 ohm and wire the emitter to common and wire the collector of the NPN to the machine input.
    2 resistors and 1 NPN.
    If the machine needs PNP then it is usually because the input sinks to common instead of sourcing to +24v.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  3. #3
    Join Date
    Dec 2005
    Posts
    59
    Quote Originally Posted by Al_The_Man View Post
    If the machine needs PNP then it is usually because the input sinks to common instead of sourcing to +24v.
    Al.
    I am a little confused in your statement. The input wants 24V+ in order to turn the bit on. If the input wanted common it would be NPN?
    According to the datasheet of the TLM2ME2 the sensor is NPN and the load is directly connected to 24+ and is switching common.

    Are you saying I cannot use a pull down resistor from the input to common and use a relay tied to the NPN proximity?
    Jack of all, master of none
    Galveston, TX

  4. #4
    Join Date
    Dec 2003
    Posts
    24221
    Yes sorry you need the reverse I outlined if you need to convert a NPN prox to PNP for a sink type of input card, so you need a PNP transistor and reverse the order of common and make it +24v instead, the res values would be the same.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  5. #5
    Join Date
    Dec 2005
    Posts
    59
    I've included a diagram of two configurations and am confused (once again).

    According to the prints there are many inputs connected to the IO board. On the other side of the contacts before the input is 24V+. The proximity are not drawn well enough to understand if PNP or NPN. However, one would surmise if the other inputs are being fed from 24V+ on the other side of the contact the proximity should be PNP?

    With the input wire removed the voltage measures 24VDC with respect to com!
    On a good proximity, when off, measures about 2VDC with respect to com at the input.
    When the proximity measures 24VDC at the input the status bit is on.

    I connected a relay to the NPN proximity and switched 24VDC to the input. The status bit is always high and hence the problem.

    According to the included file for PNP sourcing I should not have 24VDC at the input when the load is disconnected?
    Jack of all, master of none
    Galveston, TX

  6. #6
    Join Date
    Dec 2003
    Posts
    24221
    Those reading are confusing and a bit contradictory.
    I would NOT have expected 24v at the a sinking type input, (source input device used)?
    One usual way to confirm it is to take the input directly to +24v and then common in turn and see which changes the state of the Input bit on the diagnosis screen.
    This should indicate the nature of the input and indicate whether a PNP or NPN would work.
    (Keep in mind you can also get N.O. and N.C. prox sw)!
    I just checked my 6T manuals and they show +24v on the I/O card and 24N (com) feeding the input switches/devices.
    This would confirm seeing 24v+ at an open input?
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  7. #7
    Join Date
    Dec 2005
    Posts
    59

    Drawing

    Now you have me worried! I am new to this machine as I am helping someone out. I don't know who has been in the machine or what was done.
    Can you take a look at this pic and see if it is similar to yours? It is labeled +24N which is weird. Usually it is 24N or 24P. I cannot tell if this has been pencil whipped. I cannot trace back 160 to it's origin to know the polarity.

    I do not believe this is a sinking input! I applied 24VDC to the inputs and the data bits go high. I shorted com to the input and it shorts out the supply.
    Jack of all, master of none
    Galveston, TX

  8. #8
    Join Date
    Dec 2003
    Posts
    24221
    According to those inputs, the card appears to be sinking the inputs, i.e. +24 supplied to the input sourcing/switch device?
    Especially as you confirm it from the test? I don't know why they shut down on opposite polarity?
    That would make the Prox PNP?
    It is different from the machine manual I have, however.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  9. #9
    Join Date
    Dec 2005
    Posts
    59
    Is the PNP/NPN dependent on part number of the board? Part number A20B-0007-004. Does Fanuc make sink/sourcing IO for the 6T control?

    I really need to understand where I am at here. Oddly enough.... The reference proximity switch was not working. I installed a NPN sensor and it would not work. I then tied the sensor to a relay and directly switched 24VDC to the input and it worked. However, it will not work for the turret switches.

    The reason I was asked to work on this machine was due to the Z axis not referencing. The input is not registering to the NC. The wiring rings OK but no data bit change. I ordered a replacement board but I am hesitant to install it until I get this figured out.

    On these drawings the outputs are sinking... Usually when the outputs are sinking the inputs are as well. I think somehow the +- power is switched.
    Jack of all, master of none
    Galveston, TX

  10. #10
    Join Date
    Feb 2011
    Posts
    640
    dunno the card numbers, but our 6 controls had jumpers in the wire wraps for input and output polarity- except for the 12bit spindle outputs which sink only...

  11. #11
    Join Date
    Dec 2005
    Posts
    59
    OK, in reading through the Fanuc manual it shows limit switch connection to +24N. The "N" part throws me a bit but the power supply is showing +24N and 0L. So, is it safe to say that all Fanuc 6T has sourcing inputs?

    Does anyone have a diagram that shows otherwise?
    Jack of all, master of none
    Galveston, TX

  12. #12
    Join Date
    Dec 2003
    Posts
    24221
    I checked another 6MB prints for a Dahlih mill and all the I/O cards show +24vdc fed direct to the cards and -24v fed to all input device commons, indicating a card sourcing - input device sinking?
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  13. #13
    Join Date
    Dec 2005
    Posts
    59
    Can you post that print so I can see it?

    I have gotten the inputs to work properly. I connected a 400OHM resistor from common to the input and it brought it down to 3VDC and the input went off. As I said earlier, if I directly connect common to the input it shorts out the power supply.
    Jack of all, master of none
    Galveston, TX

  14. #14
    Join Date
    Dec 2005
    Posts
    59
    I was in error. This machine kicked my butt and still continues to..

    The turret proximity switches are NPN, sinking the inputs. However, the reference switches are PNP. It appears that before I got there they connected an NPN proximity to the Z reference and it would not work.

    Now I have a new issue I am desperate for help on.

    The turret will not index properly to the tools except for tool position #2. I found a truth table and every position matches the bits observed at 157, 0,1,2,3,4,5,7 but only tool 2 will lock in. Once in tool position 2 and manually ask for position 3 it decelerates to 3 and stops but will not lock in. Tool 5 command just indexes the turret forever.

    When I arrived there was a 904 alarm and I had to clear the bubble and re-enter parameters from a sheet in the panel that looked as old as the machine. They had nothing recent on file.

    Is it possible there are parameters related to turret positioning or the number of positions? There were a few PC parameters, on this 6T control ,on paper and I have no list of PC parameters. Oddly, the control panel shows 8 turret positions but the selector switch is 12 positions. Either someone changed the control panel layout or the machine was retrofitted from 8 to 12 position turret. How does the control know how many turret positions there are (parameter?).

    This is a moriseki SL3 with a 6T control.
    Jack of all, master of none
    Galveston, TX

  15. #15
    Join Date
    Dec 2003
    Posts
    24221
    Does it show the input bit register for each turret location in the diagnostics?
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  16. #16
    Join Date
    Dec 2005
    Posts
    59
    Yes.
    Position
    1- 11000011
    2- 11000110
    3- 11000101
    4- 11001010
    5- 11001100
    6- 11001001
    7- 11010010
    8- 11010100
    9- 11010001
    10- 11100010
    11- 11100100
    12- 11100001

    Not sure what bit 6 is, never changes. Bit 7 is clamp/unclamped, 5- LS13, 4- LS12, 3- LS11, 2-LS10, 1-LS9, 0-LS8.
    Starting at about 7 O-clock is LS12, then 9 O'clock LS11, then 12 O'clock LS10, 1 O'clock LS9, then 1:30 LS8, then 3O'clock LS14, then 5 O'clock LS13.

    It appears that LS12, 11, 13 trigger off the outter most dogs and 10,9,8 off the inner dogs.

    Maybe I got a proximity flipped somehow (I don't think I did, but worse things have happened).

    I manually stopped the turret at each position and recorded the bits at 157 and compared with another 12 turret machine of another vintage.

    I am stumped. I had to replace some proximity but have no way of knowing if NC or NO. However, the status bits are right.

    I need a emoticon for pulling hair out.
    Jack of all, master of none
    Galveston, TX

  17. #17
    Join Date
    Dec 2005
    Posts
    59
    I got it!

    They had the ladder and I was able to find a bit for 10 position turret and it was high. The written down parameters were wrong for the machine on the PC side. It was parm 3003 bit 7. Needs to be a zero if not a 10 position turret logic will be used.
    Jack of all, master of none
    Galveston, TX

Similar Threads

  1. Proximity vs Limit
    By kolias in forum CNC Machine Related Electronics
    Replies: 2
    Last Post: 03-30-2012, 12:28 AM
  2. PROXIMITY HELP
    By GANESHAN in forum CNC Machine Related Electronics
    Replies: 2
    Last Post: 12-29-2011, 06:01 PM
  3. PROXIMITY SWITCH ?
    By Chappyd in forum Hyundai Kia
    Replies: 2
    Last Post: 01-15-2009, 02:25 AM
  4. Looking for Proximity switches.
    By Marwell in forum Want To Buy...Need help!
    Replies: 3
    Last Post: 01-08-2009, 10:42 PM
  5. proximity switches
    By rcrabb in forum DIY CNC Router Table Machines
    Replies: 6
    Last Post: 07-21-2003, 05:27 AM

Posting Permissions

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