This commit is contained in:
2025-09-16 12:24:06 +08:00
parent 62ac88b5b8
commit 299645e7cc
28 changed files with 1321 additions and 75 deletions
@@ -84,26 +84,20 @@
<nav id="breadcrumb"></nav>
</div>
<article data-uid="">
<article data-uid="Cmd-PlayCsvFile">
<h1 id="執行csv檔">執行CSV檔</h1>
<p>以CSV格式檔案驅動仿真。</p>
<p>執行NC檔指令為 <code>PlayCsvFile</code> &lt;檔案路徑&gt; 的根目錄為專案目錄。</p>
<div class="NOTE">
<h5>Note</h5>
<p><strong>指令格式</strong></p>
<h2 id="指令格式">指令格式</h2>
<pre><code class="lang-csharp">PlayCsvFile(&lt;檔案路徑&gt;);
</code></pre>
</div>
<div class="TIP">
<h5>Tip</h5>
<p><strong>指令範例</strong></p>
<h3 id="指令範例">指令範例</h3>
<pre><code class="lang-csharp">PlayCsvFile(&quot;Data/file1.csv&quot;);
</code></pre>
</div>
<div class="TIP">
<h5>Tip</h5>
<p>本撥放器可直接讀取&lt;xref:Cmd-WriteStepFiles&gt;匯出之檔案。</p>
<p>本撥放器可直接讀取<a class="xref" href="../WriteStepFiles/index.html">輸出步資料檔案</a>匯出之檔案。</p>
</div>
<h2 id="檔案格式">檔案格式</h2>
<p>驅動的CSV檔案為逗號分隔,第一列須為標頭列。其餘每列為一步。標頭大小寫不同,會被視為不同資料。</p>