<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>GCode für Pin auslesen.</title>
        <description> Moin moin aus HU
Irgendwie häufen sich die Probleme mit meinem Drucker. Hat jemand zufällig den GCode parat, um den Zustand eines PINs auszulesen. Habe schon gegoogelt und die Wiki GCode Liste durchsucht. Bin leider nicht fündig geworden.</description>
        <link>https://reprap.org/forum/read.php?247,844715,844715#msg-844715</link>
        <lastBuildDate>Sun, 14 Jun 2026 19:08:02 -0400</lastBuildDate>
        <generator>Phorum 5.2.23</generator>
        <item>
            <guid>https://reprap.org/forum/read.php?247,844715,845752#msg-845752</guid>
            <title>Re: GCode für Pin auslesen.</title>
            <link>https://reprap.org/forum/read.php?247,844715,845752#msg-845752</link>
            <description><![CDATA[ ... Repetier sollte mit Marlin2 eigentlich auch laufen - die anderen G-Codes sollten gleich geblieben sein.<br />
<br />
Das sind die Optionen des M43-Codes:<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />
/**<br />
 * M43: Pin debug - report pin state, watch pins, toggle pins and servo probe test/report<br />
 *<br />
 *  M43         - report name and state of pin(s)<br />
 *                  P  Pin to read or watch. If omitted, reads all pins.<br />
 *                  I       Flag to ignore Marlin's pin protection.<br />
 *<br />
 *  M43 W       - Watch pins -reporting changes- until reset, click, or M108.<br />
 *                  P  Pin to read or watch. If omitted, read/watch all pins.<br />
 *                  I       Flag to ignore Marlin's pin protection.<br />
 *<br />
 *  M43 E - Enable / disable background endstop monitoring<br />
 *                  - Machine continues to operate<br />
 *                  - Reports changes to endstops<br />
 *                  - Toggles LED_PIN when an endstop changes<br />
 *                  - Cannot reliably catch the 5mS pulse from BLTouch type probes<br />
 *<br />
 *  M43 T       - Toggle pin(s) and report which pin is being toggled<br />
 *                  S  - Start Pin number.   If not given, will default to 0<br />
 *                  L  - End Pin number.   If not given, will default to last pin defined for this board<br />
 *                  I - Flag to ignore Marlin's pin protection.   Use with caution!!!!<br />
 *                  R       - Repeat pulses on each pin this number of times before continueing to next pin<br />
 *                  W       - Wait time (in miliseconds) between pulses.  If not given will default to 500<br />
 *<br />
 *  M43 S       - Servo probe test<br />
 *                  P - Probe index (optional - defaults to 0<br />
 */</div></blockquote>
<br />
<br />
... und so schaut dann die Ausgabe ALLER pins des ArduinoDue aus:<br />
<br />
<blockquote class="bbcode"><div><small>Quote<br /></small><strong></strong><br />
&gt;M43<br />
PIN: 00        RXD                                    Input  = 1<br />
PIN: 01        TXD                                    Input  = 1<br />
PIN: 02        Z_STEP_PIN                             protected<br />
PIN: 03        Z_DIR_PIN                              protected<br />
PIN: 04        SDSS                                   Input  = 1<br />
.              SS_PIN                                 Input  = 1<br />
PIN: 05        SERVO0_PIN                             Input  = 1<br />
PIN: 06        SERVO1_PIN                             Input  = 1<br />
PIN: 07        HEATER_BED_PIN                         protected<br />
PIN: 08        FAN1_PIN                               protected<br />
PIN: 09        FAN_PIN                                protected<br />
PIN: 10                               Input  = 1<br />
PIN: 11        HEATER_2_PIN                           Output = 0<br />
PIN: 12        HEATER_1_PIN                           Output = 0<br />
PIN: 13        HEATER_0_PIN                           protected<br />
PIN: 14        SD_DETECT_PIN                          Input  = 1<br />
PIN: 15        Z_ENABLE_PIN                           protected<br />
PIN: 16        Y_DIR_PIN                              protected<br />
PIN: 17        Y_STEP_PIN                             protected<br />
PIN: 18                               Input  = 1<br />
PIN: 19                               Input  = 1<br />
PIN: 20                               Input  = 1<br />
PIN: 21                               Input  = 1<br />
PIN: 22        Y_ENABLE_PIN                           protected<br />
PIN: 23        X_DIR_PIN                              protected<br />
PIN: 24        X_STEP_PIN                             protected<br />
PIN: 25        X_CS_PIN                               protected<br />
PIN: 26        X_ENABLE_PIN                           protected<br />
PIN: 27        Y_CS_PIN                               protected<br />
PIN: 28        X_MIN_PIN                              protected<br />
PIN: 29        Z_CS_PIN                               protected<br />
PIN: 30        Y_MIN_PIN                              protected<br />
PIN: 31        E0_CS_PIN                              protected<br />
PIN: 32        Z_MIN_PIN                              protected<br />
PIN: 33        E1_CS_PIN                              Input  = 1<br />
PIN: 34        X_MAX_PIN                              protected<br />
PIN: 35        E2_CS_PIN                              Input  = 1<br />
PIN: 36        Y_MAX_PIN                              protected<br />
PIN: 37                               Input  = 1<br />
PIN: 38        Z_MAX_PIN                              protected<br />
PIN: 39        FIL_RUNOUT_PIN                         Input  = 1<br />
.              SERVO2_PIN                             Input  = 1<br />
PIN: 40        SERVO3_PIN                             Input  = 1<br />
PIN: 41                               Input  = 1<br />
PIN: 42                               Input  = 1<br />
PIN: 43                               Input  = 1<br />
PIN: 44                               Input  = 1<br />
PIN: 45                               Input  = 1<br />
PIN: 46                               Input  = 1<br />
PIN: 47                               Input  = 1<br />
PIN: 48                               Input  = 1<br />
PIN: 49        E2_ENABLE_PIN                          Output = 0<br />
PIN: 50                               Input  = 1<br />
PIN: 51        E2_STEP_PIN                            Input  = 1<br />
PIN: 52                               Input  = 1<br />
PIN: 53        E2_DIR_PIN                             Output = 0<br />
.              MAX6675_SS_PIN                         Output = 0<br />
PIN: 54 (A 0)  TEMP_0_PIN                             protected<br />
PIN: 55 (A 1)  TEMP_1_PIN                             Input  = 1<br />
PIN: 56 (A 2)  TEMP_2_PIN                             Input  = 1<br />
PIN: 57 (A 3)  TEMP_3_PIN                             Input  = 1<br />
PIN: 58 (A 4)  TEMP_BED_PIN                           protected<br />
PIN: 59 (A 5)  TEMP_4_PIN                             Input  = 1<br />
PIN: 60 (A 6)  E0_DIR_PIN                             protected<br />
PIN: 61 (A 7)  E0_STEP_PIN                            protected<br />
PIN: 62 (A 8)  E0_ENABLE_PIN                          protected<br />
PIN: 63 (A 9)  E1_DIR_PIN                             Output = 0<br />
PIN: 64 (A10)  E1_STEP_PIN                            Input  = 1<br />
PIN: 65 (A11)  E1_ENABLE_PIN                          Output = 0<br />
PIN: 66                               Input  = 1<br />
PIN: 67                               Input  = 1<br />
PIN: 68                               Input  = 1<br />
PIN: 69                               Input  = 1<br />
PIN: 70                               Input  = 1<br />
PIN: 71                               Input  = 1<br />
PIN: 72                               Input  = 1<br />
PIN: 73                               Input  = 1<br />
PIN: 74        MISO_PIN                               Input  = 1<br />
PIN: 75        MOSI_PIN                               Input  = 1<br />
PIN: 76        SCK_PIN                                Input  = 1<br />
PIN: 77                               Input  = 1<br />
PIN: 78                               Input  = 1<br />
ok</div></blockquote>]]></description>
            <dc:creator>VDX</dc:creator>
            <category>Software</category>
            <pubDate>Wed, 30 Jan 2019 16:38:32 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?247,844715,845748#msg-845748</guid>
            <title>Re: GCode für Pin auslesen.</title>
            <link>https://reprap.org/forum/read.php?247,844715,845748#msg-845748</link>
            <description><![CDATA[ Kennt Repetier nicht.<br />
Danke für den Tip]]></description>
            <dc:creator>Fridi</dc:creator>
            <category>Software</category>
            <pubDate>Wed, 30 Jan 2019 14:58:10 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?247,844715,845740#msg-845740</guid>
            <title>Re: GCode für Pin auslesen.</title>
            <link>https://reprap.org/forum/read.php?247,844715,845740#msg-845740</link>
            <description><![CDATA[ ... ich habe mir gestern in der Firma mal Marlin2.0 vorgenommen und angefangen, das um "meine eigenen" Zusatzfunktionen für gieCAPS zu erweitern.<br />
<br />
Da haben sie den G-Code "M43" zum Auslesen von Pins neu drin - entweder gezielt einzelne Pins abfragen ... oder alle (werden mit Define-Namen und wert gelistet) ... oder nur sich ändernde ... oder nur die Endschalter ... oder ausgewählte Pins "klappern lassen" (kurz oder mehrfach oder über eine vorgegebene Zeit den Pegel invertieren und wieder zurück) ;)]]></description>
            <dc:creator>VDX</dc:creator>
            <category>Software</category>
            <pubDate>Wed, 30 Jan 2019 14:00:20 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?247,844715,845735#msg-845735</guid>
            <title>Re: GCode für Pin auslesen.</title>
            <link>https://reprap.org/forum/read.php?247,844715,845735#msg-845735</link>
            <description><![CDATA[ Son Mist, jetzt geht nach ein paar mal ABL Z wieder nicht mehr. Also noch mal messen.<br />
Das entwickelt sich zu unendlichen Geschichte]]></description>
            <dc:creator>Fridi</dc:creator>
            <category>Software</category>
            <pubDate>Wed, 30 Jan 2019 12:53:41 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?247,844715,845731#msg-845731</guid>
            <title>Re: GCode für Pin auslesen.</title>
            <link>https://reprap.org/forum/read.php?247,844715,845731#msg-845731</link>
            <description><![CDATA[ So, mein Board geht wieder. Am Board war der Xmax Pin zerschossen.  Xmax habe ich als Zmin genommen, um Pins für 5 Extuder zu bekommen. Fehler war der Z Sensor. Da kam mit einmal 12V aus dem Sensorausgang. Hätte ich nicht für möglich gehalten, obwohl hier einige davor gewarnt hatten. Tschuldigung. Habe jetzt bei allen Sensoren in der Signalleitung eine Diode drin, um den Plus zu sperren. Der ursprüngliche Zmin tut jetzt seine Pflicht.]]></description>
            <dc:creator>Fridi</dc:creator>
            <category>Software</category>
            <pubDate>Wed, 30 Jan 2019 12:27:31 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?247,844715,844967#msg-844967</guid>
            <title>Re: GCode für Pin auslesen.</title>
            <link>https://reprap.org/forum/read.php?247,844715,844967#msg-844967</link>
            <description><![CDATA[ Alles zurück. Fehler war nicht der lose Pin. Mein Rumbaboard hat scheinbar plötzlich ne Macke.  Betrifft alle Endstops.<br />
Ich habe meine Endstops invertiert. Also wird beim Auslösen mit Minus am Pin  bei M119 der Endstop als H angezeigt. Macht der Host auch. Beim Verlassen des Endstops springen die angezeigten Werte auch auf L. Trotzdem gehen die Endstops nicht.<br />
Mit dem Logiktester sehe ich beim Auslösen einen Minus. Beim Wegfahren erschient das Symbol 7. Das zeigt einen Impuls von Plus ausgehend an. Nach längerer Zeit dann das Z. Das zeigt eine Frequenz an oder einen offenen Eingang ( Erfahrungswert ). Also sind die PullUps im Professor iA.<br />
Ich muss mir jetzt erst einmal 10KOhm Widerstände raus suchen, um die PullUps nach zu bilden. Die Ports scheinen ja noch zu funzen.<br />
<br />
Ganz böse Falle.<br />
Warum aber bei M119 auch L angezeigt wird, entzieht sich meiner Kenntnis.<br />
<br />
Ich werde berichten.<br />
<br />
Nachtrag. Messe an den Eingängen so um 2,8V. Keine 5V, also PullUp defekt-]]></description>
            <dc:creator>Fridi</dc:creator>
            <category>Software</category>
            <pubDate>Sun, 20 Jan 2019 08:57:08 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?247,844715,844793#msg-844793</guid>
            <title>Re: GCode für Pin auslesen.</title>
            <link>https://reprap.org/forum/read.php?247,844715,844793#msg-844793</link>
            <description><![CDATA[ So, Fehler gefunden. Meine Vermutung war richtig. Wenn sich X und Y in falsche Richtungen bewegen und Z nur in eine Richtung, ist meistens der Z Sensor das Problem. Dank des Prüfstiftes  [attachment 109526 Wandel-Goltermann-Digitaler-Taster-TKL-515-logic-probe-tester-_1.jpg] war der Fehler leicht lokalisiert.. In Ruhe des Sensors hatte ich einen Plus auf der Leitung, Also Pulup Widerstand ok und in Arbeit einen Minus, also Sensor ok.. Der Stecker war lose auf dem Zmin Pin und hatte sich vom Stift entfernt..]]></description>
            <dc:creator>Fridi</dc:creator>
            <category>Software</category>
            <pubDate>Thu, 17 Jan 2019 10:58:11 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?247,844715,844741#msg-844741</guid>
            <title>Re: GCode für Pin auslesen.</title>
            <link>https://reprap.org/forum/read.php?247,844715,844741#msg-844741</link>
            <description><![CDATA[ Ja, meine Version ist schon 2 Jahre alt Version 0.92.2. Ich meine, das auch schon irgendwo gelesen zu haben. Aber mein System lief jetzt über 2 Jahre ohne Probleme. Da sträubt man sich, das zu ändern.<br />
Dann muss ich wohl den schweren Weg gehen und eine neue FW einspielen. Ist bei 3 Extrudern schon etwas aufwendiger.]]></description>
            <dc:creator>Fridi</dc:creator>
            <category>Software</category>
            <pubDate>Wed, 16 Jan 2019 18:05:59 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?247,844715,844737#msg-844737</guid>
            <title>Re: GCode für Pin auslesen.</title>
            <link>https://reprap.org/forum/read.php?247,844715,844737#msg-844737</link>
            <description><![CDATA[ <b>@Hallo Fridi</b><br />
<br />
Welche Repetier version hast in gebrauch?<br />
Ber der Repetier 1.0.3 ist das so das man den MIN-Endstop auch als Z-Probing (bei Marlin heist das ABL) einrichten kann,<br />
das heist du musst unter den Endsop Settings den Z-MIN-Endstop einrichten. Und danach wie gehabt das Z-Probing an den Z-MIN einstellen.<br />
<br />
<br />
<br />
MFG Stefan]]></description>
            <dc:creator>Micro3D</dc:creator>
            <category>Software</category>
            <pubDate>Wed, 16 Jan 2019 17:40:06 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?247,844715,844735#msg-844735</guid>
            <title>Re: GCode für Pin auslesen.</title>
            <link>https://reprap.org/forum/read.php?247,844715,844735#msg-844735</link>
            <description><![CDATA[ Ja klar, ich dachte an M119. Das würde dann anzeigen.<br />
<br />
Herzl. Grüße]]></description>
            <dc:creator>AlterBastler</dc:creator>
            <category>Software</category>
            <pubDate>Wed, 16 Jan 2019 15:11:27 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?247,844715,844731#msg-844731</guid>
            <title>Re: GCode für Pin auslesen.</title>
            <link>https://reprap.org/forum/read.php?247,844715,844731#msg-844731</link>
            <description><![CDATA[ Danke für den Tip aber das Fehlereingrenzen ist nicht das Problem. Ich will nur wissen, ob der Pin auch das erkennt, was anliegt.]]></description>
            <dc:creator>Fridi</dc:creator>
            <category>Software</category>
            <pubDate>Wed, 16 Jan 2019 14:28:36 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?247,844715,844725#msg-844725</guid>
            <title>Re: GCode für Pin auslesen.</title>
            <link>https://reprap.org/forum/read.php?247,844715,844725#msg-844725</link>
            <description><![CDATA[ X-Endstop kurzschliessen und X- und Z-Achse tauschen als Option?<br />
<br />
Herzl. Grüße]]></description>
            <dc:creator>AlterBastler</dc:creator>
            <category>Software</category>
            <pubDate>Wed, 16 Jan 2019 12:57:13 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?247,844715,844720#msg-844720</guid>
            <title>Re: GCode für Pin auslesen.</title>
            <link>https://reprap.org/forum/read.php?247,844715,844720#msg-844720</link>
            <description><![CDATA[ Dankeschön, aber das habe ich schon versucht. M226 kennt Repetier nicht. Ich habe das Problem, dass mein ABL nicht mehr geht und ich meine Achsen nicht Nullen kann. Endstop Z wird mir bei M119  nicht angezeigt, weil der Endstop unter ABL eingetragen ist.]]></description>
            <dc:creator>Fridi</dc:creator>
            <category>Software</category>
            <pubDate>Wed, 16 Jan 2019 11:43:44 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?247,844715,844719#msg-844719</guid>
            <title>Re: GCode für Pin auslesen.</title>
            <link>https://reprap.org/forum/read.php?247,844715,844719#msg-844719</link>
            <description><![CDATA[ Eventuell hilft Dir M226, vielleicht gefolgt von z.B. M106.<br />
[<a href="https://reprap.org/wiki/G-code#M226:_Wait_for_pin_state" target="_blank" >reprap.org</a>]<br />
<br />
Herzl. Grüße]]></description>
            <dc:creator>AlterBastler</dc:creator>
            <category>Software</category>
            <pubDate>Wed, 16 Jan 2019 11:15:48 -0500</pubDate>
        </item>
        <item>
            <guid>https://reprap.org/forum/read.php?247,844715,844715#msg-844715</guid>
            <title>GCode für Pin auslesen.</title>
            <link>https://reprap.org/forum/read.php?247,844715,844715#msg-844715</link>
            <description><![CDATA[ Moin moin aus HU<br />
Irgendwie häufen sich die Probleme mit meinem Drucker. Hat jemand zufällig den GCode parat, um den Zustand eines PINs auszulesen. Habe schon gegoogelt und die Wiki GCode Liste durchsucht. Bin leider nicht fündig geworden.]]></description>
            <dc:creator>Fridi</dc:creator>
            <category>Software</category>
            <pubDate>Wed, 16 Jan 2019 10:41:01 -0500</pubDate>
        </item>
    </channel>
</rss>
