<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to SMC_Gcodeviewer</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/ccf5b96d6c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Motion/thread/ccf5b96d6c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Motion/thread/ccf5b96d6c/</id><updated>2020-02-27T18:52:31.082000Z</updated><subtitle>Recent posts to SMC_Gcodeviewer</subtitle><entry><title>SMC_Gcodeviewer</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/ccf5b96d6c/?limit=25#a5b8" rel="alternate"/><published>2020-02-27T18:52:31.082000Z</published><updated>2020-02-27T18:52:31.082000Z</updated><author><name>StoeberAs</name><uri>https://forge.codesys.com/u/stoeberas/</uri></author><id>https://forge.codesys.comf81ca6855c411d98c96e432f713cb9f0c0e99ed0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;xyungelöst hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hallo,&lt;br/&gt;
das ist eben leider nicht der Fall. In dem Beispiel werden die Zeilen via Text-Editor ausgegeben, die zuvor in mit dem SMC_PathCopierFile eingelesen wurden.&lt;br/&gt;
Der Baustein SMC_GCodeViewer meldet den Fehler "SMC_ERROR.SMC_GCV_BUFFER_TOO_SMALL" für einen zweizeiligen G-Code...&lt;br/&gt;
N000 G02 X1000 R500 F100 E1000 E-1000&lt;br/&gt;
N010 G01 X00&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Dat kann doch nich sein?!?&lt;/p&gt;
&lt;p&gt;Ich fische im Trüben.... &lt;br/&gt;
Grüsse!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SMC_Gcodeviewer</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/ccf5b96d6c/?limit=25#2384" rel="alternate"/><published>2020-02-27T18:52:27.769000Z</published><updated>2020-02-27T18:52:27.769000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comab922707aadbe4c6d227105b27088f967f420185</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;..hier ein etwas älteres Beispiel.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=4852" rel="nofollow"&gt;G CodeViewer.project &lt;span&gt;&lt;span&gt;[152.27 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SMC_Gcodeviewer</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/ccf5b96d6c/?limit=25#5ae6" rel="alternate"/><published>2020-02-27T18:52:26.603000Z</published><updated>2020-02-27T18:52:26.603000Z</updated><author><name>xyungelöst</name><uri>https://forge.codesys.com/u/xyungeloest/</uri></author><id>https://forge.codesys.com292179366c041c59d48cc59e6b2d17a0e4194211</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo,&lt;/p&gt;
&lt;p&gt;das ist eben leider nicht der Fall. In dem Beispiel werden die Zeilen via Text-Editor ausgegeben, die zuvor in mit dem SMC_PathCopierFile eingelesen wurden.&lt;/p&gt;
&lt;p&gt;Der Baustein SMC_GCodeViewer meldet den Fehler "SMC_ERROR.SMC_GCV_BUFFER_TOO_SMALL" für einen zweizeiligen G-Code...&lt;/p&gt;
&lt;p&gt;N000 G02 X1000 R500 F100 E1000 E-1000&lt;br/&gt;
N010 G01 X00&lt;/p&gt;
&lt;p&gt;Dat kann doch nich sein?!?&lt;/p&gt;
&lt;p&gt;Ich fische im Trüben.... &lt;/p&gt;
&lt;p&gt;Grüsse!&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Debugg.JPG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4837"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SMC_Gcodeviewer</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/ccf5b96d6c/?limit=25#3db8" rel="alternate"/><published>2020-02-27T18:52:23.307000Z</published><updated>2020-02-27T18:52:23.307000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com80649a90319b741efc4b4480387b83af1365ba5a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;br/&gt;
denke das CNC 3D Beispiel im CODESYS Store enthält das wenn ich mich nicht täusche.&lt;br/&gt;
Grüsse&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SMC_Gcodeviewer</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/ccf5b96d6c/?limit=25#4763" rel="alternate"/><published>2020-02-27T18:52:22.141000Z</published><updated>2020-02-27T18:52:22.141000Z</updated><author><name>xyungelöst</name><uri>https://forge.codesys.com/u/xyungeloest/</uri></author><id>https://forge.codesys.comf2058ddfb7f02477127557f79f6ebb68d665310d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I also wanted to ask if there is sample code how to use SMC_GCodeViewer?&lt;br/&gt;
I tried to connect the functionblock SMC_GCodeViewer as described in the help. There is no problem to build and dowmload the code.&lt;br/&gt;
But unfortunately I get an exception error when I run the PLC.   .&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Matthias&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: PLC_PRG.JPG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4831"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SMC_Gcodeviewer</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/ccf5b96d6c/?limit=25#e0ff" rel="alternate"/><published>2020-02-27T18:52:18.843000Z</published><updated>2020-02-27T18:52:18.843000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com7236261b998c6e3b261523195f5be4bbe1c89fa9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
guess there is simply missing the namespace... in the declaration&lt;/p&gt;
&lt;p&gt;asGCode : ARRAY&lt;span&gt;[0..&lt;strong&gt;viewer&lt;/strong&gt;.c_uiLines]&lt;/span&gt; OF STRING ;&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: MissingNamespace.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3599"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SMC_Gcodeviewer</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/ccf5b96d6c/?limit=25#48bf" rel="alternate"/><published>2020-02-27T18:52:17.654000Z</published><updated>2020-02-27T18:52:17.654000Z</updated><author><name>Peter.skokanek</name><uri>https://forge.codesys.com/u/peter-skokanek/</uri></author><id>https://forge.codesys.com06b740bde412269ad81d0b7aad853c1670b20c7c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, I am stuck in my project where I need to read an actual line of interpolated G-Code. I used the function block SM_GCodeViever. I am afraid that I am competly lost in declaration of FB variables. Exacly variable:&lt;br/&gt;
 Gcode: ARRAY &lt;span&gt;[0..c_uiLines]&lt;/span&gt; OF STRING; (please see attached part of my project)&lt;br/&gt;
Is there available some example of using SM_GCodeViever?&lt;br/&gt;
Peter&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=3587" rel="nofollow"&gt;SMC_GCodeReader.pdf &lt;span&gt;&lt;span&gt;[59 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>