PWM LED always lighted

Home Forums TinyG TinyG Support PWM LED always lighted

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #7927
    Artmaster
    Member

    Gentlemen, I need your help.
    I’m just tried to start using TinyG
    PS=13.5V (temporary).
    Blue power indicator LED is lit, but red LED (PWM) is being lit also. First a few second after start its blinks a little and then – permanently light.
    PWM led always lighted
    Is it wrong condition? How can I solve it?
    CoolTermWin shows string – see the picture please.
    CoolTerm_Win1
    CoolTerm_Win2
    Thank you.

    #7928
    cmcgrath5035
    Moderator

    You are running the most current FW, good.

    LED is on because , likely, $p1pof=0.1, the default value.

    For deeper discussion, see:

    #7929
    Artmaster
    Member

    Thank you, but there are CJM Controller installed and have reason to set up, or change value of $p1pof.
    Let me know please, same condition, like mine – is it normal mode of LED, CoolTermWin return?

    #7931
    cmcgrath5035
    Moderator

    I am not sure what you are asking.
    $p1pof = 0.1 means that in the off state, the PWM phase (pulse width) is 10%.
    This may, or may not, be the correct value for your PWM controller IF you have one.
    $p1pof=0.1 WILL result in the LED being on all the time (actually 10% ON but hard to tell defference between 10% and 100%)

    If you are using a PWM spindle, you have to set up for your particular controller, etc. The reference I provide is for one particular (and common) interface.

    If you are not using PWM, but want the LED to turn off when spindel not running, set $p1pof to 0.0

    #7933
    Artmaster
    Member

    “$p1pof = 0.1 means that in the off state, the PWM phase (pulse width) is 10%.”
    – I understand now. Thank you.
    The LED is illustrate indefinite state of pulse width on the moment. I’m just wonder – usualy that LED isn’t lighting on the video from other people -that’s why I worried.
    Will be nice to get table of state for LED’s, pin’s volumes for any operations…

    #7934
    cmcgrath5035
    Moderator

    There is no one location for all LED indicators; a good rainy day project I suppose.

    You can start here:

    Then wander thru other wiki items that will reveal what the LEDs are telling you.

    Enjoy

    #7935
    Artmaster
    Member

    Of course I learn this page and will do that many times.. Thank you for your help.
    By the way. Many times I met attention about polarity of PS for TinyG. is it difficult to install diode and close that sourse of disaster?

    #7936
    cmcgrath5035
    Moderator

    It would have to be a substantial diode and perhaps a fuse of some sort – Vmot can be some substantial current Power Supply.
    Even with that, Silicon diode might not be adequate.

    I have had same thought; it is a challenge for sure.

    #7956
    Artmaster
    Member

    Pardon me. I use the command $p1pof = 0.0, but it’s Lighting anyway. Just interesting… how it’s work?!

    Lighting anyway

    #7958
    Artmaster
    Member

    Bingo! solve it. already 🙂 I connected to TinyG stepper motor from CDROM as Motor 4 and decreased trimpot to 9 oclock. Stepper moved, LED is off. I’m almost happy.

    done

    • This reply was modified 9 years, 4 months ago by Artmaster.
    #7959
    cmcgrath5035
    Moderator

    In CoolTerm, issue an M5 (spindle off) Gcode command.
    Or you may have to issue M3 (Spindle on) then an M5.

    The spindle was off.
    You have to give tinyG a reason to read the new parameter value for off state.

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.