<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Absturz Erzwingen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/baf2fd9f56/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/baf2fd9f56/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/baf2fd9f56/</id><updated>2020-02-28T08:48:50.580000Z</updated><subtitle>Recent posts to Absturz Erzwingen</subtitle><entry><title>Absturz Erzwingen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/baf2fd9f56/?limit=25#e510" rel="alternate"/><published>2020-02-28T08:48:50.580000Z</published><updated>2020-02-28T08:48:50.580000Z</updated><author><name>Simon61131</name><uri>https://forge.codesys.com/u/simon61131/</uri></author><id>https://forge.codesys.com3c24eefe375cd872ee45557d0a82439ffc5d53be</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo,&lt;/p&gt;
&lt;p&gt;hat funktioniert! =) &lt;br/&gt;
Danke.&lt;/p&gt;
&lt;p&gt;Details:&lt;br/&gt;
Ich konnte keinen Absturz mit Lesen erreichen, aber durch Schreiben. Ich habe die Adresse auf etwas willkürliches gesetzt und geschrieben:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt;&lt;span class="nt"&gt;test_byte&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;BYTE&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt;&lt;span class="nt"&gt;5&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt; &lt;span class="err"&gt; &lt;/span&gt;&lt;span class="nt"&gt;test_crash&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="nt"&gt;POINTER&lt;/span&gt; &lt;span class="nt"&gt;TO&lt;/span&gt; &lt;span class="nt"&gt;BYTE&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;test_crash&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;16&lt;/span&gt;&lt;span class="o"&gt;#&lt;/span&gt;&lt;span class="n"&gt;FF88FF12&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;test_crash&lt;/span&gt;&lt;span class="o"&gt;^&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Viele Grüße&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Absturz Erzwingen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/baf2fd9f56/?limit=25#2d39" rel="alternate"/><published>2020-02-28T08:48:43.864000Z</published><updated>2020-02-28T08:48:43.864000Z</updated><author><name>Erik Böhm</name><uri>https://forge.codesys.com/u/erik-boehm/</uri></author><id>https://forge.codesys.com319d68131e655f2c74086181c027302e466ca01a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo&lt;/p&gt;
&lt;p&gt;Zugriffe auf Nullpointer sind sehr beliebt als Absturzursache.&lt;/p&gt;
&lt;p&gt;Gruß Erik&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Absturz Erzwingen</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/baf2fd9f56/?limit=25#c3f9" rel="alternate"/><published>2020-02-28T08:48:41.387000Z</published><updated>2020-02-28T08:48:41.387000Z</updated><author><name>Simon61131</name><uri>https://forge.codesys.com/u/simon61131/</uri></author><id>https://forge.codesys.com9a707f79239d0865e8859ae18996919e385dc01d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo Zusammen,&lt;/p&gt;
&lt;p&gt;ich bin gerade auf Fehlersuche in unseren SPS Code. Dieser schmiert angeblich immer mal wieder ab (bzw. das Steuergerät). Dazu möchte ich einen Mechanismus zum Laufen bringen und testen ob das auch so funktioniert wie ich es mir vorstelle. Dabei lasse ich an Schlüsselpositionen in eine Persist-Variable schreiben die mir dann beim Neustart wiederspiegelt wo das Programm zuletzt ausgeführt wurde. Damit ich verifizieren kann, dass alles so funktioniert wie ich es mir vorstelle möchte ich das Programm kontrolliert abschmieren lassen.&lt;/p&gt;
&lt;p&gt;Gibt es eine (leichte) Möglichkeit die SPS abstürzen zu lassen?&lt;br/&gt;
(Division durch Null war nicht erfolgreich -&amp;gt; "inf". Pagefaults?)&lt;/p&gt;
&lt;p&gt;Viele Grüße und Danke im Voraus&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>