GithubHelp home page GithubHelp logo

Comments (5)

repetier avatar repetier commented on June 27, 2024

Till now only gen7 can't disable singe steppers.

The logic for disabling steppers in in Repetier-Firmware has in fact a wrong logic. Only after emptying the move queue it checks for steppers to be disabled. Not a problem with printing, but also not as expected. I will correct that for version 0.46.

from repetier-firmware.

 avatar commented on June 27, 2024

Many thanks that works well :-) service with a smile. BTW no big deal, but to get the M80/M81 commands working I need to change the code to write the output low (current code just reverts back to input).

    case 80: // M81 - ATX Power On
    wait_until_end_of_move();
    if(PS_ON_PIN > -1) pinMode(PS_ON_PIN,OUTPUT); //GND
    digitalWrite(PS_ON_PIN, HIGH); //**********
    break;
  case 81: // M81 - ATX Power Off
    wait_until_end_of_move();
    //if(PS_ON_PIN > -1) pinMode(PS_ON_PIN,INPUT); //Floating
    digitalWrite(PS_ON_PIN, LOW); //***********
    break;

from repetier-firmware.

repetier avatar repetier commented on June 27, 2024

Thanks for the M80/81 info. I have no Gen7 to test, so I belive you that it works and will add it for the next release.

from repetier-firmware.

repetier avatar repetier commented on June 27, 2024

I just tried to validate your fix for atx power. It turned out that every firmware implementing it has it done the way I have. Reading the ATX specs, it says gnd is needed to enable and floating or high to disable it. Your changes inverse the existing logic. So is it possible you used the M80/81 commands just in the wrong order?
M80 is Power on
M81 is Power off

from repetier-firmware.

 avatar commented on June 27, 2024

Yes, I have reversed it as I use a transistor on the output so that when the output is high the transistor is on and ATX green wire grounded and when output is low the transistor is off, atx green wire floating or high at 5V. I don't like the idea of connecting the output of the ATmega644 directly to the ATX 5V supply - risk having 5V on ATmega644 with no supply rail on.

from repetier-firmware.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.