pfelecan

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • in reply to: Cannot reply anymore in a topic #10248
    pfelecan
    Member

    I succeeded to answer to the original topic using a Chrome 55.0.2883.91 on Android 6.0.1 but after 3 answers I’m stuck on this one also.

    in reply to: Wiring an NPN NC inductive proximity switch #10246
    pfelecan
    Member

    When I’m measuring between Spin and Gnd it can be 3.1V, 3.2V or 3.3V

    in reply to: Wiring an NPN NC inductive proximity switch #10245
    pfelecan
    Member

    The measurements are between Gnd and 3.3V and the reading is 3.41V, on every one.

    in reply to: Cannot reply anymore in a topic #10243
    pfelecan
    Member

    I can reply only to a topic which is less than 2 pages.

    My browser is Firefox 45.7 running on Debian Strech (testing).

    in reply to: Cannot reply anymore in a topic #10241
    pfelecan
    Member

    Now, even creating a topic is not working anymore but when I retry to create a topic it gives me the same error as previously mentioned. IMHO the data store has an issue.

    in reply to: Cannot reply anymore in a topic #10237
    pfelecan
    Member

    Now, if I try to resubmit my reply it says:

    ERROR: Duplicate reply detected; it looks as though you’ve already said that!

    IMHO there is something wrong as if it recorded one of my previous and identical replies but it doesn’t show up in the topic.

    Well, I’ll try tomorrow.

    in reply to: Cannot reply anymore in a topic #10236
    pfelecan
    Member

    I am logged otherwise how could I start a new topic?
    Anyhow, I logged out and in again to no avail: my submission/reply is not taken into account. I never thought that I have black cats in my ancestry.
    Maybe should I start a new topic ?

    in reply to: Wiring an NPN NC inductive proximity switch #10228
    pfelecan
    Member

    Just a note on the previous message, I’m measuring 3.3V on the output of a laboratory power supply when its output is on 3.3V. Consequently I don’t think that the meter is in question.

    in reply to: Wiring an NPN NC inductive proximity switch #10227
    pfelecan
    Member

    When I’m measuring the 3.3V supply, i.e. between Gnd and 3.3V sockets on the J7 terminal block I get 3.415V; the same on J8.

    By the way, I was quite surprised to see that when you activate the Spin with M03 the voltage is varying between 3.1V and 3.3V measured between the Spin and Gnd on J6, but that it’s another story.

    in reply to: Wiring an NPN NC inductive proximity switch #10225
    pfelecan
    Member

    What follows will show how ingenuous I am in electronics.

    In short, the circuit that I’ve shown in my previous
    message works.

    What I ignored in the experiment’s presentation is that I
    put a voltmeter between the emitter of the optical-coupler
    and the ground of the TinyG, serial. Thus, in this
    configuration I measure 3.3V when the proximity switch
    doesn’t detect and 0V when it detects.

    When I put the voltmeter in parallel, i.e. between the
    emitter and the collector of the optical-coupler I measure
    1.04V when the proximity switch does not detect and 3.41V
    when it detects and of course the limit is tripped as
    expected.

    If I follow an empirical instinct I would say that if it
    works it satisfies my needs and I let it be. But, my
    mathematics education is aggravated and I would like to
    understand.

    So, if there is somebody who can shed light on what I’m
    observing and help me understand I would be eternally
    thankful.

    in reply to: Wiring an NPN NC inductive proximity switch #10224
    pfelecan
    Member

    Here is a follow-up:

    I’m using an opto-coupler to isolate the inductive
    proximity switch and the input to the X min of the
    TinyG. Unfortunately it doesn’t work as expected.

    The schema of the circuit is https://drive.google.com/file/d/0B5X2WpozISvuV2pjY004eEZESlU/view?usp=sharing

    The inductive proximity switch LJ12A3-4-ZBX is connected
    to a 12V PSU as follows: the brown wire to the positive,
    the blue wire to the negative. When the IPS does not
    detect the tension on the black wire (the signal) is 12V;
    when the IPS detects the tension drops to 0V.

    In order to use an opto-coupler, the Sharp PC817, I connect
    the signal to a resistor of 808 Ohm which is connected to
    the anode of the opto-coupler; the cathode is connected to
    the ground of the PSU. The collector is connected to the
    Xmin on the J7 of the TinyG and the emitter to the ground
    on the same bank.

    In this configuration, the tension measured between the
    collector and the emitter is of 3.3V when the IPS is not
    detecting and, as expected, the tension drops to 0V when
    the IPS is detecting.

    I’ve set the switches type to NC with $st=1.

    The Xmin type is set to limit with $xsn=2.

    However, the board is not reset and the SpDir LED
    doesn’t flash when the IPS detects.

    Just for completeness I tried with the $st=0 but to no
    avail. Also tried the Zmax because it works with a
    micro-switch. Finally, I tried also to reverse the
    connection on the collector/emitter side to Gnd/Xmin.

    I saved the board’s configuration https://drive.google.com/file/d/0B5X2WpozISvub21aek90eUExQWs/view?usp=sharing

    My two questions are:

    1. Is the circuit correct?

    2. If the circuit is correct, why the limit tripping is
    not detected?

    in reply to: Wiring an NPN NC inductive proximity switch #10211
    pfelecan
    Member

    The SSRs that I’m using for that part of the experiment are:

    – Schneider Electric 3 A SPNO Solid State Relay, DC, PCB Mount MOSFET, 60 V dc Maximum Load
    – Schneider Electric 5 A SPNO Solid State Relay, DC, Panel Mount MOSFET, 60 V dc Maximum Load

    The one that I used for the spindler start/stop (Spin) is “Carlo Gavazzi 25 A SPNO Solid State Relay, Zero, Panel Mount, 265 V ac Maximum Load”

    For the pure opto-coupler par I’m discovering the following OKs:

    – Sharp PC817X2NSZ0F DC Input Transistor Output Optocoupler, Through Hole, 4-Pin PDIP
    – Fairchild H11F3M DC Input Transistor Output Optocoupler, Through Hole, 6-Pin PDIP

    in reply to: Wiring an NPN NC inductive proximity switch #10207
    pfelecan
    Member

    Yeah, I know, using an SSR is a desperate mean and a perfect illustration of the syndrome of knowing how to use a hammer so that everything seems to be a nail. However, functionally it’s a valid solution even though a little bit over-engineered, isn’t it?

    in reply to: Wiring an NPN NC inductive proximity switch #10205
    pfelecan
    Member

    Thank you for the pointers and for the additional information.

    I must confess that there is confusion on what really means NO and NC. I found at least 2 contradictory definitions. But maybe it is my understanding which is deficient.

    The 2 next exploration paths will be to use an optocoupler or a SSR to ensure isolation. The first one seems to be a lot cheaper and compact but the second one is easiest to implement as everything is supported without additional components.

    For completeness and validation I’ll come back in a few days with the results of my experiments and eventual schema.

    in reply to: Wiring an NPN NC inductive proximity switch #10203
    pfelecan
    Member

    Thank you for your answer.

    The issue with these cheap inductive proximity switches is the difficulty to find reliable, i.e. non contradictory documentation. I bought them as NPN NC and, in my foggy understanding, the behavior is NC, i.e the circuit is closed (conducting) when not detecting. This is why I use an empirical method to determine what should be done.

    The only data-sheet that I found on the LJ12A3-4-ZBX is:
    https://www.alibaba.com/product-detail/M12-Cylinder-inductive-proximity-switch-LJ12A3_60380094925.html

    From what you’re writing I understand that you are worrying about a variability of the device’s resistance which will make a variation in the overall characteristics of the circuit and the value of my resistors will have a different effect, i.e. the voltage can be higher or lower than what’s expected.

    Still, I have 2 questions:

    1. is the circuit diagram correct?
    2. what’s the most reliable solution when using these devices to reliably pull-down the tension toward the TinyG?

    TIA

Viewing 15 posts - 1 through 15 (of 15 total)