Commit 28d6e467 authored by claes's avatar claes

*** empty log message ***

parent 33cecaf1
...@@ -1686,7 +1686,7 @@ the plc should run. Open the volume attributes editor from the navigator menu: ...@@ -1686,7 +1686,7 @@ the plc should run. Open the volume attributes editor from the navigator menu:
system can be choosen. The volume can at the same time be run in the production system, in a system can be choosen. The volume can at the same time be run in the production system, in a
simulation system and in a educational system, and the systems can have different platforms. simulation system and in a educational system, and the systems can have different platforms.
Now, the plcgpm is compiled, by choosing 'File/Compile' in the plc editor. Any waring or error Now, the plcgpm is compiled, by choosing 'File/Build' in the plc editor. Any waring or error
messages will be displayed in the message window. messages will be displayed in the message window.
</topic> </topic>
</chapter> </chapter>
...@@ -1817,14 +1817,14 @@ menu in the navigator, 'File/Syntax'. ...@@ -1817,14 +1817,14 @@ menu in the navigator, 'File/Syntax'.
<h2>Creating Load Files <h2>Creating Load Files
Before starting the runtime environment you have to create a number of load files, one for each Before starting the runtime environment you have to create a number of load files, one for each
volume in your system. You create the load files from the Navigator of each volume, volume in your system. You create the load files from the Navigator of each volume,
'Function/Create Load Files'. 'Function/Build Volume'.
<h2>Creating Boot Files <h2>Creating Boot Files
For every node in the project you have to create a boot file. The bootfile contains mainly the For every node in the project you have to create a boot file. The bootfile contains mainly the
root volume to load for the node. The bootfile is created from the configurator menu, root volume to load for the node. The bootfile is created from the configurator menu,
'Functions/Create Boot File'. This command will also build the plcprogram for the node. 'Functions/Build Node'. This command will also build the plcprogram for the node.
<b>Selct node when creating a bootfile <b>Select node when creating a bootfile
<image> dg_fig66.gif <image> dg_fig66.gif
At this point, everything in the development environment is configured and generated, and its At this point, everything in the development environment is configured and generated, and its
...@@ -2475,7 +2475,7 @@ with user defined c-code, e.g CArithm or DataArithm, the c compiler can find err ...@@ -2475,7 +2475,7 @@ with user defined c-code, e.g CArithm or DataArithm, the c compiler can find err
is written in the terminal window. Always look in the terminal window to check that the is written in the terminal window. Always look in the terminal window to check that the
compilation succeeded. compilation succeeded.
The compile is executed from 'File/Compile' in the menu. The compile is executed from 'File/Build' in the menu.
If you want to check the syntax witout generating any code, you activate 'File/Syntax'. The If you want to check the syntax witout generating any code, you activate 'File/Syntax'. The
c compiler is not activated, thus possible c code errors are not detected. c compiler is not activated, thus possible c code errors are not detected.
...@@ -2545,7 +2545,7 @@ File/Print/Documents <t><t>Print all documents. ...@@ -2545,7 +2545,7 @@ File/Print/Documents <t><t>Print all documents.
File/Print/Overview <t><t>Print an overview. File/Print/Overview <t><t>Print an overview.
File/Print/Selected documents <t><t>Print selected documents. File/Print/Selected documents <t><t>Print selected documents.
File/Syntax <t><t>Perform a syntax check of the code. File/Syntax <t><t>Perform a syntax check of the code.
File/Compile <t><t>Compile the program. File/Build <t><t>Compile the program.
File/Plc Attributes <t><t>Open the Object editor for the PlcPgm object. File/Plc Attributes <t><t>Open the Object editor for the PlcPgm object.
File/Delete Window <t><t>Delete the plc window. File/Delete Window <t><t>Delete the plc window.
File/Save Trace <t><t>Save trace objects. File/Save Trace <t><t>Save trace objects.
......
...@@ -410,28 +410,13 @@ ...@@ -410,28 +410,13 @@
<para>We now need to compile the program and create a load file and a boot file. <para>We now need to compile the program and create a load file and a boot file.
This is done in the &pwrvolume; Navigator. This is done in the &pwrvolume; Navigator.
Select the whole plant hierarchy and choose Choose
<menuchoice> <menuchoice>
<guimenu>Functions</guimenu> <guimenu>Functions</guimenu>
<guimenuitem>Compile</guimenuitem> <guimenuitem>Build Node</guimenuitem>
</menuchoice>. </menuchoice> in the menu.
Then to create load and boot files, use
<menuchoice> Check the outcome of the command in the terminal window where you started the Navigator.
<guimenu>Functions</guimenu>
<guimenuitem>Create Loadfile</guimenuitem>
</menuchoice> and
<menuchoice>
<guimenu>Functions</guimenu>
<guimenuitem>Create boot file</guimenuitem>
</menuchoice>.
Check the outcome of the commands in the terminal window where you started the Navigator.
<tip>
<para>
The process of compiling plc programs and creating load and boot files can be automated in a wtt script.
See the <citetitle pubwork="book">Designer's Guide</citetitle>, at the
<link xlink:href="http://www.proview.se/">Proview</link> site.
</para>
</tip>
</para> </para>
</section> </section>
......
...@@ -1639,7 +1639,7 @@ plcprogrammets volym ska exekvera p ...@@ -1639,7 +1639,7 @@ plcprogrammets volym ska exekvera p
operativsystem kan väljas. Volymen kan samtidigt köras i produktions-systemet, på ett operativsystem kan väljas. Volymen kan samtidigt köras i produktions-systemet, på ett
simulerings-system och i ett utbildnings-system, och alla kan ha olika plattform. simulerings-system och i ett utbildnings-system, och alla kan ha olika plattform.
Nu kompileras plcprogrammet genom att välja 'File/Compile' i plceditorns meny. Eventuella Nu kompileras plcprogrammet genom att välja 'File/Build' i plceditorns meny. Eventuella
fel och varningar visas i meddelandefönstret. fel och varningar visas i meddelandefönstret.
</topic> </topic>
</chapter> </chapter>
...@@ -1767,12 +1767,12 @@ Det g ...@@ -1767,12 +1767,12 @@ Det g
<h2>Skapa laddatafiler <h2>Skapa laddatafiler
Innan runtimemiljön kan startas för systemet, måste man skapa laddatafiler, en för varje Innan runtimemiljön kan startas för systemet, måste man skapa laddatafiler, en för varje
rotvolym, subvolym och klassvolym. Laddatafiler skapas från menyn i konfiguratören, rotvolym, subvolym och klassvolym. Laddatafiler skapas från menyn i konfiguratören,
'Function/Create Load Files'. 'Function/Build Volume'.
<h2>Skapa bootfil <h2>Skapa bootfil
För varje nod i projektet ska man skapa en bootfil. Bootfilen innehåller huvudsakligen vilken För varje nod i projektet ska man skapa en bootfil. Bootfilen innehåller huvudsakligen vilken
rotvolym som ska laddas in när noden startas. Bootfilen skapas från menyn i konfiguratören, rotvolym som ska laddas in när noden startas. Bootfilen skapas från menyn i konfiguratören,
'Functions/Create Boot File'. Detta kommando bygger även ihop ett plcprogram för noden. 'Functions/Build Node'. Detta kommando bygger även ihop ett plcprogram för noden.
<b>Val av nod vid skapande av bootfil <b>Val av nod vid skapande av bootfil
<image> dg_fig66.gif <image> dg_fig66.gif
...@@ -2419,7 +2419,7 @@ finns objekt med egendefinierad c-kod, t ex CArithm eller DataArithm, kan c-komp ...@@ -2419,7 +2419,7 @@ finns objekt med egendefinierad c-kod, t ex CArithm eller DataArithm, kan c-komp
hitta fel som skrivs ut i terminalfönstret. Kontrollera alltid i terminalfönstret att hitta fel som skrivs ut i terminalfönstret. Kontrollera alltid i terminalfönstret att
kompileringen gick bra. kompileringen gick bra.
Kompileringen utförs genom att 'File/Compile' aktiveras i menyn. Kompileringen utförs genom att 'File/Build' aktiveras i menyn.
Om man vill kontrollera syntaxen utan att generera kod, aktiverar man 'File/Syntax'. Här Om man vill kontrollera syntaxen utan att generera kod, aktiverar man 'File/Syntax'. Här
körs inte c-kompilatorn, så eventuella c-kods fel upptäcks inte. körs inte c-kompilatorn, så eventuella c-kods fel upptäcks inte.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment