Commit 5634c39e authored by claes's avatar claes

Docbook related stuff

parent 28d6e467
...@@ -8,24 +8,144 @@ ...@@ -8,24 +8,144 @@
<article> <article>
<title>Proview Changelog</title> <title>Proview Changelog</title>
<section><title>Changelog entries</title> <section><title>Changelog entries</title>
<table xml:id="changelog_63" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr> <table xml:id="changelog_83" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr>
<tr><td><classname>Component</classname></td><td> conv</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 30-AUG-2006</td></tr>
</tbody></table>
<para>Attribute changed from enum to mask or v.v. was not converted.</para>
<table xml:id="changelog_82" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wb</td></tr> <tr><td><classname>Component</classname></td><td> wb</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 30-MAY-2006</td></tr> <tr><td><classname>Date</classname></td><td> 22-AUG-2006</td></tr>
</tbody></table> </tbody></table>
<para>UpdateClasses also converts the input and output masks in function objects.</para> <para>Performance improved when opening a node, and displaying the packages in the distributor.</para>
<table xml:id="changelog_62" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr> <table xml:id="changelog_81" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> plc</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 27-JUL-2006</td></tr>
</tbody></table>
<para>Execute order was not displayed on aarithm objects and other objects with graphmethod 2.</para>
<table xml:id="changelog_80" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> bcomp</classname></td></tr>
<tr><td><classname>Component</classname></td><td> bcomp</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 27-JUL-2006</td></tr>
</tbody></table>
<para>Defaultvalue for BasePressureSensor.Trend.DataName corrected.</para>
<table xml:id="changelog_79" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> profibus</classname></td></tr>
<tr><td><classname>Component</classname></td><td> -</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 25-JUL-2006</td></tr>
</tbody></table>
<para>Byte order dependency added for PRM data in profibus configurator.</para>
<table xml:id="changelog_78" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr>
<tr><td><classname>Component</classname></td><td> init</td></tr>
<tr><td><classname>Signature</classname></td><td> rk</td></tr>
<tr><td><classname>Date</classname></td><td> 20-JUL-2006</td></tr>
</tbody></table>
<para>Try with smaller posix message queue if system does not support big queues.</para>
<table xml:id="changelog_77" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr>
<tr><td><classname>Component</classname></td><td> rt</td></tr>
<tr><td><classname>Signature</classname></td><td> rk</td></tr>
<tr><td><classname>Date</classname></td><td> 13-JUL-2006</td></tr>
</tbody></table>
<para>Bugfix in classcache for large classes.</para>
<table xml:id="changelog_76" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr>
<tr><td><classname>Component</classname></td><td> init</td></tr>
<tr><td><classname>Signature</classname></td><td> rk</td></tr>
<tr><td><classname>Date</classname></td><td> 13-JUL-2006</td></tr>
</tbody></table>
<para>Volume versioncheck for volref removed if volume is not yet loaded.</para>
<table xml:id="changelog_75" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> abb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> -</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 12-JUL-2006</td></tr>
</tbody></table>
<para>ABB_ACS800_Slave: IORack bit was missing.</para>
<table xml:id="changelog_74" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> utl</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 11-JUL-2006</td></tr>
</tbody></table>
<para>Bugfix in rtt crossreference list. Individual attributes were listed in RttObjectList.</para>
<table xml:id="changelog_73" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> plc</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 03-JUL-2006</td></tr>
</tbody></table>
<para>Bugfix in GetSp: short string could cause compile problems. </para>
<table xml:id="changelog_72" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wbl</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 30-JUN-2006</td></tr>
</tbody></table>
<para>Listdescriptor for channellist adapted to V4.x.</para>
<table xml:id="changelog_71" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> plc</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 29-JUN-2006</td></tr>
</tbody></table>
<para>Bugfix: CStoIp, StoIp, StoAToIp and CStoAToIp with In-input not connected, did not fetch the supplied value.</para>
<table xml:id="changelog_70" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr>
<tr><td><classname>Component</classname></td><td> ge</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 29-JUN-2006</td></tr>
</tbody></table>
<para>Format for Time and DeltaTime in table added.</para>
<table xml:id="changelog_69" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr>
<tr><td><classname>Component</classname></td><td> glow</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 28-JUN-2006</td></tr>
</tbody></table>
<para>Adjustment property (Left/Right/Center) added to annotations and table object.</para>
<table xml:id="changelog_68" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr>
<tr><td><classname>Component</classname></td><td> ge</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 28-JUN-2006</td></tr>
</tbody></table>
<para>New Value, ValueInput and Button subgraphs with Right and Center adjustment.</para>
<table xml:id="changelog_67" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> bcomp</classname></td></tr>
<tr><td><classname>Component</classname></td><td> bcomp</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 27-JUN-2006</td></tr>
</tbody></table>
<para>Hysteresis in object graph for BaseSensor and subclasses displayed wrong value.</para>
<table xml:id="changelog_66" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> plc</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 15-JUN-2006</td></tr>
</tbody></table>
<para>Search string didn't search in AttrRef attributes.</para>
<table xml:id="changelog_65" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr>
<tr><td><classname>Component</classname></td><td> xtt</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 15-JUN-2006</td></tr>
</tbody></table>
<para>Object attributes channels and signals displayed in Device table.</para>
<table xml:id="changelog_64" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wb</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 07-JUN-2006</td></tr>
</tbody></table>
<para>Bugfix in wb_name, segment(0) returned invalid name for root objects.</para>
<table xml:id="changelog_63" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wtt</td></tr> <tr><td><classname>Component</classname></td><td> wtt</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 30-MAY-2006</td></tr> <tr><td><classname>Date</classname></td><td> 30-MAY-2006</td></tr>
</tbody></table> </tbody></table>
<para>Bugfix: change text without selecting any text object caused segfault.</para> <para>Bugfix: change text without selecting any text object caused segfault.</para>
<table xml:id="changelog_61" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> bcomp</classname></td></tr> <table xml:id="changelog_62" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> bcomp</classname></td></tr>
<tr><td><classname>Component</classname></td><td> bcomp</td></tr> <tr><td><classname>Component</classname></td><td> bcomp</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 30-MAY-2006</td></tr> <tr><td><classname>Date</classname></td><td> 30-MAY-2006</td></tr>
</tbody></table> </tbody></table>
<para>Local mode added to CompModeDM and BaseMValve.</para> <para>Local mode added to CompModeDM and BaseMValve.</para>
<table xml:id="changelog_61" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wb</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 30-MAY-2006</td></tr>
</tbody></table>
<para>UpdateClasses also converts the input and output masks in function objects.</para>
<table xml:id="changelog_60" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr> <table xml:id="changelog_60" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wb</td></tr> <tr><td><classname>Component</classname></td><td> wb</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
...@@ -50,18 +170,18 @@ ...@@ -50,18 +170,18 @@
<tr><td><classname>Date</classname></td><td> 23-MAY-2006</td></tr> <tr><td><classname>Date</classname></td><td> 23-MAY-2006</td></tr>
</tbody></table> </tbody></table>
<para>New class GetDatap added, to fetch datainputs in template plc.</para> <para>New class GetDatap added, to fetch datainputs in template plc.</para>
<table xml:id="changelog_56" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr> <table xml:id="changelog_56" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> bcomp</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wtt</td></tr> <tr><td><classname>Component</classname></td><td> bcomp</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 22-MAY-2006</td></tr> <tr><td><classname>Date</classname></td><td> 22-MAY-2006</td></tr>
</tbody></table> </tbody></table>
<para>Update Class added in menu, and new commands: 'update classes' and 'check classes'.</para> <para>New classes CompPID and CompModePID: PID controller divided in main object and function object.</para>
<table xml:id="changelog_55" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> bcomp</classname></td></tr> <table xml:id="changelog_55" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> bcomp</td></tr> <tr><td><classname>Component</classname></td><td> wtt</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 22-MAY-2006</td></tr> <tr><td><classname>Date</classname></td><td> 22-MAY-2006</td></tr>
</tbody></table> </tbody></table>
<para>New classes CompPID and CompModePID: PID controller divided in main object and function object.</para> <para>Update Class added in menu, and new commands: 'update classes' and 'check classes'.</para>
<table xml:id="changelog_54" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr> <table xml:id="changelog_54" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr>
<tr><td><classname>Component</classname></td><td> ge</td></tr> <tr><td><classname>Component</classname></td><td> ge</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
...@@ -85,49 +205,49 @@ ...@@ -85,49 +205,49 @@
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 16-MAY-2006</td></tr> <tr><td><classname>Date</classname></td><td> 16-MAY-2006</td></tr>
</tbody></table> </tbody></table>
<para>Bit type added in Invisible to check visibility on bits in a bitmap.</para> <para>Object instances can be used in graphs in Window and Folder objects.</para>
<table xml:id="changelog_50" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr> <table xml:id="changelog_50" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr>
<tr><td><classname>Component</classname></td><td> glow</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 16-MAY-2006</td></tr>
</tbody></table>
<para>Owner added to GrowWindow and GrowFolder.</para>
<table xml:id="changelog_49" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr>
<tr><td><classname>Component</classname></td><td> ge</td></tr> <tr><td><classname>Component</classname></td><td> ge</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 16-MAY-2006</td></tr> <tr><td><classname>Date</classname></td><td> 16-MAY-2006</td></tr>
</tbody></table> </tbody></table>
<para>Object instances can be used in graphs in Window and Folder objects.</para> <para>Bit type added in Invisible to check visibility on bits in a bitmap.</para>
<table xml:id="changelog_48" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr> <table xml:id="changelog_49" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wbl</td></tr> <tr><td><classname>Component</classname></td><td> wbl</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 16-MAY-2006</td></tr> <tr><td><classname>Date</classname></td><td> 16-MAY-2006</td></tr>
</tbody></table> </tbody></table>
<para>Attribute ManMode added to Mode class, to avoid code in object graph.</para> <para>Attribute ManMode added to Mode class, to avoid code in object graph.</para>
<table xml:id="changelog_48" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr>
<tr><td><classname>Component</classname></td><td> glow</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 16-MAY-2006</td></tr>
</tbody></table>
<para>Owner added to GrowWindow and GrowFolder.</para>
<table xml:id="changelog_47" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr> <table xml:id="changelog_47" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr>
<tr><td><classname>Component</classname></td><td> rt</td></tr> <tr><td><classname>Component</classname></td><td> rt</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 12-MAY-2006</td></tr> <tr><td><classname>Date</classname></td><td> 12-MAY-2006</td></tr>
</tbody></table> </tbody></table>
<para>Conversion between different versions av classes handles conversion from Objid to AttrRef and from AttrRef to Objid.</para> <para>Conversion between different versions av classes handles conversion from Objid to AttrRef and from AttrRef to Objid.</para>
<table xml:id="changelog_46" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr> <table xml:id="changelog_46" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wbl</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 11-MAY-2006</td></tr>
</tbody></table>
<para>Possibility to freeze dbs versions, i.e. minor changes can be made without version mismatch.</para>
<table xml:id="changelog_45" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr>
<tr><td><classname>Component</classname></td><td> ge</td></tr> <tr><td><classname>Component</classname></td><td> ge</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 11-MAY-2006</td></tr> <tr><td><classname>Date</classname></td><td> 11-MAY-2006</td></tr>
</tbody></table> </tbody></table>
<para>Bugfix in Ge Open window, null filename could cause empty list.</para> <para>Bugfix in Ge Open window, null filename could cause empty list.</para>
<table xml:id="changelog_44" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr> <table xml:id="changelog_45" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wtt</td></tr> <tr><td><classname>Component</classname></td><td> wtt</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 11-MAY-2006</td></tr> <tr><td><classname>Date</classname></td><td> 11-MAY-2006</td></tr>
</tbody></table> </tbody></table>
<para>Build Node window is not displayed if there is only one configured node for the current volume. Submenu on Build removed.</para> <para>Build Node window is not displayed if there is only one configured node for the current volume. Submenu on Build removed.</para>
<table xml:id="changelog_44" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wbl</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 11-MAY-2006</td></tr>
</tbody></table>
<para>Possibility to freeze dbs versions, i.e. minor changes can be made without version mismatch.</para>
<table xml:id="changelog_43" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> bcomp</classname></td></tr> <table xml:id="changelog_43" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> bcomp</classname></td></tr>
<tr><td><classname>Component</classname></td><td> bcomp</td></tr> <tr><td><classname>Component</classname></td><td> bcomp</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
...@@ -182,48 +302,48 @@ ...@@ -182,48 +302,48 @@
<tr><td><classname>Date</classname></td><td> 26-APR-2006</td></tr> <tr><td><classname>Date</classname></td><td> 26-APR-2006</td></tr>
</tbody></table> </tbody></table>
<para>Bugfix in dataarithm compilation, space at end of line could cause error.</para> <para>Bugfix in dataarithm compilation, space at end of line could cause error.</para>
<table xml:id="changelog_34" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr> <table xml:id="changelog_34" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> pwrs</td></tr> <tr><td><classname>Component</classname></td><td> wtt</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 31-MAR-2006</td></tr> <tr><td><classname>Date</classname></td><td> 31-MAR-2006</td></tr>
</tbody></table> </tbody></table>
<para>Modified attribute added to RootVolume, SubVolume and SharedVolume.</para> <para>Configuration wizard started when entering an empty directoryvolume.</para>
<table xml:id="changelog_33" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr> <table xml:id="changelog_33" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wtt</td></tr> <tr><td><classname>Component</classname></td><td> wtt</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 31-MAR-2006</td></tr> <tr><td><classname>Date</classname></td><td> 31-MAR-2006</td></tr>
</tbody></table> </tbody></table>
<para>Copy with keep references added to wtt menu.</para> <para>Build methods added. 'Compile', 'create loadfile' and 'create bootfile' replaced by 'build object', 'build volume' and 'build node'. 'build object', 'build volume' and 'build node' also available as wtt commands.</para>
<table xml:id="changelog_32" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr> <table xml:id="changelog_32" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wtt</td></tr> <tr><td><classname>Component</classname></td><td> glow</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 31-MAR-2006</td></tr> <tr><td><classname>Date</classname></td><td> 31-MAR-2006</td></tr>
</tbody></table> </tbody></table>
<para>Configuration wizard started when entering an empty directoryvolume.</para> <para>Bugfix in annotation input. Insert of new characters might cause segmentation fault.</para>
<table xml:id="changelog_31" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr> <table xml:id="changelog_31" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wtt</td></tr> <tr><td><classname>Component</classname></td><td> pwrs</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 31-MAR-2006</td></tr> <tr><td><classname>Date</classname></td><td> 31-MAR-2006</td></tr>
</tbody></table> </tbody></table>
<para>Build methods added. 'Compile', 'create loadfile' and 'create bootfile' replaced by 'build object', 'build volume' and 'build node'. 'build object', 'build volume' and 'build node' also available as wtt commands.</para> <para>Modified attribute added to RootVolume, SubVolume and SharedVolume.</para>
<table xml:id="changelog_30" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr> <table xml:id="changelog_30" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> glow</td></tr> <tr><td><classname>Component</classname></td><td> wtt</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 31-MAR-2006</td></tr> <tr><td><classname>Date</classname></td><td> 31-MAR-2006</td></tr>
</tbody></table> </tbody></table>
<para>Bugfix in annotation input. Insert of new characters might cause segmentation fault.</para> <para>Copy with keep references added to wtt menu.</para>
<table xml:id="changelog_29" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr> <table xml:id="changelog_29" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr>
<tr><td><classname>Component</classname></td><td> qcom</td></tr> <tr><td><classname>Component</classname></td><td> rt_tmon</td></tr>
<tr><td><classname>Signature</classname></td><td> rk</td></tr> <tr><td><classname>Signature</classname></td><td> rk</td></tr>
<tr><td><classname>Date</classname></td><td> 17-MAR-2006</td></tr> <tr><td><classname>Date</classname></td><td> 17-MAR-2006</td></tr>
</tbody></table> </tbody></table>
<para>Changed interface to qcom_Put. Added attributes msg_id and prio in qcom_sPut structure.</para> <para>Cleaning (zero-ing) of timed out subscription data.</para>
<table xml:id="changelog_28" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr> <table xml:id="changelog_28" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr>
<tr><td><classname>Component</classname></td><td> rt_tmon</td></tr> <tr><td><classname>Component</classname></td><td> qcom</td></tr>
<tr><td><classname>Signature</classname></td><td> rk</td></tr> <tr><td><classname>Signature</classname></td><td> rk</td></tr>
<tr><td><classname>Date</classname></td><td> 17-MAR-2006</td></tr> <tr><td><classname>Date</classname></td><td> 17-MAR-2006</td></tr>
</tbody></table> </tbody></table>
<para>Cleaning (zero-ing) of timed out subscription data.</para> <para>Changed interface to qcom_Put. Added attributes msg_id and prio in qcom_sPut structure.</para>
<table xml:id="changelog_27" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr> <table xml:id="changelog_27" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr>
<tr><td><classname>Component</classname></td><td> qcom</td></tr> <tr><td><classname>Component</classname></td><td> qcom</td></tr>
<tr><td><classname>Signature</classname></td><td> rk</td></tr> <tr><td><classname>Signature</classname></td><td> rk</td></tr>
...@@ -242,84 +362,84 @@ ...@@ -242,84 +362,84 @@
<tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Changelog created.</para> <para>Changelog created.</para>
<table xml:id="changelog_24" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> siemens</classname></td></tr> <table xml:id="changelog_24" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> telemecanique</classname></td></tr>
<tr><td><classname>Component</classname></td><td> -</td></tr> <tr><td><classname>Component</classname></td><td> -</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Changelog created.</para> <para>Changelog created.</para>
<table xml:id="changelog_23" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> nmps</classname></td></tr> <table xml:id="changelog_23" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> siemens</classname></td></tr>
<tr><td><classname>Component</classname></td><td> -</td></tr> <tr><td><classname>Component</classname></td><td> -</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Changelog created.</para> <para>Changelog created.</para>
<table xml:id="changelog_22" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> telemecanique</classname></td></tr> <table xml:id="changelog_22" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> nmps</classname></td></tr>
<tr><td><classname>Component</classname></td><td> -</td></tr> <tr><td><classname>Component</classname></td><td> -</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Changelog created.</para> <para>Changelog created.</para>
<table xml:id="changelog_21" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> ssabox</classname></td></tr> <table xml:id="changelog_21" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> abb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> -</td></tr> <tr><td><classname>Component</classname></td><td> -</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Changelog created.</para> <para>Changelog created.</para>
<table xml:id="changelog_20" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> remote</classname></td></tr> <table xml:id="changelog_20" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> java</classname></td></tr>
<tr><td><classname>Component</classname></td><td> -</td></tr> <tr><td><classname>Component</classname></td><td> -</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Changelog created.</para> <para>Changelog created.</para>
<table xml:id="changelog_19" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> java</classname></td></tr> <table xml:id="changelog_19" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> -</td></tr> <tr><td><classname>Component</classname></td><td> wnav</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Changelog created.</para> <para>Check before creating a toplevel object if class is a valid in the current window.</para>
<table xml:id="changelog_18" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> abb</classname></td></tr> <table xml:id="changelog_18" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> profibus</classname></td></tr>
<tr><td><classname>Component</classname></td><td> -</td></tr> <tr><td><classname>Component</classname></td><td> -</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Changelog created.</para> <para>Changelog created.</para>
<table xml:id="changelog_17" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> profibus</classname></td></tr> <table xml:id="changelog_17" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> bcomp</classname></td></tr>
<tr><td><classname>Component</classname></td><td> -</td></tr> <tr><td><classname>Component</classname></td><td> -</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Changelog created.</para> <para>Changelog created.</para>
<table xml:id="changelog_16" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr> <table xml:id="changelog_16" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> tlog</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wnav</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr>
</tbody></table>
<para>Check before creating a toplevel object if class is a valid in the current window.</para>
<table xml:id="changelog_15" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> bcomp</classname></td></tr>
<tr><td><classname>Component</classname></td><td> -</td></tr> <tr><td><classname>Component</classname></td><td> -</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Changelog created.</para> <para>Changelog created.</para>
<table xml:id="changelog_14" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> tlog</classname></td></tr> <table xml:id="changelog_15" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> othermanu</classname></td></tr>
<tr><td><classname>Component</classname></td><td> -</td></tr> <tr><td><classname>Component</classname></td><td> -</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Changelog created.</para> <para>Changelog created.</para>
<table xml:id="changelog_13" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> othermanu</classname></td></tr> <table xml:id="changelog_14" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> ssabox</classname></td></tr>
<tr><td><classname>Component</classname></td><td> -</td></tr> <tr><td><classname>Component</classname></td><td> -</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Changelog created.</para> <para>Changelog created.</para>
<table xml:id="changelog_12" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr> <table xml:id="changelog_13" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr>
<tr><td><classname>Component</classname></td><td> xtt</td></tr> <tr><td><classname>Component</classname></td><td> xtt</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Command for collect remove and collect remove/clear in menu.</para> <para>Command for collect remove and collect remove/clear in menu.</para>
<table xml:id="changelog_12" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> remote</classname></td></tr>
<tr><td><classname>Component</classname></td><td> -</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 27-FEB-2006</td></tr>
</tbody></table>
<para>Changelog created.</para>
<table xml:id="changelog_11" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr> <table xml:id="changelog_11" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wnav</td></tr> <tr><td><classname>Component</classname></td><td> wnav</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
...@@ -327,59 +447,59 @@ ...@@ -327,59 +447,59 @@
</tbody></table> </tbody></table>
<para>New wizard for configuration of directory volume.</para> <para>New wizard for configuration of directory volume.</para>
<table xml:id="changelog_10" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr> <table xml:id="changelog_10" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr>
<tr><td><classname>Component</classname></td><td> xtthelp</td></tr> <tr><td><classname>Component</classname></td><td> convert</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 22-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 22-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Bugfix, bookmark in xtthelp was case sensitive.</para> <para>Bookmark inserted for every attribute in class xtthelp.</para>
<table xml:id="changelog_9" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr> <table xml:id="changelog_9" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr>
<tr><td><classname>Component</classname></td><td> convert</td></tr> <tr><td><classname>Component</classname></td><td> xtthelp</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 22-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 22-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Bookmark inserted for every attribute in class xtthelp.</para> <para>Bugfix, bookmark in xtthelp was case sensitive.</para>
<table xml:id="changelog_8" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr> <table xml:id="changelog_8" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wnav</td></tr> <tr><td><classname>Component</classname></td><td> ldh</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 21-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 21-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Popupmenu for object with DevBody only could not be opened.</para> <para>Bugfix. Unhandled exception in DeleteObject and DeleteTree if not in edit mode.</para>
<table xml:id="changelog_7" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr> <table xml:id="changelog_7" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> ldh</td></tr> <tr><td><classname>Component</classname></td><td> wnav</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 21-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 21-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Bugfix. Unhandled exception in DeleteObject and DeleteTree if not in edit mode.</para> <para>Popupmenu for object with DevBody only could not be opened.</para>
<table xml:id="changelog_6" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr> <table xml:id="changelog_6" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr>
<tr><td><classname>Component</classname></td><td> script</td></tr> <tr><td><classname>Component</classname></td><td> ge</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 20-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 20-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>New script functions SetAttribute, OpenGraph, CloseGraph, SetSubwindow and CheckSystemGroup.</para> <para>Connect to script extern variables in Value, Invisible, SetDig, ToggleDig, DigShift and OptionMenu.</para>
<table xml:id="changelog_5" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr> <table xml:id="changelog_5" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> ge</td></tr> <tr><td><classname>Component</classname></td><td> wnav</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 20-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 20-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>Connect to script extern variables in Value, Invisible, SetDig, ToggleDig, DigShift and OptionMenu.</para> <para>New commands: open graph, delete graph, set subwindow and release subwindow.</para>
<table xml:id="changelog_4" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr> <table xml:id="changelog_4" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr>
<tr><td><classname>Component</classname></td><td> script</td></tr> <tr><td><classname>Component</classname></td><td> script</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 20-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 20-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>'#' alternative to '!' for comment in script.</para> <para>New script functions SetAttribute, OpenGraph, CloseGraph, SetSubwindow and CheckSystemGroup.</para>
<table xml:id="changelog_3" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> wb</classname></td></tr> <table xml:id="changelog_3" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr>
<tr><td><classname>Component</classname></td><td> wnav</td></tr> <tr><td><classname>Component</classname></td><td> script</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 20-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 20-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>New commands: open graph, delete graph, set subwindow and release subwindow.</para> <para>'delete' statement added to remove external variables.</para>
<table xml:id="changelog_2" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr> <table xml:id="changelog_2" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> src</classname></td></tr>
<tr><td><classname>Component</classname></td><td> script</td></tr> <tr><td><classname>Component</classname></td><td> script</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
<tr><td><classname>Date</classname></td><td> 20-FEB-2006</td></tr> <tr><td><classname>Date</classname></td><td> 20-FEB-2006</td></tr>
</tbody></table> </tbody></table>
<para>'delete' statement added to remove external variables.</para> <para>'#' alternative to '!' for comment in script.</para>
<table xml:id="changelog_1" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr> <table xml:id="changelog_1" width="2in" border="0"><tbody><tr><td><classname>Module</classname></td><td><classname> xtt</classname></td></tr>
<tr><td><classname>Component</classname></td><td> gedyn</td></tr> <tr><td><classname>Component</classname></td><td> gedyn</td></tr>
<tr><td><classname>Signature</classname></td><td> cs</td></tr> <tr><td><classname>Signature</classname></td><td> cs</td></tr>
......
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Proview Changelog</title><link rel="stylesheet" href="pwrdoc.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.70.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="id2483114"></a>Proview Changelog</h2></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#id2484475">1. Changelog entries</a></span></dt></dl></div><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2484475"></a>1.Changelog entries</h2></div></div></div><table xml:id="changelog_83" width="2in" border="0" id="changelog_83"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> conv</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 30-AUG-2006</td></tr></tbody></table><p>Attribute changed from enum to mask or v.v. was not converted.</p><table xml:id="changelog_82" width="2in" border="0" id="changelog_82"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wb</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 22-AUG-2006</td></tr></tbody></table><p>Performance improved when opening a node, and displaying the packages in the distributor.</p><table xml:id="changelog_81" width="2in" border="0" id="changelog_81"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> plc</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 27-JUL-2006</td></tr></tbody></table><p>Execute order was not displayed on aarithm objects and other objects with graphmethod 2.</p><table xml:id="changelog_80" width="2in" border="0" id="changelog_80"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> bcomp</span></td></tr><tr><td><span class="classname">Component</span></td><td> bcomp</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 27-JUL-2006</td></tr></tbody></table><p>Defaultvalue for BasePressureSensor.Trend.DataName corrected.</p><table xml:id="changelog_79" width="2in" border="0" id="changelog_79"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> profibus</span></td></tr><tr><td><span class="classname">Component</span></td><td> -</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 25-JUL-2006</td></tr></tbody></table><p>Byte order dependency added for PRM data in profibus configurator.</p><table xml:id="changelog_78" width="2in" border="0" id="changelog_78"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> init</td></tr><tr><td><span class="classname">Signature</span></td><td> rk</td></tr><tr><td><span class="classname">Date</span></td><td> 20-JUL-2006</td></tr></tbody></table><p>Try with smaller posix message queue if system does not support big queues.</p><table xml:id="changelog_77" width="2in" border="0" id="changelog_77"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> rt</td></tr><tr><td><span class="classname">Signature</span></td><td> rk</td></tr><tr><td><span class="classname">Date</span></td><td> 13-JUL-2006</td></tr></tbody></table><p>Bugfix in classcache for large classes.</p><table xml:id="changelog_76" width="2in" border="0" id="changelog_76"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> init</td></tr><tr><td><span class="classname">Signature</span></td><td> rk</td></tr><tr><td><span class="classname">Date</span></td><td> 13-JUL-2006</td></tr></tbody></table><p>Volume versioncheck for volref removed if volume is not yet loaded.</p><table xml:id="changelog_75" width="2in" border="0" id="changelog_75"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> abb</span></td></tr><tr><td><span class="classname">Component</span></td><td> -</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 12-JUL-2006</td></tr></tbody></table><p>ABB_ACS800_Slave: IORack bit was missing.</p><table xml:id="changelog_74" width="2in" border="0" id="changelog_74"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> utl</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 11-JUL-2006</td></tr></tbody></table><p>Bugfix in rtt crossreference list. Individual attributes were listed in RttObjectList.</p><table xml:id="changelog_73" width="2in" border="0" id="changelog_73"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> plc</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 03-JUL-2006</td></tr></tbody></table><p>Bugfix in GetSp: short string could cause compile problems. </p><table xml:id="changelog_72" width="2in" border="0" id="changelog_72"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> wbl</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 30-JUN-2006</td></tr></tbody></table><p>Listdescriptor for channellist adapted to V4.x.</p><table xml:id="changelog_71" width="2in" border="0" id="changelog_71"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> plc</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 29-JUN-2006</td></tr></tbody></table><p>Bugfix: CStoIp, StoIp, StoAToIp and CStoAToIp with In-input not connected, did not fetch the supplied value.</p><table xml:id="changelog_70" width="2in" border="0" id="changelog_70"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> xtt</span></td></tr><tr><td><span class="classname">Component</span></td><td> ge</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 29-JUN-2006</td></tr></tbody></table><p>Format for Time and DeltaTime in table added.</p><table xml:id="changelog_69" width="2in" border="0" id="changelog_69"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> xtt</span></td></tr><tr><td><span class="classname">Component</span></td><td> glow</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 28-JUN-2006</td></tr></tbody></table><p>Adjustment property (Left/Right/Center) added to annotations and table object.</p><table xml:id="changelog_68" width="2in" border="0" id="changelog_68"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> xtt</span></td></tr><tr><td><span class="classname">Component</span></td><td> ge</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 28-JUN-2006</td></tr></tbody></table><p>New Value, ValueInput and Button subgraphs with Right and Center adjustment.</p><table xml:id="changelog_67" width="2in" border="0" id="changelog_67"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> bcomp</span></td></tr><tr><td><span class="classname">Component</span></td><td> bcomp</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 27-JUN-2006</td></tr></tbody></table><p>Hysteresis in object graph for BaseSensor and subclasses displayed wrong value.</p><table xml:id="changelog_66" width="2in" border="0" id="changelog_66"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> plc</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 15-JUN-2006</td></tr></tbody></table><p>Search string didn't search in AttrRef attributes.</p><table xml:id="changelog_65" width="2in" border="0" id="changelog_65"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> xtt</span></td></tr><tr><td><span class="classname">Component</span></td><td> xtt</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 15-JUN-2006</td></tr></tbody></table><p>Object attributes channels and signals displayed in Device table.</p><table xml:id="changelog_64" width="2in" border="0" id="changelog_64"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wb</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 07-JUN-2006</td></tr></tbody></table><p>Bugfix in wb_name, segment(0) returned invalid name for root objects.</p><table xml:id="changelog_63" width="2in" border="0" id="changelog_63"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wtt</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 30-MAY-2006</td></tr></tbody></table><p>Bugfix: change text without selecting any text object caused segfault.</p><table xml:id="changelog_62" width="2in" border="0" id="changelog_62"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> bcomp</span></td></tr><tr><td><span class="classname">Component</span></td><td> bcomp</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 30-MAY-2006</td></tr></tbody></table><p>Local mode added to CompModeDM and BaseMValve.</p><table xml:id="changelog_61" width="2in" border="0" id="changelog_61"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wb</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 30-MAY-2006</td></tr></tbody></table><p>UpdateClasses also converts the input and output masks in function objects.</p><table xml:id="changelog_60" width="2in" border="0" id="changelog_60"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wb</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 24-MAY-2006</td></tr></tbody></table><p>StructName in ObjBodyDef inserted in PostCreate method.</p><table xml:id="changelog_59" width="2in" border="0" id="changelog_59"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> xtt</span></td></tr><tr><td><span class="classname">Component</span></td><td> ge</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 24-MAY-2006</td></tr></tbody></table><p>Property for selected cell color in GrowTable.</p><table xml:id="changelog_58" width="2in" border="0" id="changelog_58"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wtt</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 24-MAY-2006</td></tr></tbody></table><p>Bugfix in classeditor. Change of classname caused unidentified class of the template object of the class.</p><table xml:id="changelog_57" width="2in" border="0" id="changelog_57"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> pwrb</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 23-MAY-2006</td></tr></tbody></table><p>New class GetDatap added, to fetch datainputs in template plc.</p><table xml:id="changelog_56" width="2in" border="0" id="changelog_56"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> bcomp</span></td></tr><tr><td><span class="classname">Component</span></td><td> bcomp</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 22-MAY-2006</td></tr></tbody></table><p>New classes CompPID and CompModePID: PID controller divided in main object and function object.</p><table xml:id="changelog_55" width="2in" border="0" id="changelog_55"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wtt</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 22-MAY-2006</td></tr></tbody></table><p>Update Class added in menu, and new commands: 'update classes' and 'check classes'.</p><table xml:id="changelog_54" width="2in" border="0" id="changelog_54"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> xtt</span></td></tr><tr><td><span class="classname">Component</span></td><td> ge</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 22-MAY-2006</td></tr></tbody></table><p>Bugfix for $user attributes. Scan function for dynamics wasn't called. </p><table xml:id="changelog_53" width="2in" border="0" id="changelog_53"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wb</td></tr><tr><td><span class="classname">Signature</span></td><td> lw</td></tr><tr><td><span class="classname">Date</span></td><td> 19-MAY-2006</td></tr></tbody></table><p>Update of instance objects when a class is modified (without reload).</p><table xml:id="changelog_52" width="2in" border="0" id="changelog_52"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> xtt</span></td></tr><tr><td><span class="classname">Component</span></td><td> ge</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 16-MAY-2006</td></tr></tbody></table><p>Possibility to use local database in DigLowColor, ToggleDig, Slider insensitiv, and Invisible.</p><table xml:id="changelog_51" width="2in" border="0" id="changelog_51"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> xtt</span></td></tr><tr><td><span class="classname">Component</span></td><td> ge</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 16-MAY-2006</td></tr></tbody></table><p>Object instances can be used in graphs in Window and Folder objects.</p><table xml:id="changelog_50" width="2in" border="0" id="changelog_50"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> xtt</span></td></tr><tr><td><span class="classname">Component</span></td><td> ge</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 16-MAY-2006</td></tr></tbody></table><p>Bit type added in Invisible to check visibility on bits in a bitmap.</p><table xml:id="changelog_49" width="2in" border="0" id="changelog_49"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> wbl</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 16-MAY-2006</td></tr></tbody></table><p>Attribute ManMode added to Mode class, to avoid code in object graph.</p><table xml:id="changelog_48" width="2in" border="0" id="changelog_48"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> xtt</span></td></tr><tr><td><span class="classname">Component</span></td><td> glow</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 16-MAY-2006</td></tr></tbody></table><p>Owner added to GrowWindow and GrowFolder.</p><table xml:id="changelog_47" width="2in" border="0" id="changelog_47"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> rt</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 12-MAY-2006</td></tr></tbody></table><p>Conversion between different versions av classes handles conversion from Objid to AttrRef and from AttrRef to Objid.</p><table xml:id="changelog_46" width="2in" border="0" id="changelog_46"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> xtt</span></td></tr><tr><td><span class="classname">Component</span></td><td> ge</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 11-MAY-2006</td></tr></tbody></table><p>Bugfix in Ge Open window, null filename could cause empty list.</p><table xml:id="changelog_45" width="2in" border="0" id="changelog_45"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wtt</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 11-MAY-2006</td></tr></tbody></table><p>Build Node window is not displayed if there is only one configured node for the current volume. Submenu on Build removed.</p><table xml:id="changelog_44" width="2in" border="0" id="changelog_44"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> wbl</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 11-MAY-2006</td></tr></tbody></table><p>Possibility to freeze dbs versions, i.e. minor changes can be made without version mismatch.</p><table xml:id="changelog_43" width="2in" border="0" id="changelog_43"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> bcomp</span></td></tr><tr><td><span class="classname">Component</span></td><td> bcomp</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 09-MAY-2006</td></tr></tbody></table><p>Attribute DisableAlarm added to CompLimit to make it possible to use the limit supervision in BaseSensor without alarm.</p><table xml:id="changelog_42" width="2in" border="0" id="changelog_42"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> profibus</span></td></tr><tr><td><span class="classname">Component</span></td><td> -</td></tr><tr><td><span class="classname">Signature</span></td><td> cj</td></tr><tr><td><span class="classname">Date</span></td><td> 09-MAY-2006</td></tr></tbody></table><p>Added some commentation. Fixed bug in pb_ai and pb_di. 3-byte input where not properly aligned when byte swapping.</p><table xml:id="changelog_41" width="2in" border="0" id="changelog_41"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wtt</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 08-MAY-2006</td></tr></tbody></table><p>References in superclass was not displayed in the navigator when option Object Reference or Attribute Reference was selected.</p><table xml:id="changelog_40" width="2in" border="0" id="changelog_40"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wtt</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 05-MAY-2006</td></tr></tbody></table><p>Separate ld_node file for each node. Possibility to configure a FriendNode object under a NodeConfig object.</p><table xml:id="changelog_39" width="2in" border="0" id="changelog_39"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> siemens</span></td></tr><tr><td><span class="classname">Component</span></td><td> wbl</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 04-MAY-2006</td></tr></tbody></table><p>New profibus module classes for ET200M, and slave classes for IM153 and IM155</p><table xml:id="changelog_38" width="2in" border="0" id="changelog_38"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> pwrb</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 02-MAY-2006</td></tr></tbody></table><p>New signals for absolute and delta time, and plc objects for time arithmetics added.</p><table xml:id="changelog_37" width="2in" border="0" id="changelog_37"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> co</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 02-MAY-2006</td></tr></tbody></table><p>Bugfix in time_Dcomp, 0 was not returned for equal times.</p><table xml:id="changelog_36" width="2in" border="0" id="changelog_36"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> plc</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 26-APR-2006</td></tr></tbody></table><p>Bugfix in GetData compilation, error when referenced parameter was a type (not a class) not handled.</p><table xml:id="changelog_35" width="2in" border="0" id="changelog_35"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> plc</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 26-APR-2006</td></tr></tbody></table><p>Bugfix in dataarithm compilation, space at end of line could cause error.</p><table xml:id="changelog_34" width="2in" border="0" id="changelog_34"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wtt</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 31-MAR-2006</td></tr></tbody></table><p>Configuration wizard started when entering an empty directoryvolume.</p><table xml:id="changelog_33" width="2in" border="0" id="changelog_33"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wtt</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 31-MAR-2006</td></tr></tbody></table><p>Build methods added. 'Compile', 'create loadfile' and 'create bootfile' replaced by 'build object', 'build volume' and 'build node'. 'build object', 'build volume' and 'build node' also available as wtt commands.</p><table xml:id="changelog_32" width="2in" border="0" id="changelog_32"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> xtt</span></td></tr><tr><td><span class="classname">Component</span></td><td> glow</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 31-MAR-2006</td></tr></tbody></table><p>Bugfix in annotation input. Insert of new characters might cause segmentation fault.</p><table xml:id="changelog_31" width="2in" border="0" id="changelog_31"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> pwrs</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 31-MAR-2006</td></tr></tbody></table><p>Modified attribute added to RootVolume, SubVolume and SharedVolume.</p><table xml:id="changelog_30" width="2in" border="0" id="changelog_30"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wtt</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 31-MAR-2006</td></tr></tbody></table><p>Copy with keep references added to wtt menu.</p><table xml:id="changelog_29" width="2in" border="0" id="changelog_29"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> rt_tmon</td></tr><tr><td><span class="classname">Signature</span></td><td> rk</td></tr><tr><td><span class="classname">Date</span></td><td> 17-MAR-2006</td></tr></tbody></table><p>Cleaning (zero-ing) of timed out subscription data.</p><table xml:id="changelog_28" width="2in" border="0" id="changelog_28"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> qcom</td></tr><tr><td><span class="classname">Signature</span></td><td> rk</td></tr><tr><td><span class="classname">Date</span></td><td> 17-MAR-2006</td></tr></tbody></table><p>Changed interface to qcom_Put. Added attributes msg_id and prio in qcom_sPut structure.</p><table xml:id="changelog_27" width="2in" border="0" id="changelog_27"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> qcom</td></tr><tr><td><span class="classname">Signature</span></td><td> rk</td></tr><tr><td><span class="classname">Date</span></td><td> 17-MAR-2006</td></tr></tbody></table><p>Replaces old unsent subscriptions with new fresh ones.</p><table xml:id="changelog_26" width="2in" border="0" id="changelog_26"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> xtt</span></td></tr><tr><td><span class="classname">Component</span></td><td> gedyn</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 07-MAR-2006</td></tr></tbody></table><p>Subscription for Table (select array) and AnalogColor was not always unreferenced.</p><table xml:id="changelog_25" width="2in" border="0" id="changelog_25"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> klocknermoeller</span></td></tr><tr><td><span class="classname">Component</span></td><td> -</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 27-FEB-2006</td></tr></tbody></table><p>Changelog created.</p><table xml:id="changelog_24" width="2in" border="0" id="changelog_24"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> telemecanique</span></td></tr><tr><td><span class="classname">Component</span></td><td> -</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 27-FEB-2006</td></tr></tbody></table><p>Changelog created.</p><table xml:id="changelog_23" width="2in" border="0" id="changelog_23"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> siemens</span></td></tr><tr><td><span class="classname">Component</span></td><td> -</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 27-FEB-2006</td></tr></tbody></table><p>Changelog created.</p><table xml:id="changelog_22" width="2in" border="0" id="changelog_22"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> nmps</span></td></tr><tr><td><span class="classname">Component</span></td><td> -</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 27-FEB-2006</td></tr></tbody></table><p>Changelog created.</p><table xml:id="changelog_21" width="2in" border="0" id="changelog_21"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> abb</span></td></tr><tr><td><span class="classname">Component</span></td><td> -</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 27-FEB-2006</td></tr></tbody></table><p>Changelog created.</p><table xml:id="changelog_20" width="2in" border="0" id="changelog_20"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> java</span></td></tr><tr><td><span class="classname">Component</span></td><td> -</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 27-FEB-2006</td></tr></tbody></table><p>Changelog created.</p><table xml:id="changelog_19" width="2in" border="0" id="changelog_19"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wnav</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 27-FEB-2006</td></tr></tbody></table><p>Check before creating a toplevel object if class is a valid in the current window.</p><table xml:id="changelog_18" width="2in" border="0" id="changelog_18"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> profibus</span></td></tr><tr><td><span class="classname">Component</span></td><td> -</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 27-FEB-2006</td></tr></tbody></table><p>Changelog created.</p><table xml:id="changelog_17" width="2in" border="0" id="changelog_17"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> bcomp</span></td></tr><tr><td><span class="classname">Component</span></td><td> -</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 27-FEB-2006</td></tr></tbody></table><p>Changelog created.</p><table xml:id="changelog_16" width="2in" border="0" id="changelog_16"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> tlog</span></td></tr><tr><td><span class="classname">Component</span></td><td> -</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 27-FEB-2006</td></tr></tbody></table><p>Changelog created.</p><table xml:id="changelog_15" width="2in" border="0" id="changelog_15"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> othermanu</span></td></tr><tr><td><span class="classname">Component</span></td><td> -</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 27-FEB-2006</td></tr></tbody></table><p>Changelog created.</p><table xml:id="changelog_14" width="2in" border="0" id="changelog_14"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> ssabox</span></td></tr><tr><td><span class="classname">Component</span></td><td> -</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 27-FEB-2006</td></tr></tbody></table><p>Changelog created.</p><table xml:id="changelog_13" width="2in" border="0" id="changelog_13"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> xtt</span></td></tr><tr><td><span class="classname">Component</span></td><td> xtt</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 27-FEB-2006</td></tr></tbody></table><p>Command for collect remove and collect remove/clear in menu.</p><table xml:id="changelog_12" width="2in" border="0" id="changelog_12"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> remote</span></td></tr><tr><td><span class="classname">Component</span></td><td> -</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 27-FEB-2006</td></tr></tbody></table><p>Changelog created.</p><table xml:id="changelog_11" width="2in" border="0" id="changelog_11"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wnav</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 23-FEB-2006</td></tr></tbody></table><p>New wizard for configuration of directory volume.</p><table xml:id="changelog_10" width="2in" border="0" id="changelog_10"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> convert</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 22-FEB-2006</td></tr></tbody></table><p>Bookmark inserted for every attribute in class xtthelp.</p><table xml:id="changelog_9" width="2in" border="0" id="changelog_9"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> xtthelp</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 22-FEB-2006</td></tr></tbody></table><p>Bugfix, bookmark in xtthelp was case sensitive.</p><table xml:id="changelog_8" width="2in" border="0" id="changelog_8"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> ldh</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 21-FEB-2006</td></tr></tbody></table><p>Bugfix. Unhandled exception in DeleteObject and DeleteTree if not in edit mode.</p><table xml:id="changelog_7" width="2in" border="0" id="changelog_7"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wnav</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 21-FEB-2006</td></tr></tbody></table><p>Popupmenu for object with DevBody only could not be opened.</p><table xml:id="changelog_6" width="2in" border="0" id="changelog_6"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> xtt</span></td></tr><tr><td><span class="classname">Component</span></td><td> ge</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 20-FEB-2006</td></tr></tbody></table><p>Connect to script extern variables in Value, Invisible, SetDig, ToggleDig, DigShift and OptionMenu.</p><table xml:id="changelog_5" width="2in" border="0" id="changelog_5"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wnav</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 20-FEB-2006</td></tr></tbody></table><p>New commands: open graph, delete graph, set subwindow and release subwindow.</p><table xml:id="changelog_4" width="2in" border="0" id="changelog_4"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> script</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 20-FEB-2006</td></tr></tbody></table><p>New script functions SetAttribute, OpenGraph, CloseGraph, SetSubwindow and CheckSystemGroup.</p><table xml:id="changelog_3" width="2in" border="0" id="changelog_3"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> script</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 20-FEB-2006</td></tr></tbody></table><p>'delete' statement added to remove external variables.</p><table xml:id="changelog_2" width="2in" border="0" id="changelog_2"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> src</span></td></tr><tr><td><span class="classname">Component</span></td><td> script</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 20-FEB-2006</td></tr></tbody></table><p>'#' alternative to '!' for comment in script.</p><table xml:id="changelog_1" width="2in" border="0" id="changelog_1"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> xtt</span></td></tr><tr><td><span class="classname">Component</span></td><td> gedyn</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 19-FEB-2006</td></tr></tbody></table><p>Bugfix in GeValue: string was sometimes updated every scan.</p><table xml:id="changelog_0" width="2in" border="0" id="changelog_0"><tbody><tr><td><span class="classname">Module</span></td><td><span class="classname"> wb</span></td></tr><tr><td><span class="classname">Component</span></td><td> wnav</td></tr><tr><td><span class="classname">Signature</span></td><td> cs</td></tr><tr><td><span class="classname">Date</span></td><td> 19-FEB-2006</td></tr></tbody></table><p>WGe, new class to open Ge graphs in development environment.</p></div></div></body></html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Proview 4.1 Getting Started Guide</title><link rel="stylesheet" href="pwrdoc.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.70.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="article" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="id3374775"></a><span class="application">Proview 4.1</span> Getting Started Guide</h1></div><div><h3 class="subtitle"><i>A step-by-step guide to set up a minimal <span class="application">Proview</span> system</i></h3></div><div><div class="author"><h3 class="author"><span class="firstname">Jonas</span> <span class="surname">Haulin</span></h3><div class="affiliation">
<span class="orgname">Proview/R<br></span>
<div class="address"><p><code class="email">&lt;<a href="mailto:info@proview.se">info@proview.se</a>&gt;</code></p></div>
</div></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#pwrgsg_about">1. About this guide</a></span></dt><dd><dl><dt><span class="section"><a href="#pwrgsg_conventions">1.1. Conventions used in this document</a></span></dt></dl></dd><dt><span class="section"><a href="#pwrgsg_pwra">2. Open the administrator environment</a></span></dt><dt><span class="section"><a href="#pwrgsg_createproj">3. Create a project in the <span class="pwrenv">ProjectList</span></a></span></dt><dt><span class="section"><a href="#pwrgsg_createvol">4. Create a volume in the <span class="pwrenv">VolumeList</span></a></span></dt><dd><dl><dt><span class="section"><a href="#pwrgsg_volconf">4.1. Configuring the volume</a></span></dt></dl></dd><dt><span class="section"><a href="#pwrgsg_plantnode">5. Setting up plant and node hierarchies in the <span class="pwrenv">Volume</span> Navigator</a></span></dt><dd><dl><dt><span class="section"><a href="#pwrgsg_plantplc">5.1. Plant Hierarchy and Plc Programs</a></span></dt></dl></dd><dt><span class="section"><a href="#pwrgsg_gui">6. Process graphics and User Interfaces</a></span></dt><dt><span class="section"><a href="#pwrgsg_runtime">7. Runtime</a></span></dt></dl></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="pwrgsg_about"></a>1.About this guide</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="#pwrgsg_conventions">1.1. Conventions used in this document</a></span></dt></dl></div>
<p>This guide will take you through the steps of configuring,
developing, simulating and running a small <span class="application">Proview</span> project, on a
single-computer system. The guide does not intend to be comprehensive.
For detailed documentation, please consult the <em class="citetitle">Designer's Guide</em>
or the <em class="citetitle">GE (graphical editor) Manual</em>.
These documents are available at the <a href="http://www.proview.se" target="_top">Proview</a> site.
</p>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="pwrgsg_conventions"></a>1.1.Conventions used in this document</h3></div></div></div>
<p>
This document follows general conventions for content formatting, <abbr class="abbrev">e.g.</abbr>
</p><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc">
<p>System items: <code class="filename">filename</code>, <code class="systemitem">user</code>,
<code class="envar">ENVIRON_VARIABLE</code></p>
</li><li style="list-style-type: disc">
<p>
Commands: To use the <span><strong class="command">pwrs</strong></span> command, type <strong class="userinput"><code><span><strong class="command">pwrs</strong></span></code></strong> at the terminal.
</p>
</li><li style="list-style-type: disc">
<p>
Screen listing
</p><pre class="screen">
<code class="prompt">bash$</code> <strong class="userinput"><code><span><strong class="command">cd</strong></span> <em class="parameter"><code><code class="filename">src</code></code></em></code></strong>
<code class="prompt">bash$</code> <strong class="userinput"><code><span><strong class="command">ls</strong></span> <code class="option">-al</code></code></strong></pre>
</li><li style="list-style-type: disc">
<p>
Menu choices:
<span class="guimenu">Edit</span> &#8594; <span class="guimenuitem">Change value</span> (<span><strong class="shortcut"><span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">Q</strong></span></strong></span>).
</p>
</li></ul></div><p>
</p>
<p>
In addition, the following Proview add-ons are used:
</p><div class="itemizedlist"><ul type="bullet"><li style="list-style-type: disc">
<p>Proview Environments are currently displayed in small caps or sans serif
(<acronym class="acronym">PDF</acronym> version),
<abbr class="abbrev">e.g.</abbr> <span class="pwrenv">ProjectList</span>.</p>
</li><li style="list-style-type: disc">
<p>Proview Classes are currently displayed in boldface, <abbr class="abbrev">e.g.</abbr>
<span class="classname">ProjectReg</span>.</p>
</li><li style="list-style-type: disc">
<p>Attributes of Proview Classes are currently displayed in italics, <abbr class="abbrev">e.g.</abbr>
<span class="property">ObjectName</span>.</p>
</li><li style="list-style-type: disc">
<p>Values of attributes are currently displayed in monospace, <abbr class="abbrev">e.g.</abbr>
<code class="literal">56.4</code> in the case of numbers, or as &#8220;<span class="quote">Demoprojects</span>&#8221; in the case of strings.</p>
</li></ul></div><p>
</p>
</div>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="pwrgsg_pwra"></a>2.Open the administrator environment</h2></div></div></div>
<p>During installation, the user <code class="systemitem">pwrp</code>
with password &#8220;<span class="quote">pwrp</span>&#8221; is added to the system.
Log in as <code class="systemitem">pwrp</code> and use <span><strong class="command">pwra</strong></span>
at the prompt to start the Project Administrator.
To start <span class="application">Proview</span> as another user,
just add the contents of the <code class="filename">.bashrc</code> file in the <code class="systemitem">pwrp</code>
<code class="filename">home/</code> directory to that of your user.</p>
<p>The <span class="pwrenv">ProjectList</span> administrator environment will open up in a new window.
Switch to and from Edit mode with
<span class="guimenu">Edit</span> &#8594; <span class="guimenuitem">Edit mode</span> (<span><strong class="shortcut"><span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">E</strong></span></strong></span>).
Make sure <span><strong class="keycap">NumLock</strong></span> is not set on the keyboard,
as Ctrl commands with NumLock enabled are not yet
supported in <span class="application">Proview</span>.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="pwrgsg_createproj"></a>3.Create a project in the <span class="pwrenv">ProjectList</span></h2></div></div></div>
<p>Once in Edit mode, an object palette will appear to the left in the
window. The <span class="pwrenv">ProjectList</span> at first only contains the &#8220;<span class="quote">Bases</span>&#8221;
hierarchy. To create a hierarchy for the projects, select <span class="classname">Hier</span>
in the palette, move the cursor to the &#8220;<span class="quote">Bases</span>&#8221; hierarchy
and <span class="mousebutton">middle</span> click.
A new, empty <span class="classname">Hier</span> object is inserted below the existing one.</p>
<p>The hierarchy object is a container for arbitrary objects and it has two attributes:
an <span class="property">ObjectName</span> and a <span class="property">Description</span>.
To expand the object and expose the attributes, select the object and use the <span><strong class="keycap">right arrow</strong></span> key.
Now, to edit an attribute, select the attribute and use
<span class="guimenu">Edit</span> &#8594; <span class="guimenuitem">Change value</span> (<span><strong class="shortcut"><span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">Q</strong></span></strong></span>).
</p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Tip: Use set adv"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Tip]" src="../tip.png"></td><th align="left">Use <span><strong class="command">set adv</strong></span></th></tr><tr><td align="left" valign="top">
<p>
A more convenient way to edit an attribute is to give the command
<span><strong class="command">set adv</strong></span> in the Navigator
(use <span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">B</strong></span>, to get a command line).
Then object attributes may be open for editing with the <span><strong class="keycap">right arrow</strong></span> key.
In the case of an object with children, <span><strong class="keycap">right arrow</strong></span> opens
the next level of the hierarchy, and <span><strong class="keycap">Shift</strong></span>-<span><strong class="keycap">right arrow</strong></span>
opens the object itself for editing.</p>
</td></tr></table></div><p>
</p>
<div class="screenshot">
<div class="mediaobject" align="center"><a name="screenprojectlist"></a><img src="../screen_projectlist.png" align="middle"><div class="caption"><p>The project list navigator.</p></div></div>
</div>
<p>We choose the name &#8220;<span class="quote">Demoprojects</span>&#8221; for our hierarchy.
We then add a <span class="classname">ProjectReg</span> object to the
&#8220;<span class="quote">Demoprojects</span>&#8221; hierarchy and name it &#8220;<span class="quote">Demo</span>&#8221;.
We want to add the <span class="classname">ProjectReg</span> as a child and not as a sibling.
To do this, middle click directly on the desired parent leaf, which is
our &#8220;<span class="quote">Demoprojects</span>&#8221; hierarchy in this case.
An object can be moved or copied in the hierarchy by selecting it and
<span class="mousebutton">Right-clicking</span> at the desired location.
We need to define the <span class="property">project</span> and
<span class="property">path</span> attributes.
The project name is written in lower case. We use the name &#8220;<span class="quote">demo</span>&#8221;.
The <span class="property">path</span> attribute should just reflect the chosen project name.
Save the changes to the <span class="pwrenv">ProjectList</span> and exit Edit mode.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="pwrgsg_createvol"></a>4.Create a volume in the <span class="pwrenv">VolumeList</span></h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="#pwrgsg_volconf">4.1. Configuring the volume</a></span></dt></dl></div>
<p>In the <span class="pwrenv">VolumeList</span>, select
<span class="guimenu">File</span> &#8594; <span class="guisubmenu">Open..</span> &#8594; <span class="guimenuitem">GlobalVolumeList</span>
to open the <span class="pwrenv">VolumeList</span>.
Request Edit mode.
In the &#8220;<span class="quote">ProjectVolumes</span>&#8221; hierarchy, add a <span class="classname">VolumeReg</span> object.
We name our <span class="classname">VolumeReg</span> object &#8220;<span class="quote">VolDEMO</span>&#8221;
and assign it to the right project by writing demo in its project attribute.
A project may have several volumes assigned to it, but not the other way around.
A unique <span class="property">VolumeId</span> must be given.
We choose <code class="literal">0.1.1.1</code>,
see the <em class="citetitle">Designer's Guide</em> for a specification of the numbers.
Save the changes to the
volume list and go out of edit mode.</p>
<div class="screenshot">
<div class="mediaobject" align="center"><a name="screenvolumelist"></a><img src="../screen_volumelist.png" align="middle"><div class="caption"><p>The volume list navigator.</p></div></div>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="pwrgsg_volconf"></a>4.1.Configuring the volume</h3></div></div></div>
<p>When a volume is created, open the <span class="pwrenv">Directory</span>
Navigator by <span class="mousebutton">right</span> clicking the <span class="classname">ProjectReg</span>
object in the <span class="pwrenv">ProjectList</span>, and choosing
<span class="guimenu">Popup menu</span> &#8594; <span class="guimenuitem">Open Project...</span>
An alternative way is to type
</p><pre class="screen"><code class="prompt">bash$</code> <strong class="userinput"><code><span><strong class="command">sdf</strong></span> <em class="parameter"><code>demo</code></em></code></strong></pre><p>
The <span><strong class="command">sdf</strong></span> command sets up environment variables for the project with default values.
The <span class="pwrenv">Directory</span> Navigator is then started with
<span><strong class="command">pwrs</strong></span>.
In the Navigator, request Edit mode as before (<span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">E</strong></span>),
and a two-window view (<span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">W</strong></span>).
The upper window corresponds to Volume configuration, and
the lower window to Node configuration. In the Volume window,
we add a <span class="classname">RootVolumeConfig</span> object and name it &#8220;<span class="quote">VolDEMO</span>&#8221;.
In the Node window we add a <span class="classname">System</span> and two
<span class="classname">BusConfig</span> objects.</p>
<p>In the <span class="classname">System</span> object,
the <span class="property">SystemName</span> attribute is the same as the
project name, i e &#8220;<span class="quote">demo</span>&#8221;.
The <span class="property">SystemGroup</span> attribute should be set to
&#8220;<span class="quote">Common</span>&#8221;, which gives us authorization to edit the project later.</p>
<p>The two <span class="classname">BusConfig</span>
objects are for production and simulation, respectively.
We name the objects after their bus numbers, choosing
<code class="literal">507</code> for production, and <code class="literal">999</code> for simulation.
These values must be set in the <span class="property">BusNumber</span> attributes of the objects.
To each of the <span class="classname">BusConfig</span> objects,
we add a <span class="classname">NodeConfig</span> object.
The <span class="classname">NodeConfig</span> attributes to be set
are <span class="property">ObjectName</span>, <span class="property">NodeName</span>
and <span class="property">BootNode</span>, which are set to the name of the
runtime machine in question.
We only use the development machine
<code class="systemitem">susetest</code>,
and it is not possible to have separate buses for simulation and production.
Therefore, we set up a dummy node on the production
bus and put <code class="systemitem">susetest</code> on the simulation bus.
Finally, the <span class="property">OperatingSystem</span> (normally &#8220;<span class="quote">Linux on x86</span>&#8221;)
and <span class="property">Address</span> (IP-address) of the node need to be specified.</p>
<div class="screenshot">
<div class="mediaobject" align="center"><a name="screendirvol1"></a><img src="../screen_directoryvolume1.png" align="middle"><div class="caption"><p>The directory volume navigator.</p></div></div>
</div>
<div class="screenshot">
<div class="mediaobject" align="center"><a name="screendirvol2"></a><img src="../screen_directoryvolume2.png" align="middle"><div class="caption"><p>The directory volume navigator (again).</p></div></div>
</div>
<p>With each of the <span class="classname">NodeConfig</span> objects follows two children,
a <span class="classname">RootVolumeLoad</span> object and a
<span class="classname">Distribute</span> object.
The <span class="property">ObjectName</span>
of the <span class="classname">RootVolumeLoad</span> object needs to be set.
It is the same as the corresponding volume, &#8220;<span class="quote">VolDEMO</span>&#8221; in this case.</p>
<p>Save the changes and exit edit mode.
</p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Tip"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Tip]" src="../tip.png"></td><th align="left">Tip</th></tr><tr><td align="left" valign="top">
<p>
The process of configuring project and volumes can be automatated in a script,
called from the command line in the Navigator.
See the <em class="citetitle">Designer's Guide</em>, at the
<a href="http://www.proview.se/" target="_top">Proview</a> site.
</p>
</td></tr></table></div><p>
</p>
</div>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="pwrgsg_plantnode"></a>5.Setting up plant and node hierarchies in the <span class="pwrenv">Volume</span> Navigator</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="#pwrgsg_plantplc">5.1. Plant Hierarchy and Plc Programs</a></span></dt></dl></div>
<p>
Open the <span class="pwrenv">Directory</span> Navigator with <span><strong class="command">pwrs</strong></span> from a terminal window
(you may have to type <strong class="userinput"><code><span><strong class="command">sdf</strong></span> <em class="parameter"><code>demo</code></em></code></strong> at the terminal first).
<span class="mousebutton">Right</span> click on the
<span class="classname">RootVolumeConfig</span> object and choose
<span class="guimenu">Popup menu</span> &#8594; <span class="guimenuitem">Open volume..</span>
to open the <span class="pwrenv">Volume</span> Navigator.
It is also possible to open the volume directly from the terminal, by passing
the volume name as an argument to <span><strong class="command">pwrs</strong></span>, <abbr class="abbrev">i.e.</abbr>
</p><pre class="screen"><code class="prompt">bash$</code> <strong class="userinput"><code><span><strong class="command">pwrs</strong></span> <em class="parameter"><code>VolDEMO</code></em></code></strong></pre><p>
Enter Edit mode and choose a two-window view.
Make sure that the <span class="property">OperatingSystem</span> attribute is set correctly in
<span class="guimenu">File</span> &#8594; <span class="guimenuitem">Volume attributes...</span>
</p>
<p>Now, add a <span class="classname">PlantHier</span> object to the top window,
and a <span class="classname">NodeHier</span> object to the bottom window.
To the <span class="classname">NodeHier</span>, we add a <span class="classname">Node</span> object,
and name it &#8220;<span class="quote">SUSETEST</span>&#8221;.
The plant hierarchy is a logical representation of the physical system to be controlled.
It will contain the various signals and parameters needed,
as well as the plc programs that perform the control operations.
The node hierarchy is a representation of the hardware, with I/O-channels and system-level configurations.
Proview currently supports the <span class="productname">Profibus/DP</span> fieldbus standard,
as well as a number of less widespread <span class="hardware">QBUS</span> I/O cards.
To keep this demonstration example general, we will leave out I/O configuration, and use internal signals only.
</p>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="pwrgsg_plantplc"></a>5.1.Plant Hierarchy and Plc Programs</h3></div></div></div>
<p> We will now set up the plant hierarchy, which is a logical model of our physical system,
and create the plc programs that will perform the control operations.
We start by adding some analog and digital signals
(<span class="classname">Av</span> and <span class="classname">Dv</span>)
to the plant hierarchy from the palette on the left-hand side.
The palette is visible in Edit mode, only.
Then we add a <span class="classname">PlcPgm</span> to the hierarchy (this is the plc program object).
We need to connect it to the right <span class="classname">PlcThread</span> in the node hierarchy.
Select the default &#8220;<span class="quote">100ms</span>&#8221; <span class="classname">PlcThread</span>
under the <span class="classname">PlcProcess</span> object in the node hierarchy.
Then connect it to the <span class="property">ThreadObject</span> attribute of the newly
created <span class="classname">PlcPgm</span> in the plant hierarchy.
To do this, select the <span class="classname">PlcThread</span> and
<span><strong class="keycap">Ctrl</strong></span>-<span class="mousebutton">Double click</span>
on the <span class="property">ThreadObject</span> attribute.
Connections between other objects, e.g. I/O channels and signals, are created with
<span><strong class="keycap">Ctrl</strong></span>-<span class="mousebutton">Double click</span>
in a similar way.</p>
<p>We need to set the thread priority of the <span class="classname">PlcThread</span>,
as the default priority of <code class="literal">0</code> will give poor real time performance.
This is done in the <span class="property">Prio</span> attribute of the
<span class="classname">PlcThread</span>.
A priority of <code class="literal">20</code> is suitable.
Save the changes made to the volume, and exit Edit mode.</p>
<div class="screenshot">
<div class="mediaobject" align="center"><a name="screennavigator"></a><img src="../screen_navigator.png" align="middle"><div class="caption"><p>The volume navigator.</p></div></div>
</div>
<p>To edit the plc program, make sure the <span class="pwrenv">Volume</span>
Navigator is not in edit mode.
Then select the <span class="classname">PlcPgm</span> and choose
<span class="guimenu">Functions</span> &#8594; <span class="guimenuitem">Open program</span> (<span><strong class="shortcut"><span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">L</strong></span></strong></span>).
The plc editor opens in a new window.
Enter Edit mode.
Now, add objects to the program by choosing from the left-hand side palette and middle clicking in the program area.
We build a small example program consisting of a <span class="classname">Ramp</span> object,
with analog input and output signals.
Save the program and exit the editor.</p>
<div class="screenshot">
<div class="mediaobject" align="center"><a name="screenplceditor"></a><img src="../screen_plceditor.png" align="middle"><div class="caption"><p>The plc editor.</p></div></div>
</div>
<p>We now need to compile the program and create a load file and a boot file.
This is done in the <span class="pwrenv">Volume</span> Navigator.
Select the whole plant hierarchy and choose
<span class="guimenu">Functions</span> &#8594; <span class="guimenuitem">Compile</span>.
Then to create load and boot files, use
<span class="guimenu">Functions</span> &#8594; <span class="guimenuitem">Create Loadfile</span> and
<span class="guimenu">Functions</span> &#8594; <span class="guimenuitem">Create boot file</span>.
Check the outcome of the commands in the terminal window where you started the Navigator.
</p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Tip"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Tip]" src="../tip.png"></td><th align="left">Tip</th></tr><tr><td align="left" valign="top">
<p>
The process of compiling plc programs and creating load and boot files can be automated in a wtt script.
See the <em class="citetitle">Designer's Guide</em>, at the
<a href="http://www.proview.se/" target="_top">Proview</a> site.
</p>
</td></tr></table></div><p>
</p>
</div>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="pwrgsg_gui"></a>6.Process graphics and User Interfaces</h2></div></div></div>
<p>To make a small GUI, open the Graphical Editor (GE) with
<span class="guimenu">Functions</span> &#8594; <span class="guimenuitem">Open graphical editor</span> (<span><strong class="shortcut"><span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">K</strong></span></strong></span>)
To control the example system, add a slider with background and a trendcurve for the analog input and output.
Open the object attribute windows,
and connect the relevant attributes to the corresponding signals in the plant hierarchy.
This is done by selecting the signal, and
<span><strong class="keycap">Ctrl</strong></span>-<span class="mousebutton">Double click</span>
the attribute.
</p>
<div class="screenshot">
<div class="mediaobject" align="center"><a name="screenge"></a><img src="../screen_ge.png" align="middle"><div class="caption"><p>The Graphical Editor (GE).</p></div></div>
</div>
<p>
We need to set the size of the image in
<span class="guimenu">File</span> &#8594; <span class="guimenuitem">Graph attributes...</span>.
Place the cursor in the lower right corner of the image to read off suitable values for the x1 and y1 coordinates.
</p>
<div class="screenshot">
<div class="mediaobject" align="center"><a name="screengraphattr"></a><img src="../screen_graphattributes.png" align="middle"><div class="caption"><p>The graph attributes window.</p></div></div>
</div>
<p>
Save the process image file as <code class="filename">demo.pwg</code>.
To use it in runtime we need to copy it from the default location in
<code class="filename">$pwrp_pop/</code> to <code class="filename">$pwrp_exe/</code>.
<sup>[<a name="id3377124" href="#ftn.id3377124">1</a>]</sup>
When we have a lot of process graphics for a project the easiest way is to type
</p><pre class="screen">
<code class="prompt">bash$</code> <strong class="userinput"><code><span><strong class="command">cp</strong></span> <em class="parameter"><code><code class="filename">$pwrp_pop/*.pwg</code></code></em> <em class="parameter"><code><code class="filename">$pwrp_exe</code></code></em></code></strong></pre><p>
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="pwrgsg_runtime"></a>7.Runtime</h2></div></div></div>
<p>Now our program is compiled, and we have created a load file and a boot file for the volume.
To start the runtime system on the development machine, type
</p><pre class="screen">
<code class="prompt">bash$</code> <strong class="userinput"><code><span><strong class="command">rt_ini</strong></span> &amp;</code></strong></pre><p>
To stop the runtime processes, type <strong class="userinput"><code><span><strong class="command">rt_ini</strong></span> <code class="option">-s</code></code></strong>,
or <strong class="userinput"><code><span><strong class="command">. pwr_stop.sh</strong></span></code></strong> (while this holds for a development machine,
the commands differ slightly on a runtime-only node, with a pwrrt package installed - see separate documentation).
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Note]" src="../note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top">
<p>For the runtime system to work correctly, you may have to mount an <code class="systemitem">mqueue</code>
on your system.
This can be done by
</p><pre class="screen">
<code class="prompt">bash$</code> <strong class="userinput"><code><span><strong class="command">su</strong></span></code></strong>
<code class="prompt">bash$</code> <strong class="userinput"><code><span><strong class="command">mkdir</strong></span> <em class="parameter"><code><code class="filename">/dev/mqueue</code></code></em></code></strong>
<code class="prompt">bash$</code> <strong class="userinput"><code><span><strong class="command">mount</strong></span> <code class="option">-t</code> <em class="parameter"><code><code class="systemitem">mqueue</code></code></em> <code class="option">none</code> <em class="parameter"><code><code class="filename">/dev/mqueue</code></code></em></code></strong></pre><p>
The <code class="systemitem">mqueue</code> thus mounted will disappear after reboot.
For a permanent mount, edit the <code class="filename">/etc/fstab</code> file.
</p>
<p>
You may also want to control that the <code class="envar">$PWR_BUS_ID</code>
environment variable is set up correctly
(it should match the chosen bus number, which is <code class="literal">999</code> in this case).
</p>
</td></tr></table></div><p>
If everything goes well, we can now open the <span class="pwrenv">Xtt</span>
Runtime Navigator from the terminal with <span><strong class="command">rt_xtt</strong></span>.
</p>
<div class="screenshot">
<div class="mediaobject" align="center"><a name="screenxtt"></a><img src="../screen_xtt.png" align="middle"><div class="caption"><p>The Xtt navigator.</p></div></div>
</div>
<p>
To open the process image in <span class="pwrenv">Xtt</span>,
use <span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">B</strong></span> to get a command line in the
navigator, and then type <strong class="userinput"><code><span><strong class="command">open graph</strong></span> <em class="parameter"><code><code class="filename">demo</code></code></em></code></strong>.</p>
<div class="screenshot">
<div class="mediaobject" align="center"><a name="screengert"></a><img src="../screen_gert.png" align="middle"><div class="caption"><p>The graph in the runtime environment.</p></div></div>
</div>
</div>
<div class="footnotes"><br><hr width="100" align="left"><div class="footnote">
<p><sup>[<a name="ftn.id3377124" href="#id3377124">1</a>] </sup>The initial <span><strong class="command">sdf</strong></span> sets <code class="filename">$pwrp_pop/</code>
and <code class="filename">$pwrp_exe/</code> to point to certain directories in the project tree.
These are <em class="replaceable"><code>projectpath</code></em><code class="filename">/common/src/pop/</code>
and <em class="replaceable"><code>projectpath</code></em><code class="filename">/x86_linux/exe/</code>, respectively.</p>
</div></div></div></body></html>
...@@ -55,15 +55,19 @@ ...@@ -55,15 +55,19 @@
</mediaobject> </mediaobject>
</info> </info>
<chapter xml:id="upgradev42_chaintro"><title>Introduction</title> <chapter xml:id="upgradev42_chaintro">
<section xml:id="upgradev42_intro"><title>Upgrading to Proview 4.2.0</title> <title>Introduction</title>
<section xml:id="upgradev42_intro">
<title>Upgrading to Proview 4.2.0</title>
<para>This document describes new functions i Proview V4.2.0, and how to upgrade a project <para>This document describes new functions i Proview V4.2.0, and how to upgrade a project
from V4.1.3 to V4.2.0.</para> from V4.1.3 to V4.2.0.</para>
</section> </section>
</chapter> </chapter>
<chapter xml:id="upgradev42_chanewfunc"><title>New functions</title> <chapter xml:id="upgradev42_chanewfunc">
<section xml:id="upgradev42_profibus"><title>Profibus configurator</title> <title>New functions</title>
<section xml:id="upgradev42_profibus">
<title>Profibus configurator</title>
<para>The configuration of profibus is changed in V4.2.0, both the configuration procedure and <para>The configuration of profibus is changed in V4.2.0, both the configuration procedure and
the objects used for the configuration.</para> the objects used for the configuration.</para>
...@@ -91,23 +95,27 @@ ...@@ -91,23 +95,27 @@
<para>The slave can keep a specific number of modues, and for each possible module <para>The slave can keep a specific number of modues, and for each possible module
there is a module entry in the configurator. By opening a module entry you can specify there is a module entry in the configurator. By opening a module entry you can specify
type, configuration data, objectname and object class for the module. type, configuration data, objectname and object class for the module.
<section xml:id="upgradev42_pb_type"><title>Type</title> <section xml:id="upgradev42_pb_type">
<title>Type</title>
<para>Under Type all possible types are displayed for the actual slave. Select the <para>Under Type all possible types are displayed for the actual slave. Select the
desired type by clicking in the checkbox for the type.</para> desired type by clicking in the checkbox for the type.</para>
</section> </section>
<section xml:id="upgradev42_pb_confdata"><title>Configuration data</title> <section xml:id="upgradev42_pb_confdata">
<title>Configuration data</title>
<para>Under UserPrmData the configuration alternatives of the selected module <para>Under UserPrmData the configuration alternatives of the selected module
are displayed.You can specifiy data and choose between different alternatives to are displayed.You can specifiy data and choose between different alternatives to
configure the module. See the datasheet for the module for more information about configure the module. See the datasheet for the module for more information about
the alternatives. the alternatives.
</para> </para>
</section> </section>
<section xml:id="upgradev42_pb_objname"><title>Objekt name</title> <section xml:id="upgradev42_pb_objname">
<title>Objekt name</title>
<para>When configurinn, the Profibus configuration creates a module object under the <para>When configurinn, the Profibus configuration creates a module object under the
slave object. In ObjectName you specify a name of the module object. The name should be slave object. In ObjectName you specify a name of the module object. The name should be
unic for the slave. unic for the slave.
</para></section> </para></section>
<section xml:id="upgradev42_pb_mclass"><title>Modul class</title> <section xml:id="upgradev42_pb_mclass">
<title>Modul class</title>
<para>Under ModuleClass the possible classes of the module object, that is created under <para>Under ModuleClass the possible classes of the module object, that is created under
the slave object, are displayed. The class you choose is dependent on the layout of the slave object, are displayed. The class you choose is dependent on the layout of
the dataarea tranfered on the profibus circuit. There are a number of specific classes, the dataarea tranfered on the profibus circuit. There are a number of specific classes,
...@@ -126,44 +134,53 @@ ...@@ -126,44 +134,53 @@
</para> </para>
</section> </section>
<section xml:id="upgradev42_buildmeth"><title>Build methods</title> <section xml:id="upgradev42_buildmeth">
<title>Build methods</title>
<para>Compiling PlcPgm, creation of loadfiles and bootfiles are now preformed by the <para>Compiling PlcPgm, creation of loadfiles and bootfiles are now preformed by the
Build function. The build function consists of build methods for node, volumes and objects. Build function. The build function consists of build methods for node, volumes and objects.
</para> </para>
<section xml:id="upgradev42_build_obj"><title>Build methods for objects</title> <section xml:id="upgradev42_build_obj">
<section xml:id="upgradev42_build_plc"><title>PlgPgm</title> <title>Build methods for objects</title>
<section xml:id="upgradev42_build_plc">
<title>PlgPgm</title>
<para>The build method for a PlcPgm checks if the plc-kode is modified since the last <para>The build method for a PlcPgm checks if the plc-kode is modified since the last
compilation. If it is changed, the program with all subwindows are compiled. compilation. If it is changed, the program with all subwindows are compiled.
</para></section> </para></section>
<section xml:id="upgradev42_build_xtt"><title>XttGraph</title> <section xml:id="upgradev42_build_xtt">
<title>XttGraph</title>
<para>The build method for a XttGraph copies the .pwg file from $pwrp_pop to $pwrp_exe <para>The build method for a XttGraph copies the .pwg file from $pwrp_pop to $pwrp_exe
if the file on $pwrp_pop is more recent than the file on $pwrp_exe. If the graph is if the file on $pwrp_pop is more recent than the file on $pwrp_exe. If the graph is
a java applet or java application, it is exported as java and compiled. a java applet or java application, it is exported as java and compiled.
</para></section> </para></section>
<section xml:id="upgradev42_build_web"><title>WebHandler</title> <section xml:id="upgradev42_build_web">
<title>WebHandler</title>
<para>The build method for a WebHandler object creates a home sita for a node (calls <para>The build method for a WebHandler object creates a home sita for a node (calls
Generate Web). Generate Web).
</para></section> </para></section>
</section> </section>
<section xml:id="upgradev42_build_vol"><title>Build methods for volumes</title> <section xml:id="upgradev42_build_vol">
<section xml:id="upgradev42_build_rootvol"><title>Rootvolume</title> <title>Build methods for volumes</title>
<section xml:id="upgradev42_build_rootvol">
<title>Rootvolume</title>
<para>The build medhod of the rootvolume calls the build method of all PlcPgm, <para>The build medhod of the rootvolume calls the build method of all PlcPgm,
XttGraph and WebHandler objects in the volume. If the volume is modified since the XttGraph and WebHandler objects in the volume. If the volume is modified since the
last loadfile creation, new loadfiles are created. Also new crossreference files are last loadfile creation, new loadfiles are created. Also new crossreference files are
created if this is specified in Options. created if this is specified in Options.
</para></section> </para></section>
<section xml:id="upgradev42_build_classvol"><title>Classvolume</title> <section xml:id="upgradev42_build_classvol">
<title>Classvolume</title>
<para>If the class volume is modified since the last creation of loadfiles for <para>If the class volume is modified since the last creation of loadfiles for
the volume, new loadfiles and structfiles are created for the volume. the volume, new loadfiles and structfiles are created for the volume.
</para></section> </para></section>
</section> </section>
<section xml:id="upgradev42_build_node"><title>Build methods for nodes</title> <section xml:id="upgradev42_build_node">
<title>Build methods for nodes</title>
<para>The build method of a node calls the build method of the opened volume, and <para>The build method of a node calls the build method of the opened volume, and
thereafter creates a new bootfile for the node. thereafter creates a new bootfile for the node.
<note>Only the volumes that are opened is built. If the node contatins several volumes <note>Only the volumes that are opened is built. If the node contatins several volumes
...@@ -173,7 +190,8 @@ ...@@ -173,7 +190,8 @@
</section> </section>
</section> </section>
<section xml:id="upgradev42_remrack"><title>PSS9000 Remote rack</title> <section xml:id="upgradev42_remrack">
<title>PSS9000 Remote rack</title>
<para>A Proview system can now fetch data from a PSS9000 rack via ethernet. The <para>A Proview system can now fetch data from a PSS9000 rack via ethernet. The
rack is configured by a Ssab_RemoteRack object in the node hierarchy. Under the rack is configured by a Ssab_RemoteRack object in the node hierarchy. Under the
...@@ -181,7 +199,8 @@ ...@@ -181,7 +199,8 @@
</para> </para>
</section> </section>
<section xml:id="upgradev42_ld_node"><title>ld_node_xxx.dat</title> <section xml:id="upgradev42_ld_node">
<title>ld_node_xxx.dat</title>
<para>ld_node file contains the nodes a node connects to via QCOM at proview startup. <para>ld_node file contains the nodes a node connects to via QCOM at proview startup.
The files is generated from data in NodeConfig and FriendNodeConfig objects in the The files is generated from data in NodeConfig and FriendNodeConfig objects in the
...@@ -196,14 +215,16 @@ ...@@ -196,14 +215,16 @@
connects to the external node. </para> connects to the external node. </para>
</section> </section>
<section xml:id="upgradev42_sub"><title>Buffering of subscriptions removed</title> <section xml:id="upgradev42_sub">
<title>Buffering of subscriptions removed</title>
<para>The buffering of subscriptions, which could lead to catch up fenomena at bad <para>The buffering of subscriptions, which could lead to catch up fenomena at bad
communicaion, is now removed. communicaion, is now removed.
</para> </para>
</section> </section>
<section xml:id="upgradev42_wiz"><title>Project configuration Wizard</title> <section xml:id="upgradev42_wiz">
<title>Project configuration Wizard</title>
<para>The configuration of the project volume is now simplified by using a wizard <para>The configuration of the project volume is now simplified by using a wizard
that is automaticaly started when an empty project volumes is opened. The wizard that is automaticaly started when an empty project volumes is opened. The wizard
...@@ -216,11 +237,34 @@ ...@@ -216,11 +237,34 @@
</para> </para>
</section> </section>
<section xml:id="upgradev42_otime"><title>Objects for time handling</title> <section xml:id="upgradev42_cupdate">
<title>Update of classes</title>
<para>If a class in a classvolyme was modified, you previously had to dump the database
to a textfile and the reload this, to update the instances of the modified class.
Now there is a function that updates instances without dump and reload.</para>
<para>Every database stores loadfiles for classvolymes locally in the database directory.
It is these local files, and not the global dbs-files in $pwr_load or $pwrp_load that is used
when the workbench is opened. This makes you independent of changes in the global dbs-files.
When the workbench is started, the versions of local and global dbs-files are compared, and
if a new version in a global dbs-file is found, you get a warning message about this. The
command 'check classes' displayes which classes are modified, and if there are any instances
of the classes in the database. You should then activate Functions->Update Classes in the
menu to update the instances and the local dbs-files.</para>
<para>For function object classes there are some restrictions. In some cases the connections
to the function object has to be reconnected. If an input or output is removed, the input or
output pin should not be visible in any instance, otherwise the connections should be redrawn.
Also if an input or output is moved, the connections should be redrawn.
</para>
<section xml:id="upgradev42_otime">
<title>Objects for time handling</title>
<para>A number of new objects to handle times is added in V4.2.0. There are objects <para>A number of new objects to handle times is added in V4.2.0. There are objects
to store, add, subtract times etc. to store, add, subtract times etc.
<section xml:id="upgradev42_otime_sig"><title>Signals</title> <section xml:id="upgradev42_otime_sig">
<title>Signals</title>
<para>The signal objects ATv (AboluteTimeValue) and DTv (DeltaTimeValue) store time <para>The signal objects ATv (AboluteTimeValue) and DTv (DeltaTimeValue) store time
values in the shape of an absolute time (of type pwr_tTime) or a delta time (of type values in the shape of an absolute time (of type pwr_tTime) or a delta time (of type
pwr_tDeltaTime, i.e. a time intervall). </para> pwr_tDeltaTime, i.e. a time intervall). </para>
...@@ -228,7 +272,8 @@ ...@@ -228,7 +272,8 @@
is not performed.</para> is not performed.</para>
</section> </section>
<section xml:id="upgradev42_otime_plc"><title>Plc objects</title> <section xml:id="upgradev42_otime_plc">
<title>Plc objects</title>
<para>Addition and subtraction of times is perfomed in the plc program by the objects <para>Addition and subtraction of times is perfomed in the plc program by the objects
<classname>AtAdd, DtAdd, AtSub, DtSub</classname> and <classname>AtDtSub</classname>. </para> <classname>AtAdd, DtAdd, AtSub, DtSub</classname> and <classname>AtDtSub</classname>. </para>
<para>To fetch an ATv or DTv the objects <classname>GetATv</classname> and <para>To fetch an ATv or DTv the objects <classname>GetATv</classname> and
...@@ -247,27 +292,109 @@ ...@@ -247,27 +292,109 @@
</para> </para>
</section> </section>
<section xml:id="upgradev42_types"><title>Modified types</title> <section xml:id="upgradev42_updatecls">
<section xml:id="upgradev42_types_repenum"><title>pwrb:DataRepEnum</title> <title>Update Classes</title>
<para>Previously, if you made a change in a class, you had to reload the database, i.e. dump
the database to a textfile, and then load the textfile into the database again. Now
there is a funcion that converts the objects in a database to the now class description
without a reload. When the workbench is started, any new version of a dbs-file for a
classvolume is detected. If a new version i found, an error message is displayed in
the message window. You can then either continue with the old class description, or
update the objects to the new. The update is performed from
<menuchoice><guimenu>Function->Update Classes</guimenu></menuchoice> in the menu.
The objects that are influenced by the new class description can first be displayed
by the command
<prompt>wtt> </prompt><userinput><command>check classes</command></userinput>
that lists the modified classes and the number of instances found for each class.
</para>
<para>Before executing a class update, be sure to have a backup of the database.
</para>
</section>
<section xml:id="upgradev42_ge">
<title>Ge</title>
<section xml:id="upgradev42_gefolder">
<title>Object graph in Window and Folder</title>
<para>It is now possible to display an object graph in a window or folder object.
The instance object of the object graph is inserted in the properties Window.Object and
Folderx.Object.
</para>
</section>
<section xml:id="upgradev42_getable">
<title>Select color in Table</title>
<para>A property to modify the color of selected cells in tables is added to the Table object.
Set the desired color in Table.SelectColor.
</para>
</section>
<section xml:id="upgradev42_invbit">
<title>Bit type in Invisible</title>
<para>Access is often stored as bits in a bitmask, and it is now possible to influence the
sensitivity and visibility for an object from a bit in a bitmask. The type for the attribute
is written ##Bit#32[7] which means a 32-bit bitmask, bit number 7 (the first bit is bit 0).
</para>
</section>
</section>
<section xml:id="upgradev42_types">
<title>Modified types</title>
<section xml:id="upgradev42_types_repenum">
<title>pwrb:DataRepEnum</title>
<para>The values Int32 and UInt24 is added.</para> <para>The values Int32 and UInt24 is added.</para>
</section> </section>
</section> </section>
<section xml:id="upgradev42_changed_classes"><title>Modified classes</title> <section xml:id="upgradev42_changed_classes">
<title>Modified classes</title>
<section xml:id="upgradev42_ch_pb"><title>Profibus:Pb_Module</title> <section xml:id="upgradev42_ch_pb">
<title>Profibus:Pb_Module</title>
<para>The attribute ModuleName is added.</para> <para>The attribute ModuleName is added.</para>
</section> </section>
<section xml:id="upgradev42_ch_complimit"><title>BaseComponent:CompLimit</title> <section xml:id="upgradev42_ch_complimit">
<title>BaseComponent:CompLimit</title>
<para>The attribute DisableAlarm is added, which makes it possible to use the <para>The attribute DisableAlarm is added, which makes it possible to use the
limitvalue supervision in a BaseSensor without alarm.</para> limitvalue supervision in a BaseSensor without alarm.</para>
</section> </section>
<section xml:id="upgradev42_ch_compmodedm">
<title>BaseComponent:CompModeDM, CompModeDMFo</title>
<para>Funktionality for local mode added.</para>
</section>
<section xml:id="upgradev42_ch_basemvalve">
<title>BaseComponent:BaseMValveFo</title>
<para>Funktionality for local mode added.</para>
</section>
<section xml:id="upgradev42_ch_volumes">
<title>RootVolume, SubVolume, SharedVolume</title>
<para>The attribute Modified is added, where the time of the latest save is stored.</para>
</section>
</section>
<section xml:id="upgradev42_new_classes">
<title>New classes</title>
<section xml:id="upgradev42_new_comppid"><title>CompPID, CompPID_Fo</title>
<para>The Pid controller divided into a main object and a function object. The controller
can be a component of another object.</para>
</section> </section>
<section xml:id="upgradev42_new_compmode"><title>CompModePID, CompModePID_Fo</title>
<para>The mode object to the PID controller.</para>
</section>
<section xml:id="upgradev42_new_classes"><title>New classes</title> <section xml:id="upgradev42_new_getdatap"><title>GetDatap</title>
<para>Plc object to fetch the reference to a data object, e.g. a data output in a DataArithm.
Can also be used to attach data inputs in function objects with template plc code.
</para>
</section>
<section xml:id="upgradev42_new_atv"><title>pwrb:ATv</title> <section xml:id="upgradev42_new_atv"><title>pwrb:ATv</title>
<para>Absolute Time Value, storage of an absolut time, pwr_tTime.</para> <para>Absolute Time Value, storage of an absolut time, pwr_tTime.</para>
...@@ -413,6 +540,7 @@ ...@@ -413,6 +540,7 @@
<para>Profibus module objects for ET200S analog output modules.</para> <para>Profibus module objects for ET200S analog output modules.</para>
</section> </section>
</section>
</section> </section>
</chapter> </chapter>
...@@ -422,6 +550,13 @@ ...@@ -422,6 +550,13 @@
upgrade has to be performed stepwise following the scheme upgrade has to be performed stepwise following the scheme
<classname>V2.1 -> V2.7b -> V3.0 -> V3.3 -> V3.4b -> V4.0.0 -> V4.1.3 -> V4.2.0</classname></para> <classname>V2.1 -> V2.7b -> V3.0 -> V3.3 -> V3.4b -> V4.0.0 -> V4.1.3 -> V4.2.0</classname></para>
<para><note>Upgradeing a Debian project from V4.1.3 requires that a new debian release is
installed.
Dump the project with the reload.sh script before installing the new debian release,
and while the project is still pointing at V4.1.3. Execute the only the dumpdb pass.
Intall the new debian release, and when executing the upgrade.sh script, skip the dumpdb
pass. </note></para>
<para>The upgrading is made in two steps: <para>The upgrading is made in two steps:
<itemizedlist> <itemizedlist>
<listitem><para>Make a copy of the project</para></listitem> <listitem><para>Make a copy of the project</para></listitem>
......
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Release Notes V4.2.0</title><link rel="stylesheet" href="pwrdoc.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.70.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="book" lang="en"><div class="titlepage"><div><div><h1 class="title"><a name="id3375567"></a>Release Notes V4.2.0</h1></div><div><h2 class="subtitle"></h2></div><div><div class="authorgroup">
<div class="author"><h3 class="author"><span class="firstname">Claes</span> <span class="surname">Sjfors</span></h3><div class="affiliation">
<span class="orgname">SSAB Oxelsund AB<br></span>
</div><code class="email">&lt;<a href="mailto:postmaster@proview.se">postmaster@proview.se</a>&gt;</code></div>
</div></div><div><p class="copyright">Copyright 2006 SSAB Oxelsund AB</p></div><div><div class="legalnotice"><a name="id3375969"></a>
<p>Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.</p>
</div></div><div><div class="revhistory"><table border="1" width="100%" summary="Revision history"><tr><th align="left" valign="top" colspan="3"><b>Revision History</b></th></tr>
<tr><td align="left">Revision 0.1</td><td align="left">2006-04-01</td><td align="left">cs</td></tr><tr><td align="left" colspan="3">v0.1</td></tr>
</table></div></div></div><hr></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="chapter"><a href="#upgradev42_chaintro">1. Introduction</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_intro">1.1. Upgrading to Proview 4.2.0</a></span></dt></dl></dd><dt><span class="chapter"><a href="#upgradev42_chanewfunc">2. New functions</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_profibus">2.1. Profibus configurator</a></span></dt><dt><span class="section"><a href="#upgradev42_buildmeth">2.2. Build methods</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_build_obj">2.2.1. Build methods for objects</a></span></dt><dt><span class="section"><a href="#upgradev42_build_vol">2.2.2. Build methods for volumes</a></span></dt><dt><span class="section"><a href="#upgradev42_build_node">2.2.3. Build methods for nodes</a></span></dt></dl></dd><dt><span class="section"><a href="#upgradev42_remrack">2.3. PSS9000 Remote rack</a></span></dt><dt><span class="section"><a href="#upgradev42_ld_node">2.4. ld_node_xxx.dat</a></span></dt><dt><span class="section"><a href="#upgradev42_sub">2.5. Buffering of subscriptions removed</a></span></dt><dt><span class="section"><a href="#upgradev42_wiz">2.6. Project configuration Wizard</a></span></dt><dt><span class="section"><a href="#upgradev42_cupdate">2.7. Update of classes</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_otime">2.7.1. Objects for time handling</a></span></dt><dt><span class="section"><a href="#upgradev42_updatecls">2.7.2. Update Classes</a></span></dt><dt><span class="section"><a href="#upgradev42_ge">2.7.3. Ge</a></span></dt><dt><span class="section"><a href="#upgradev42_types">2.7.4. Modified types</a></span></dt><dt><span class="section"><a href="#upgradev42_changed_classes">2.7.5. Modified classes</a></span></dt><dt><span class="section"><a href="#upgradev42_new_classes">2.7.6. New classes</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="#upgradev42_chascript">3. Upgrade procedure</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_upgr">3.1. Procedure for upgradeing</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_copyproj">3.1.1. Make a copy of the project</a></span></dt><dt><span class="section"><a href="#upgradev42_up_">3.1.2. upgrade.sh</a></span></dt></dl></dd></dl></dd></dl></div>
<div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="upgradev42_chaintro"></a>Chapter1.Introduction</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#upgradev42_intro">1.1. Upgrading to Proview 4.2.0</a></span></dt></dl></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_intro"></a>1.1.Upgrading to Proview 4.2.0</h2></div></div></div>
<p>This document describes new functions i Proview V4.2.0, and how to upgrade a project
from V4.1.3 to V4.2.0.</p>
</div>
</div>
<div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="upgradev42_chanewfunc"></a>Chapter2.New functions</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#upgradev42_profibus">2.1. Profibus configurator</a></span></dt><dt><span class="section"><a href="#upgradev42_buildmeth">2.2. Build methods</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_build_obj">2.2.1. Build methods for objects</a></span></dt><dt><span class="section"><a href="#upgradev42_build_vol">2.2.2. Build methods for volumes</a></span></dt><dt><span class="section"><a href="#upgradev42_build_node">2.2.3. Build methods for nodes</a></span></dt></dl></dd><dt><span class="section"><a href="#upgradev42_remrack">2.3. PSS9000 Remote rack</a></span></dt><dt><span class="section"><a href="#upgradev42_ld_node">2.4. ld_node_xxx.dat</a></span></dt><dt><span class="section"><a href="#upgradev42_sub">2.5. Buffering of subscriptions removed</a></span></dt><dt><span class="section"><a href="#upgradev42_wiz">2.6. Project configuration Wizard</a></span></dt><dt><span class="section"><a href="#upgradev42_cupdate">2.7. Update of classes</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_otime">2.7.1. Objects for time handling</a></span></dt><dt><span class="section"><a href="#upgradev42_updatecls">2.7.2. Update Classes</a></span></dt><dt><span class="section"><a href="#upgradev42_ge">2.7.3. Ge</a></span></dt><dt><span class="section"><a href="#upgradev42_types">2.7.4. Modified types</a></span></dt><dt><span class="section"><a href="#upgradev42_changed_classes">2.7.5. Modified classes</a></span></dt><dt><span class="section"><a href="#upgradev42_new_classes">2.7.6. New classes</a></span></dt></dl></dd></dl></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_profibus"></a>2.1.Profibus configurator</h2></div></div></div>
<p>The configuration of profibus is changed in V4.2.0, both the configuration procedure and
the objects used for the configuration.</p>
<p>You start by creating a master object in the node hierarchy, for Softing profiboard the class
<span class="classname">Pb_Profiboard</span> is used. Under this the slaves of the profibus circuit are
configured with
<span class="classname">Pb_DP_Slave</span> objects, or object that is a subclass of
<span class="classname">Pb_DP_Slave</span>. If you use the
<span class="classname">Pb_DP_Slave</span> object you put the name of a gsd-file, byteordering and possible
floatrepresentation into the object. For some slaves, there are specific subclasses, for example
<span class="classname">Siemens_ET200S_IM151</span>, <span class="classname">Siemens_ET200M_IM153</span>
and <span class="classname">ABB_ACS_Pb_Slave</span>. In this case, the gsd-file is already specified in
the object, and the file also comes with the proview release. </p>
<p>Next step is to open the profibus configuartor for each slave, by activating
<span class="guimenu">Configure Slave</span> in the popup menu for the slave.
The Profibus configurator reads the gsd-file and displayes data and configuration alternatives for
the slave. Under the map <code class="sgmltag-element">SlaveGsdData</code> information about the slave is displayed, and under
the map <code class="sgmltag-element">UserPrmData</code> configuration data for the slave is displayed.</p>
<p>
</p><table border="0" summary="manufactured viewport for HTML img" cellspacing="0" cellpadding="0" width="450"><tr style="height: 540px"><td><img src="../upgrade42_pbconf.gif" width="450"></td></tr></table><p>
</p>
<p>The slave can keep a specific number of modues, and for each possible module
there is a module entry in the configurator. By opening a module entry you can specify
type, configuration data, objectname and object class for the module.
</p><div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_pb_type"></a>Type</h4></div></div></div>
<p>Under Type all possible types are displayed for the actual slave. Select the
desired type by clicking in the checkbox for the type.</p>
</div><p>
</p><div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_pb_confdata"></a>Configuration data</h4></div></div></div>
<p>Under UserPrmData the configuration alternatives of the selected module
are displayed.You can specifiy data and choose between different alternatives to
configure the module. See the datasheet for the module for more information about
the alternatives.
</p>
</div><p>
</p><div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_pb_objname"></a>Objekt name</h4></div></div></div>
<p>When configurinn, the Profibus configuration creates a module object under the
slave object. In ObjectName you specify a name of the module object. The name should be
unic for the slave.
</p></div><p>
</p><div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_pb_mclass"></a>Modul class</h4></div></div></div>
<p>Under ModuleClass the possible classes of the module object, that is created under
the slave object, are displayed. The class you choose is dependent on the layout of
the dataarea tranfered on the profibus circuit. There are a number of specific classes,
e.g.<span class="classname">Siemens_ET200S_Ai2, Siemens_ET200SDi2, ABB_ACS_PPO4.</span>
These contains a specified dataarea described by intern channel objects. If there is no
matching module class, you choose <span class="classname">Pb_Module</span> and specify
the layout of the datarea later, by creating channel objects under the module object.
</p>
</div><p>
Whan all the modules are configured, you click on apply, and the different module
objects are created. Now the PrmUserData configuration of the slave and the modules
is stored in the attribute PrmUserData in the slave object, together with some other data.</p>
<p>You also have to assign a Process and PlcThread for the the configuration objects, and
configure channel object under Pb_Module object if necessary.
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_buildmeth"></a>2.2.Build methods</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="#upgradev42_build_obj">2.2.1. Build methods for objects</a></span></dt><dt><span class="section"><a href="#upgradev42_build_vol">2.2.2. Build methods for volumes</a></span></dt><dt><span class="section"><a href="#upgradev42_build_node">2.2.3. Build methods for nodes</a></span></dt></dl></div>
<p>Compiling PlcPgm, creation of loadfiles and bootfiles are now preformed by the
Build function. The build function consists of build methods for node, volumes and objects.
</p>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_build_obj"></a>2.2.1.Build methods for objects</h3></div></div></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_build_plc"></a>PlgPgm</h4></div></div></div>
<p>The build method for a PlcPgm checks if the plc-kode is modified since the last
compilation. If it is changed, the program with all subwindows are compiled.
</p></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_build_xtt"></a>XttGraph</h4></div></div></div>
<p>The build method for a XttGraph copies the .pwg file from $pwrp_pop to $pwrp_exe
if the file on $pwrp_pop is more recent than the file on $pwrp_exe. If the graph is
a java applet or java application, it is exported as java and compiled.
</p></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_build_web"></a>WebHandler</h4></div></div></div>
<p>The build method for a WebHandler object creates a home sita for a node (calls
Generate Web).
</p></div>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_build_vol"></a>2.2.2.Build methods for volumes</h3></div></div></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_build_rootvol"></a>Rootvolume</h4></div></div></div>
<p>The build medhod of the rootvolume calls the build method of all PlcPgm,
XttGraph and WebHandler objects in the volume. If the volume is modified since the
last loadfile creation, new loadfiles are created. Also new crossreference files are
created if this is specified in Options.
</p></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_build_classvol"></a>Classvolume</h4></div></div></div>
<p>If the class volume is modified since the last creation of loadfiles for
the volume, new loadfiles and structfiles are created for the volume.
</p></div>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_build_node"></a>2.2.3.Build methods for nodes</h3></div></div></div>
<p>The build method of a node calls the build method of the opened volume, and
thereafter creates a new bootfile for the node.
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Note]" src="../note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top">Only the volumes that are opened is built. If the node contatins several volumes
the other volumes must be built separatley, before the node is built.
</td></tr></table></div><p>
</p>
</div>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_remrack"></a>2.3.PSS9000 Remote rack</h2></div></div></div>
<p>A Proview system can now fetch data from a PSS9000 rack via ethernet. The
rack is configured by a Ssab_RemoteRack object in the node hierarchy. Under the
rack the cards are configured in the ordinary way.
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_ld_node"></a>2.4.ld_node_xxx.dat</h2></div></div></div>
<p>ld_node file contains the nodes a node connects to via QCOM at proview startup.
The files is generated from data in NodeConfig and FriendNodeConfig objects in the
project volume.</p>
<p>Until now, the ls_node file has been common for all nodes of a project in the
same QCOM bus. Now each node has a separate ld_nod file. This makes it possible to
control individually which external nodes a node connects to. </p>
<p>As before, this is configured by FriendNodeConfig objects in the project volume.
These have been configured as siblings to the NodeConfig objects in a QCOM bus, and
results in all local nodes connecting to this external node.Now a FriendNodeConfig
object can also reside as a child to a NodeConfig object, implying that only this node
connects to the external node. </p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_sub"></a>2.5.Buffering of subscriptions removed</h2></div></div></div>
<p>The buffering of subscriptions, which could lead to catch up fenomena at bad
communicaion, is now removed.
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_wiz"></a>2.6.Project configuration Wizard</h2></div></div></div>
<p>The configuration of the project volume is now simplified by using a wizard
that is automaticaly started when an empty project volumes is opened. The wizard
feches the configured volumes of the project from the global volumelist, and creates
volume and node configuration objects for these.
</p>
<p>
</p><table border="0" summary="manufactured viewport for HTML img" cellspacing="0" cellpadding="0" width="450"><tr style="height: 540px"><td><img src="../upgrade42_pvconfig.gif" width="450"></td></tr></table><p>
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_cupdate"></a>2.7.Update of classes</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="#upgradev42_otime">2.7.1. Objects for time handling</a></span></dt><dt><span class="section"><a href="#upgradev42_updatecls">2.7.2. Update Classes</a></span></dt><dt><span class="section"><a href="#upgradev42_ge">2.7.3. Ge</a></span></dt><dt><span class="section"><a href="#upgradev42_types">2.7.4. Modified types</a></span></dt><dt><span class="section"><a href="#upgradev42_changed_classes">2.7.5. Modified classes</a></span></dt><dt><span class="section"><a href="#upgradev42_new_classes">2.7.6. New classes</a></span></dt></dl></div>
<p>If a class in a classvolyme was modified, you previously had to dump the database
to a textfile and the reload this, to update the instances of the modified class.
Now there is a function that updates instances without dump and reload.</p>
<p>Every database stores loadfiles for classvolymes locally in the database directory.
It is these local files, and not the global dbs-files in $pwr_load or $pwrp_load that is used
when the workbench is opened. This makes you independent of changes in the global dbs-files.
When the workbench is started, the versions of local and global dbs-files are compared, and
if a new version in a global dbs-file is found, you get a warning message about this. The
command 'check classes' displayes which classes are modified, and if there are any instances
of the classes in the database. You should then activate Functions-&gt;Update Classes in the
menu to update the instances and the local dbs-files.</p>
<p>For function object classes there are some restrictions. In some cases the connections
to the function object has to be reconnected. If an input or output is removed, the input or
output pin should not be visible in any instance, otherwise the connections should be redrawn.
Also if an input or output is moved, the connections should be redrawn.
</p>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_otime"></a>2.7.1.Objects for time handling</h3></div></div></div>
<p>A number of new objects to handle times is added in V4.2.0. There are objects
to store, add, subtract times etc.
</p><div class="section" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="upgradev42_otime_sig"></a>Signals</h5></div></div></div>
<p>The signal objects ATv (AboluteTimeValue) and DTv (DeltaTimeValue) store time
values in the shape of an absolute time (of type pwr_tTime) or a delta time (of type
pwr_tDeltaTime, i.e. a time intervall). </p>
<p>The objects are found under the signal map in the palette. IO-copying of the objects
is not performed.</p>
</div><p>
</p><div class="section" lang="en"><div class="titlepage"><div><div><h5 class="title"><a name="upgradev42_otime_plc"></a>Plc objects</h5></div></div></div>
<p>Addition and subtraction of times is perfomed in the plc program by the objects
<span class="classname">AtAdd, DtAdd, AtSub, DtSub</span> and <span class="classname">AtDtSub</span>. </p>
<p>To fetch an ATv or DTv the objects <span class="classname">GetATv</span> and
<span class="classname">GetDTv</span> is used. To fetch an attribute of type pwr_tTime or pwr_tDeltaTime
in an object, the objects <span class="classname">GetATp</span> and <span class="classname">GetDTp</span></p>
<p>To store a time value in an <span class="classname">ATv</span> or
<span class="classname">DTv</span>, <span class="classname">StoATv</span> and
<span class="classname">StoDTv</span>, or <span class="classname">CStoATv</span> and
<span class="classname">CStoDTv</span> for conditional storeage. To store a time value in
an attrbiute of type pwr_tTime or pwr_tDeltaTime, the objects
<span class="classname">StoATp</span> and <span class="classname">StoDTp</span>, or
<span class="classname">CStoATp</span> and <span class="classname">CStoDTp</span> for conditional storage.</p>
<p>To convert a deltatime to float DtToA is used, and vice vers AToDt.</p>
<p>All objects are found under the map Signals-&gt;Time in the palette of the plc editor.</p>
</div><p>
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_updatecls"></a>2.7.2.Update Classes</h3></div></div></div>
<p>Previously, if you made a change in a class, you had to reload the database, i.e. dump
the database to a textfile, and then load the textfile into the database again. Now
there is a funcion that converts the objects in a database to the now class description
without a reload. When the workbench is started, any new version of a dbs-file for a
classvolume is detected. If a new version i found, an error message is displayed in
the message window. You can then either continue with the old class description, or
update the objects to the new. The update is performed from
<span class="guimenu">Function-&gt;Update Classes</span> in the menu.
The objects that are influenced by the new class description can first be displayed
by the command
<code class="prompt">wtt&gt; </code><strong class="userinput"><code><span><strong class="command">check classes</strong></span></code></strong>
that lists the modified classes and the number of instances found for each class.
</p>
<p>Before executing a class update, be sure to have a backup of the database.
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_ge"></a>2.7.3.Ge</h3></div></div></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_gefolder"></a>Object graph in Window and Folder</h4></div></div></div>
<p>It is now possible to display an object graph in a window or folder object.
The instance object of the object graph is inserted in the properties Window.Object and
Folderx.Object.
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_getable"></a>Select color in Table</h4></div></div></div>
<p>A property to modify the color of selected cells in tables is added to the Table object.
Set the desired color in Table.SelectColor.
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_invbit"></a>Bit type in Invisible</h4></div></div></div>
<p>Access is often stored as bits in a bitmask, and it is now possible to influence the
sensitivity and visibility for an object from a bit in a bitmask. The type for the attribute
is written ##Bit#32[7] which means a 32-bit bitmask, bit number 7 (the first bit is bit 0).
</p>
</div>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_types"></a>2.7.4.Modified types</h3></div></div></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_types_repenum"></a>pwrb:DataRepEnum</h4></div></div></div>
<p>The values Int32 and UInt24 is added.</p>
</div>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_changed_classes"></a>2.7.5.Modified classes</h3></div></div></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_ch_pb"></a>Profibus:Pb_Module</h4></div></div></div>
<p>The attribute ModuleName is added.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_ch_complimit"></a>BaseComponent:CompLimit</h4></div></div></div>
<p>The attribute DisableAlarm is added, which makes it possible to use the
limitvalue supervision in a BaseSensor without alarm.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_ch_compmodedm"></a>BaseComponent:CompModeDM, CompModeDMFo</h4></div></div></div>
<p>Funktionality for local mode added.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_ch_basemvalve"></a>BaseComponent:BaseMValveFo</h4></div></div></div>
<p>Funktionality for local mode added.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_ch_volumes"></a>RootVolume, SubVolume, SharedVolume</h4></div></div></div>
<p>The attribute Modified is added, where the time of the latest save is stored.</p>
</div>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_new_classes"></a>2.7.6.New classes</h3></div></div></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_comppid"></a>CompPID, CompPID_Fo</h4></div></div></div>
<p>The Pid controller divided into a main object and a function object. The controller
can be a component of another object.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_compmode"></a>CompModePID, CompModePID_Fo</h4></div></div></div>
<p>The mode object to the PID controller.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_getdatap"></a>GetDatap</h4></div></div></div>
<p>Plc object to fetch the reference to a data object, e.g. a data output in a DataArithm.
Can also be used to attach data inputs in function objects with template plc code.
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_atv"></a>pwrb:ATv</h4></div></div></div>
<p>Absolute Time Value, storage of an absolut time, pwr_tTime.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_dtv"></a>pwrb:DTv</h4></div></div></div>
<p>Delta Time Value, storage of a delta time, pwr_tDeltaTime.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_atadd"></a>pwrb:AtAdd</h4></div></div></div>
<p>Addition of an absolute time and a delta time.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_dtadd"></a>pwrb:DtAdd</h4></div></div></div>
<p>Addition of two deltatimes.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_atsub"></a>pwrb:AtSub</h4></div></div></div>
<p>Subtract an absolute time from an absolute time.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_dtsub"></a>pwrb:DtSub</h4></div></div></div>
<p>Subtract a delta time from a delta time.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_atdtsub"></a>pwrb:AtDtSub</h4></div></div></div>
<p>Subtract a delta time from an absolute time.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_ateq"></a>pwrb:AtEqual, pwrb:AtGreaterThan, pwrb:AtLessThan</h4></div></div></div>
<p>Comparition two abolute times.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_dteq"></a>pwrb:DtEqual, pwrb:DtGreaterThan, pwrb:DtLessThan</h4></div></div></div>
<p>Comparition of two delta times.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_currenttime"></a>pwrb:CurrentTime</h4></div></div></div>
<p>Fetches the system time.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_dttoa"></a>pwrb:DtToA, pwrb:AToDt</h4></div></div></div>
<p>Konverterar frn detatid till flyttal och vice versa.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_getatv"></a>pwrb:GetATv</h4></div></div></div>
<p>Fetches the value of an ATv.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_getdtv"></a>pwrb:GetDTv</h4></div></div></div>
<p>Fetches the value of a DTv.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_stoatv"></a>pwrb:StoATv</h4></div></div></div>
<p>Stores a value into an ATv.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_cstoatv"></a>pwrb:CStoATv</h4></div></div></div>
<p>Conditional storage of a value into an ATv.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_stodtv"></a>pwrb:StoDTv</h4></div></div></div>
<p>Stores a value into a DTv.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_cstodtv"></a>pwrb:CStoDTv</h4></div></div></div>
<p>Conditional storage of a value into a DTv.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_stoatp"></a>pwrb:StoATp</h4></div></div></div>
<p>Store a value into an absolute time attribute.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_cstoatp"></a>pwrb:CStoATp</h4></div></div></div>
<p>Conditional storage of a value into an absolute time attribute.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_stodtp"></a>pwrb:StoDTp</h4></div></div></div>
<p>Store a value into a delta time attribute.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_cstodtp"></a>pwrb:CStoDTv</h4></div></div></div>
<p>Conditional storage of a value into a delta time attribute.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_remoterack"></a>ssabox:Ssab_RemoteRack</h4></div></div></div>
<p>Configuration of a PSS9000 remote rack.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_acc"></a>ABB_ACC800, ABB_ACC800Fo, ABB_ACC800Sim</h4></div></div></div>
<p>Control of a motor aggregate using the crane macro in ASC800.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_accppo5"></a>ABB_ACC_PPO5</h4></div></div></div>
<p>Profibus module to ABB_ACC800.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_acsslave"></a>ABB_ACS_Pb_Slave</h4></div></div></div>
<p>Profibus slave to ABB_ACS800.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_abbpbbase"></a>ABB_Sensor_Pb_PA, ABB_Sensor_Pb_PA_Fo</h4></div></div></div>
<p>Baseclass for ABB Profibus PA sensor.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_abbpb"></a>ABB_TempSensor_TF12, ABB_DiffPressure_265G, ABB_FlowSensor_FXE4000</h4></div></div></div>
<p>Some ABB Profibus PA sensors.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200"></a>Siemens_ET200S_IM151, Siemens_ET200M_IM153</h4></div></div></div>
<p>Profibus slave objects for ET200S IM151 and ET200M IM153</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200mdi"></a>Siemens_ET200M_Di32, Siemens_ET200M_Di16, Siemens_ET200S_Di8</h4></div></div></div>
<p>Profibus module objects for ET200M digital input modules</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200mdo"></a>Siemens_ET200M_Do32, Siemens_ET200M_Do16, Siemens_ET200S_Do8</h4></div></div></div>
<p>Profibus module objects for ET200M digital outout modules.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200mai"></a>Siemens_ET200M_Ai8, Siemens_ET200M_Ai4, Siemens_ET200S_Ai2</h4></div></div></div>
<p>Profibus module objects for ET200M analoga input modules.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200mao"></a>Siemens_ET200M_Ao8, Siemens_ET200M_Ao4, Siemens_ET200S_Ao2</h4></div></div></div>
<p>Profibus module objects for ET200M analog output modules.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200sdi"></a>Siemens_ET200S_Di4, Siemens_ET200S_Di2</h4></div></div></div>
<p>Profibus module objects for ET200S digital input modules.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200sdo"></a>Siemens_ET200S_Do4, Siemens_ET200S_Do2</h4></div></div></div>
<p>Profibus module objects for ET200S digital output modules.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200sai"></a>Siemens_ET200S_Ai2</h4></div></div></div>
<p>Profibus module objects for ET200S analog input modules.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200sao"></a>Siemens_ET200S_Ao2</h4></div></div></div>
<p>Profibus module objects for ET200S analog output modules.</p>
</div>
</div>
</div>
</div>
<div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="upgradev42_chascript"></a>Chapter3.Upgrade procedure</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="#upgradev42_upgr">3.1. Procedure for upgradeing</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_copyproj">3.1.1. Make a copy of the project</a></span></dt><dt><span class="section"><a href="#upgradev42_up_">3.1.2. upgrade.sh</a></span></dt></dl></dd></dl></div>
<div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_upgr"></a>3.1.Procedure for upgradeing</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="#upgradev42_copyproj">3.1.1. Make a copy of the project</a></span></dt><dt><span class="section"><a href="#upgradev42_up_">3.1.2. upgrade.sh</a></span></dt></dl></div>
<p>The upgrading has to be done from V4.1.3. If the project as a lower version, the
upgrade has to be performed stepwise following the scheme
<span class="classname">V2.1 -&gt; V2.7b -&gt; V3.0 -&gt; V3.3 -&gt; V3.4b -&gt; V4.0.0 -&gt; V4.1.3 -&gt; V4.2.0</span></p>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Note]" src="../note.png"></td><th align="left">Note</th></tr><tr><td align="left" valign="top">Upgradeing a Debian project from V4.1.3 requires that a new debian release is
installed.
Dump the project with the reload.sh script before installing the new debian release,
and while the project is still pointing at V4.1.3. Execute the only the dumpdb pass.
Intall the new debian release, and when executing the upgrade.sh script, skip the dumpdb
pass. </td></tr></table></div>
<p>The upgrading is made in two steps:
</p><div class="itemizedlist"><ul type="disc"><li><p>Make a copy of the project</p></li><li><p>Execute upgrade.sh</p></li></ul></div><p>
</p>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_copyproj"></a>3.1.1.Make a copy of the project</h3></div></div></div>
<p>Do <code class="sgmltag-element">sdf</code> to the project and start the administrator.</p>
<code class="prompt">&gt; </code><strong class="userinput"><code><span><strong class="command">pwra</strong></span></code></strong>
<p>Now the Projectlist is opened. Enter edit mode, login as administrator if you lack access.
Find the current project, and select <code class="sgmltag-element">Copy Project</code> from the popup menu of the
ProjectReg object. Open the copy and assign a suitable projectname and path. Change the
vertion to V4.2.0. Save and close the administrator.
</p>
<p>Do sdf to the project.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_up_"></a>3.1.2.upgrade.sh</h3></div></div></div>
<p>upgrade.sh is a script that is divided into a number of passes. After each pass you
you have to answere whether to continue with the next pass or not.</p>
<p>Start the script with </p>
<code class="prompt">&gt; </code><strong class="userinput"><code><code class="filename">upgrade.sh</code></code></strong>
<p>and go through all the passes.</p>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_dumpdb"></a>dumpdb</h4></div></div></div>
<p>Creates a dump file for each volume in the project. The name of the dumpfile is
<code class="filename">$pwrp_db/'volumename'.wb_dmp</code>
</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_classvolumes"></a>classvolumes</h4></div></div></div>
<p>Create loadfiles and structfiles for the class volumes.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_renamedb"></a>renamedb</h4></div></div></div>
<p>Store the old databases under the name <code class="filename">$pwrp_db/'volumename'.db.1</code>.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_dirvolume"></a>dirvolume</h4></div></div></div>
<p>Create a directory database and load the dumpfile for the project volume into the database.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_loaddb"></a>loaddb</h4></div></div></div>
<p>Create databases and load the dumpfiles into them.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_compile"></a>compile</h4></div></div></div>
<p>Compile all the plc programs.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_createload"></a>createload</h4></div></div></div>
<p>Create loadfiles for the root volumes.</p>
</div>
<div class="section" lang="en"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_createboot"></a>createboot</h4></div></div></div>
<p>Create bootfiles for all nodes in the project.</p>
</div>
<p>If the project contains any application programs, these has to be built manually.</p>
<p>Delete files from the upgrading procedure:</p>
<p><code class="filename">$pwrp_db/*.wb_dmp.*</code></p>
<p><code class="filename">$pwrp_db/*.db.1</code> (V4.1 databases, directories which content also is removed)</p>
</div>
</div>
</div>
</div></body></html>
...@@ -46,6 +46,33 @@ sv_se_sources := $(sort \ ...@@ -46,6 +46,33 @@ sv_se_sources := $(sort \
) \ ) \
) )
htmlsources := $(sort \
$(foreach file, \
$(foreach dir, \
$(source_dirs), \
$(wildcard $(dir)/*.html) \
), $(notdir $(file)) \
) \
)
htmlen_us_sources := $(sort \
$(foreach file, \
$(foreach dir, \
$(pwre_sroot)/doc/man/en_us, \
$(wildcard $(dir)/*.html) \
), $(notdir $(file)) \
) \
)
htmlsv_se_sources := $(sort \
$(foreach file, \
$(foreach dir, \
$(pwre_sroot)/doc/man/sv_se, \
$(wildcard $(dir)/*.html) \
), $(notdir $(file)) \
) \
)
gsources := $(sort \ gsources := $(sort \
$(foreach file, \ $(foreach file, \
$(foreach dir, \ $(foreach dir, \
...@@ -58,11 +85,17 @@ gsources := $(sort \ ...@@ -58,11 +85,17 @@ gsources := $(sort \
pdf_sources := $(filter %.pdf,$(sources)) pdf_sources := $(filter %.pdf,$(sources))
pdf_sv_se_sources := $(filter %.pdf,$(sv_se_sources)) pdf_sv_se_sources := $(filter %.pdf,$(sv_se_sources))
pdf_en_us_sources := $(filter %.pdf,$(en_us_sources)) pdf_en_us_sources := $(filter %.pdf,$(en_us_sources))
html_sources := $(filter %.html,$(htmlsources))
html_sv_se_sources := $(filter %.html,$(htmlsv_se_sources))
html_en_us_sources := $(filter %.html,$(htmlen_us_sources))
gif_sources := $(filter %.gif,$(gsources)) gif_sources := $(filter %.gif,$(gsources))
export_pdf := $(patsubst %.pdf,$(doc_dir)/%.pdf,$(pdf_sources)) export_pdf := $(patsubst %.pdf,$(doc_dir)/%.pdf,$(pdf_sources))
export_pdf_sv_se := $(patsubst %.pdf,$(doc_dir)/sv_se/%.pdf,$(pdf_sv_se_sources)) export_pdf_sv_se := $(patsubst %.pdf,$(doc_dir)/sv_se/%.pdf,$(pdf_sv_se_sources))
export_pdf_en_us := $(patsubst %.pdf,$(doc_dir)/en_us/%.pdf,$(pdf_en_us_sources)) export_pdf_en_us := $(patsubst %.pdf,$(doc_dir)/en_us/%.pdf,$(pdf_en_us_sources))
export_html := $(patsubst %.html,$(doc_dir)/%.html,$(html_sources))
export_html_sv_se := $(patsubst %.html,$(doc_dir)/sv_se/%.html,$(html_sv_se_sources))
export_html_en_us := $(patsubst %.html,$(doc_dir)/en_us/%.html,$(html_en_us_sources))
export_gif_sv_se := $(patsubst %.gif,$(doc_dir)/sv_se/%.gif,$(gif_sources)) export_gif_sv_se := $(patsubst %.gif,$(doc_dir)/sv_se/%.gif,$(gif_sources))
export_gif_en_us := $(patsubst %.gif,$(doc_dir)/en_us/%.gif,$(gif_sources)) export_gif_en_us := $(patsubst %.gif,$(doc_dir)/en_us/%.gif,$(gif_sources))
export_gif_exe := $(patsubst %.gif,$(exe_dir)/%.gif,$(gif_sources)) export_gif_exe := $(patsubst %.gif,$(exe_dir)/%.gif,$(gif_sources))
...@@ -71,17 +104,22 @@ clean_pdf := $(patsubst %.pdf,clean_%.pdf,$(pdf_sources)) ...@@ -71,17 +104,22 @@ clean_pdf := $(patsubst %.pdf,clean_%.pdf,$(pdf_sources))
#docbook-related, added by jonas_h 2006-04-nn #docbook-related, added by jonas_h 2006-04-nn
targetsuffixes := _single.html _index.html .pdf #targetsuffixes := _single.html _index.html .pdf
targetsuffixes := _single.html .pdf
sv_se_xmlsources := dbpwr.xml upgrade42.xml sv_se_xmlsources := dbpwr.xml upgrade42.xml
en_us_xmlsources := pwrgsg.xml upgrade42.xml changelog.xml en_us_xmlsources := pwrgsg.xml upgrade42.xml changelog.xml
sv_se_xmltargets := $(addprefix $(doc_dir)/sv_se/, \ #add on the following line master files that include their parts / chapters by means of xinclude
#also add an explicit rule for each master file below
xi_dependents := $(pwre_sroot)/doc/man/sv_se/dbpwr.xml
sv_se_xmltargets := $(addprefix $(pwre_sroot)/doc/man/sv_se/, \
$(foreach targetsuffix, $(targetsuffixes), \ $(foreach targetsuffix, $(targetsuffixes), \
$(foreach basefile, $(basename $(sv_se_xmlsources)), \ $(foreach basefile, $(basename $(sv_se_xmlsources)), \
$(addsuffix $(targetsuffix), $(basefile))))) $(addsuffix $(targetsuffix), $(basefile)))))
en_us_xmltargets := $(addprefix $(doc_dir)/en_us/, \ en_us_xmltargets := $(addprefix $(pwre_sroot)/doc/man/en_us/, \
$(foreach targetsuffix, $(targetsuffixes), \ $(foreach targetsuffix, $(targetsuffixes), \
$(foreach basefile, $(basename $(en_us_xmlsources)), \ $(foreach basefile, $(basename $(en_us_xmlsources)), \
$(addsuffix $(targetsuffix), $(basefile))))) $(addsuffix $(targetsuffix), $(basefile)))))
...@@ -116,6 +154,18 @@ $(doc_dir)/en_us/%.pdf : $(pwre_sroot)/doc/man/en_us/%.pdf ...@@ -116,6 +154,18 @@ $(doc_dir)/en_us/%.pdf : $(pwre_sroot)/doc/man/en_us/%.pdf
@ $(log_h_h) @ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target) @ $(cp) $(cpflags) $(source) $(target)
$(doc_dir)/%.html : ../../%.html
@ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target)
$(doc_dir)/sv_se/%.html : $(pwre_sroot)/doc/man/sv_se/%.html
@ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target)
$(doc_dir)/en_us/%.html : $(pwre_sroot)/doc/man/en_us/%.html
@ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target)
$(exe_dir)/%.gif : ../../%.gif $(exe_dir)/%.gif : ../../%.gif
@ $(log_h_h) @ $(log_h_h)
@ $(cp) $(cpflags) $(source) $(target) @ $(cp) $(cpflags) $(source) $(target)
...@@ -136,6 +186,7 @@ all : init copy lib exe ...@@ -136,6 +186,7 @@ all : init copy lib exe
init : init :
copy : $(export_pdf) $(export_pdf_en_us) $(export_pdf_sv_se) \ copy : $(export_pdf) $(export_pdf_en_us) $(export_pdf_sv_se) \
$(export_html) $(export_html_en_us) $(export_html_sv_se) \
$(export_gif_exe) $(export_gif_en_us) $(export_gif_sv_se) \ $(export_gif_exe) $(export_gif_en_us) $(export_gif_sv_se) \
$(exe_dir)/en_us/wtt_help.dat $(exe_dir)/sv_se/wtt_help.dat \ $(exe_dir)/en_us/wtt_help.dat $(exe_dir)/sv_se/wtt_help.dat \
$(exe_dir)/en_us/man_dg.dat $(exe_dir)/sv_se/man_dg.dat \ $(exe_dir)/en_us/man_dg.dat $(exe_dir)/sv_se/man_dg.dat \
...@@ -145,8 +196,8 @@ copy : $(export_pdf) $(export_pdf_en_us) $(export_pdf_sv_se) \ ...@@ -145,8 +196,8 @@ copy : $(export_pdf) $(export_pdf_en_us) $(export_pdf_sv_se) \
$(exe_dir)/en_us/man_geref.dat $(exe_dir)/sv_se/man_geref.dat \ $(exe_dir)/en_us/man_geref.dat $(exe_dir)/sv_se/man_geref.dat \
$(doc_dir)/en_us/man_geref_index.html $(doc_dir)/sv_se/man_geref_index.html \ $(doc_dir)/en_us/man_geref_index.html $(doc_dir)/sv_se/man_geref_index.html \
$(doc_dir)/en_us/man_geref.pdf $(doc_dir)/sv_se/man_geref.pdf \ $(doc_dir)/en_us/man_geref.pdf $(doc_dir)/sv_se/man_geref.pdf \
$(doc_dir)/en_us/man_geref.ps $(doc_dir)/sv_se/man_geref.ps $(doc_dir)/en_us/man_geref.ps $(doc_dir)/sv_se/man_geref.ps \
$(mediatargets) $(csstargets)
lib : lib :
exe : exe :
...@@ -157,7 +208,7 @@ realclean : clean $(clean_pdf) $(clean_c) ...@@ -157,7 +208,7 @@ realclean : clean $(clean_pdf) $(clean_c)
# added by jonas_h 2006-04-nn # added by jonas_h 2006-04-nn
docbook : $(sv_se_xmltargets) $(en_us_xmltargets) $(mediatargets) $(csstargets) docbook : $(xi_dependents) $(sv_se_xmltargets) $(en_us_xmltargets)
# end of # end of
...@@ -244,11 +295,11 @@ $(doc_dir)/sv_se/man_geref.ps : $(pwre_sroot)/doc/man/sv_se/man_geref.dat ...@@ -244,11 +295,11 @@ $(doc_dir)/sv_se/man_geref.ps : $(pwre_sroot)/doc/man/sv_se/man_geref.dat
%.fo :: %.xml %.fo :: %.xml
$(xsltproc) $(xsltproc_args) $(fo_xsl) $(source) > $(target) $(xsltproc) $(xsltproc_args) $(fo_xsl) $(source) > $(target)
$(doc_dir)/%.pdf : $(pwre_sroot)/doc/man/%.fo $(pwre_sroot)/doc/man/src/pwrtitlepages.xsl $(pwre_sroot)/doc/man/%.pdf : $(pwre_sroot)/doc/man/%.fo $(pwre_sroot)/doc/man/src/pwrtitlepages.xsl
$(fop) $(source) -pdf $(target) $(fop) $(source) -pdf $(target)
rm -f $(source) rm -f $(source)
$(doc_dir)/%_single.html :: $(pwre_sroot)/doc/man/%.xml $(pwre_sroot)/doc/man/%_single.html :: $(pwre_sroot)/doc/man/%.xml
$(xsltproc) $(xsltproc_args) -o $(target) $(html_xsl) $(source) $(xsltproc) $(xsltproc_args) -o $(target) $(html_xsl) $(source)
$(doc_dir)/en_us/%_index.html :: $(pwre_sroot)/doc/man/en_us/%.xml $(doc_dir)/en_us/%_index.html :: $(pwre_sroot)/doc/man/en_us/%.xml
...@@ -268,4 +319,8 @@ $(doc_dir)/% :: $(pwre_sroot)/doc/man/src/% ...@@ -268,4 +319,8 @@ $(doc_dir)/% :: $(pwre_sroot)/doc/man/src/%
$(pwre_sroot)/doc/man/src/pwrtitlepages.xsl :: $(pwre_sroot)/doc/man/src/pwrtitlepage.spec.xml $(pwre_sroot)/doc/man/src/pwrtitlepages.xsl :: $(pwre_sroot)/doc/man/src/pwrtitlepage.spec.xml
$(xsltproc) -o $(target) $(docbook_stylesheetdir)/template/titlepage.xsl $(source) $(xsltproc) -o $(target) $(docbook_stylesheetdir)/template/titlepage.xsl $(source)
# explicit rules updating dependent master files if their includes have been changed.
%/dbpwr.xml :: %/dbpwr_intro.xml %/dbpwr_editering.xml %/dbpwr_exempel.xml %/dbpwr_utdata.xml %/dbpwr_omdocbook.xml
touch $(target)
#end of #end of
...@@ -2,8 +2,11 @@ ...@@ -2,8 +2,11 @@
<xsl:stylesheet <xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- Import basic html stylesheet --> <!-- Import basic html stylesheet
<xsl:import href="/usr/local/share/xml/docbook/stylesheet/snapshot/html/chunk.xsl"/> This URI is not a web location, but is directed to the local stylesheet directory
(e.g /usr/local/share/xml/docbook/stylesheet/docbook-xsl-1.70.1)
by means of the catalog.xml defined in the user's XML_CATALOG_FILES environment variable. -->
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"/>
<!-- Include common-customization stylesheet --> <!-- Include common-customization stylesheet -->
<xsl:include href="pwrxsl-common.xsl" /> <xsl:include href="pwrxsl-common.xsl" />
......
...@@ -4,8 +4,11 @@ ...@@ -4,8 +4,11 @@
xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:fo="http://www.w3.org/1999/XSL/Format"
version="1.0"> version="1.0">
<!-- Import basic fo stylesheet--> <!-- Import basic fo stylesheet.
<xsl:import href="/usr/local/share/xml/docbook/stylesheet/snapshot/fo/docbook.xsl"/> This URI is not a web location, but is directed to the local stylesheet directory
(e.g /usr/local/share/xml/docbook/stylesheet/docbook-xsl-1.70.1)
by means of the catalog.xml defined in the user's XML_CATALOG_FILES environment variable. -->
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
<!-- Import customized titlepage stylesheet--> <!-- Import customized titlepage stylesheet-->
<xsl:include href="pwrtitlepages.xsl"/> <xsl:include href="pwrtitlepages.xsl"/>
......
...@@ -2,9 +2,12 @@ ...@@ -2,9 +2,12 @@
<xsl:stylesheet <xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<!-- Import basic html stylesheet --> <!-- Import basic html stylesheet
This URI is not a web location, but is directed to the local stylesheet directory
(e.g /usr/local/share/xml/docbook/stylesheet/docbook-xsl-1.70.1)
by means of the catalog.xml defined in the user's XML_CATALOG_FILES environment variable. -->
<xsl:import href="/usr/local/share/xml/docbook/stylesheet/snapshot/html/docbook.xsl"/> <xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl"/>
<!-- Include common-customization stylesheet --> <!-- Include common-customization stylesheet -->
<xsl:include href="pwrxsl-common.xsl" /> <xsl:include href="pwrxsl-common.xsl" />
......
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Att skriva dokumentation i DocBook fr Proview</title><link rel="stylesheet" href="pwrdoc.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.70.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="book" lang="sv"><div class="titlepage"><div><div><h1 class="title"><a name="id3374960"></a>Att skriva dokumentation i DocBook fr <span class="application">Proview</span></h1></div><div><h2 class="subtitle">Kort introduktion</h2></div><div><div class="authorgroup">
<div class="author"><h3 class="author"><span class="firstname">Jonas</span> <span class="surname">Haulin</span></h3><div class="affiliation">
<span class="orgname">SSAB Oxelsund<br></span>
</div><code class="email">&lt;<a href="mailto:info@proview.se">info@proview.se</a>&gt;</code></div>
</div></div><div><p class="copyright">Copyright 2006 SSAB Oxelsund AB</p></div><div><div class="legalnotice"><a name="id3375349"></a>
<p>Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.</p>
</div></div><div><div class="revhistory"><table border="1" width="100%" summary="Revision history"><tr><th align="left" valign="top" colspan="3"><b>Revisionshistorik</b></th></tr>
<tr><td align="left">Revision 0.1</td><td align="left">2006-04-01</td><td align="left">jh</td></tr><tr><td align="left" colspan="3">v0.1 fr Proview v4.2 skapad</td></tr>
</table></div></div></div><hr></div><div class="toc"><p><b>Innehllsfrteckning</b></p><dl><dt><span class="chapter"><a href="#dbpwr_intro">1. Introduktion</a></span></dt><dd><dl><dt><span class="section"><a href="#id3375425">1.1. Om DocBook</a></span></dt><dt><span class="section"><a href="#id3375263">1.2. Hello world</a></span></dt></dl></dd><dt><span class="chapter"><a href="#dbpwr_editering">2. Editeringsverktyg</a></span></dt><dd><dl><dt><span class="section"><a href="#dpbwr_emacsnxml">2.1. Emacs + nXML</a></span></dt><dt><span class="section"><a href="#dbpwr_alternativ">2.2. Andra alternativ</a></span></dt></dl></dd><dt><span class="chapter"><a href="#dbpwr_exempel">3. Ett exempeldokument</a></span></dt><dd><dl><dt><span class="section"><a href="#dbpwr_prolog">3.1. Dokumentprolog</a></span></dt><dt><span class="section"><a href="#dbpwr_uppm">3.2. Uppmrkning</a></span></dt><dd><dl><dt><span class="section"><a href="#dbpwr_dsuppm">3.2.1. Dokumentstruktur</a></span></dt><dt><span class="section"><a href="#dbpwr_liuppm">3.2.2. Listor etc.</a></span></dt><dt><span class="section"><a href="#dbpwr_komuppm">3.2.3. Kommandon, filnamn...</a></span></dt><dt><span class="section"><a href="#dbpwr_pwruppm">3.2.4. Proview-uppmrkning</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="#dbpwr_utdata">4. Generering av utdata</a></span></dt><dd><dl><dt><span class="section"><a href="#dbpwr_byggut">4.1. Bygga DocBook-dokumentation</a></span></dt><dt><span class="section"><a href="#dbpwr_komponenter">4.2. Byggkomponenter</a></span></dt><dt><span class="section"><a href="#dbpwr_instlager">4.3. Instllningslager</a></span></dt><dt><span class="section"><a href="#dbpwr_anpassningut">4.4. Anpassning av utfiler</a></span></dt></dl></dd><dt><span class="chapter"><a href="#dbpwr_omdocbook">5. Mer om DocBook</a></span></dt><dd><dl><dt><span class="section"><a href="#dbpwr_bakgrund">5.1. Bakgrund</a></span></dt><dt><span class="section"><a href="#dbpwr_verktyg">5.2. Vilka verktyg behvs?</a></span></dt><dd><dl><dt><span class="section"><a href="#dbpwr_vkedja">5.2.1. DocBook:s verktygskedja</a></span></dt><dt><span class="section"><a href="#dbpwr_editorer">5.2.2. Editorer fr DocBook</a></span></dt></dl></dd><dt><span class="section"><a href="#dbpwr_referenser">5.3. Referenser</a></span></dt></dl></dd></dl></div>
<div class="chapter" lang="sv"><div class="titlepage"><div><div><h2 class="title"><a name="dbpwr_intro"></a>Kapitel 1. Introduktion</h2></div></div></div><div class="toc"><p><b>Innehllsfrteckning</b></p><dl><dt><span class="section"><a href="#id3375425">1.1. Om DocBook</a></span></dt><dt><span class="section"><a href="#id3375263">1.2. Hello world</a></span></dt></dl></div>
<p>Det hr dokumentet r en snabbversikt av dokumentationsstandarden Docbook,
och hur den kan anvndas fr dokumentation i <a href="http://www.proview.se" target="_top">Proview</a>.
Texten i dokumentet r fr nrvarande minimalt uppmrkt/taggad.
Fr ett mer uppmrkt dokument, se <a href="../en_us/pwrgsg_index.html" target="_top">Proview Getting Started Guide</a>.
</p>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3375425"></a>1.1. Om DocBook</h2></div></div></div>
<p>DocBook r en XML-dialekt fr teknisk dokumentation.
Den anvnds i mnga stora mjukvaruprojekt, bde kommersiella och open source.
Frn ett klldokument skrivet i DocBook/XML kan utdata i en mngd format genereras,
exempelvis html, pdf, ps, man-sidor.
Med xml-taggarna anges dokumentets struktur och innehll, dremot inte dess formatering
- detta beror istllet av vilken utdata som skapas.
</p>
<p>Mer om DocBook i <a href="#dbpwr_omdocbook" title="Kapitel 5. Mer om DocBook">Kapitel5, <i>Mer om DocBook</i></a></p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id3375263"></a>1.2. Hello world</h2></div></div></div>
<p>Ett minimalt DocBook-dokument kan se ut shr:
</p><pre class="programlisting">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;article xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="sv"&gt;
&lt;title&gt;Ett minimalt DocBook-dokument&lt;/title&gt;
&lt;para&gt;kan se ut shr.&lt;/para&gt;
&lt;/article&gt;
</pre><p>
</p>
<p>
Spara filen ovan som exempelvis <code class="filename">minimalt.xml</code>.
Fljande kommando skapar en html-fil.
</p><pre class="screen">
<code class="prompt">bash$</code> <span><strong class="command">xsltproc</strong></span> <code class="option">-o</code> <code class="filename">minimalt.html</code> <code class="filename">/usr/local/share/xml/docbook/stylesheet/snapshot/html/docbook.xsl</code> <code class="filename">minimalt.xml</code>
</pre><p>
</p>
<p>Fr att skapa en pdf behvs tv kommandon.
</p><pre class="screen">
<code class="prompt">bash$</code> <span><strong class="command">xsltproc</strong></span> <code class="option">-o</code> <code class="filename">minimalt.fo</code> <code class="filename">/usr/local/share/xml/docbook/stylesheet/snapshot/fo/docbook.xsl</code> <code class="filename">minimalt.xml</code>
<code class="prompt">bash$</code> <span><strong class="command">fop</strong></span> <code class="filename">minimalt.fo</code> <code class="option">-pdf</code> <code class="filename">minimalt.pdf</code>
</pre><p>
</p>
</div>
</div>
<div class="chapter" lang="sv"><div class="titlepage"><div><div><h2 class="title"><a name="dbpwr_editering"></a>Kapitel 2. Editeringsverktyg</h2></div></div></div><div class="toc"><p><b>Innehllsfrteckning</b></p><dl><dt><span class="section"><a href="#dpbwr_emacsnxml">2.1. Emacs + nXML</a></span></dt><dt><span class="section"><a href="#dbpwr_alternativ">2.2. Andra alternativ</a></span></dt></dl></div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dpbwr_emacsnxml"></a>2.1. Emacs + nXML</h2></div></div></div>
<p>
I princip kan vilken texteditor som helst anvndas fr att skriva xml.
En syntaxmedveten editor underlttar dock avsevrt.
<span class="application">Emacs 21.3</span> och uppt med nXML-lge fungerar mycket bra (finns p pwr42).
De viktigaste funktionerna r:
</p><div class="itemizedlist"><ul type="disc"><li><p>Autokomplettering av taggar (<span><strong class="keycap">C</strong></span>-<span><strong class="keycap">RET</strong></span>):
man skriver de frsta bokstverna och autokompletterar sedan.</p></li><li><p>Insttning av sluttag 1
(<span><strong class="keycap">C</strong></span>-<span><strong class="keycap">c</strong></span> <span><strong class="keycap">C</strong></span>-<span><strong class="keycap">i</strong></span>):
stter sluttaggen direkt efter ppningstaggen, och placerar markren mitt emellan.</p></li><li><p>Insttning av sluttag 2
(<span><strong class="keycap">C</strong></span>-<span><strong class="keycap">c</strong></span> <span><strong class="keycap">C</strong></span>-<span><strong class="keycap">b</strong></span>):
stter sluttagen p ny rad nedanfr, och placerar markren p blank rad mitt emellan.</p></li><li><p>Insttning av sluttag 3 (<span><strong class="keycap">C</strong></span>-<span><strong class="keycap">f</strong></span>):
Avslutar nrmaste ppna tag uppt i trdet.</p></li><li><p>Autovalidering: Syntaxen kollas mot schemat kontinuerligt. Info om fel. Syntaxfrgning och indentering.</p></li></ul></div><p>
</p>
<p>
Fr att ladda nXML-lget, och fr att <span class="application"> Emacs</span> ska bete sig acceptabelt i vrigt (scroll-hjul, fonter etc),
behver man gra en del instllningar i ngon eller ngra av filerna <code class="filename">.emacs</code>,
<code class="filename">.gnu-emacs</code> och <code class="filename">.gnu-emacs-custom</code> i sin hemkatalog.
Exempel p hur detta kan gras finns i <code class="filename">/home/jonas_h</code>.
nXML fungerar inte med <span class="application">XEmacs</span>.
</p>
<p>
Kllkod och dokumentation fr nXML finns p pwr42 i
<code class="filename">/usr/local/share/emacs/21.4/site-lisp/nxml-mode-20041004/</code>.
I underkatalogen <code class="filename">schema/</code> finns den senaste versionen av docbook-schemat
(filerna <code class="filename">docbook.rnc</code> och <code class="filename">docbookxi.rnc</code>) inlagt.
nXML anvnder schemat fr validering och autkomplettering, s det r bra om man har rtt schema kopplat till sitt dokument.
</p>
<p>
En DocBook-meny till Emacs finns i <code class="filename">/usr/local/share/emacs/21.4/site-lisp/docbook-menu-0.92/</code>.
ven den laddas in med instllningar i filerna <code class="filename">.emacs</code> m fl.
Menyn innehller inga kommandon, men lnkar till dokumentation, samt alla element/taggar grupperade alfabetiskt och logiskt.
Den beskriver DocBook version 4, men skillnaderna mot version 5 r inte jttestora.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_alternativ"></a>2.2. Andra alternativ</h2></div></div></div>
<p>Ett flertal xml-editorer finns, bde fria och kommersiella, ngra med WYSIWYG-funktionalitet.
En annan mjlighet som skulle kunna underskas r att editera via ett wiki/web-grnssnitt.</p>
</div>
</div>
<div class="chapter" lang="sv"><div class="titlepage"><div><div><h2 class="title"><a name="dbpwr_exempel"></a>Kapitel 3. Ett exempeldokument</h2></div></div></div><div class="toc"><p><b>Innehllsfrteckning</b></p><dl><dt><span class="section"><a href="#dbpwr_prolog">3.1. Dokumentprolog</a></span></dt><dt><span class="section"><a href="#dbpwr_uppm">3.2. Uppmrkning</a></span></dt><dd><dl><dt><span class="section"><a href="#dbpwr_dsuppm">3.2.1. Dokumentstruktur</a></span></dt><dt><span class="section"><a href="#dbpwr_liuppm">3.2.2. Listor etc.</a></span></dt><dt><span class="section"><a href="#dbpwr_komuppm">3.2.3. Kommandon, filnamn...</a></span></dt><dt><span class="section"><a href="#dbpwr_pwruppm">3.2.4. Proview-uppmrkning</a></span></dt></dl></dd></dl></div>
<p>Hr beskrivs hur man kan bygga upp ett strre dokument, av typen bok eller artikel.
Exempel p lmpliga taggar och uppmrkning fr <span class="application">Proview</span> ges.</p>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_prolog"></a>3.1. Dokumentprolog</h2></div></div></div>
<p>Prologen, eller dokumenthuvudet till en docbookfil kan se ut p fljande stt:
</p><pre class="programlisting">
&lt;?xml version="1.0" encoding="UTF-8"?&gt; <a name="co.prolog.xml"></a><img src="../1.png" alt="1" border="0">
&lt;!DOCTYPE article [ <a name="co.prolog.article"></a><img src="../2.png" alt="2" border="0">
&lt;!ENTITY % isopub PUBLIC <a name="co.prolog.isopub"></a><img src="../3.png" alt="3" border="0">
"ISO 8879:1986//ENTITIES Publishing//EN//XML"
"/usr/share/xml/entities/xml-iso-entities-8879.1986/isopub.ent"&gt;
&lt;!-- "http://www.w3.org/2003/entities/iso8879/isopub.ent"&gt; --&gt;
%isopub;
&lt;!ENTITY % pwrent SYSTEM "../src/pwrent.ent"&gt; <a name="co.prolog.pwrent"></a><img src="../4.png" alt="4" border="0">
%pwrent;
]&gt;
&lt;article version="5.0" xml:lang="en" xmlns="http://docbook.org/ns/docbook" <a name="co.prolog.docbook"></a><img src="../5.png" alt="5" border="0">
xmlns:mathml="http://www.w3.org/1998/Math/MathML"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xlink="http://www.w3.org/1999/xlink"&gt;
&lt;info&gt;
&lt;title&gt;&lt;application&gt;Proview 4.1&lt;/application&gt; Getting Started Guide&lt;/title&gt;
&lt;subtitle&gt;A step-by-step guide to set up a minimal &lt;application&gt;Proview&lt;/application&gt; system&lt;/subtitle&gt;
&lt;author&gt;
&lt;personname&gt;&lt;firstname&gt;Jonas&lt;/firstname&gt;
&lt;surname&gt;Haulin&lt;/surname&gt;&lt;/personname&gt;
&lt;affiliation&gt;
&lt;orgname&gt;Proview/R&lt;/orgname&gt;
&lt;address&gt; &lt;email&gt;info@proview.se&lt;/email&gt; &lt;/address&gt;
&lt;/affiliation&gt;
&lt;/author&gt;
&lt;/info&gt;
</pre><p>
</p><div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left"><a href="#co.prolog.xml"><img src="../1.png" alt="1" border="0"></a> </td><td valign="top" align="left"><p>Det hr r ett XML-dokument.</p></td></tr><tr><td width="5%" valign="top" align="left"><a href="#co.prolog.article"><img src="../2.png" alt="2" border="0"></a> </td><td valign="top" align="left"><p>Detta r en artikel. Kan ven vara &#8220;<span class="quote">book</span>&#8221;</p></td></tr><tr><td width="5%" valign="top" align="left"><a href="#co.prolog.isopub"><img src="../3.png" alt="3" border="0"></a> </td><td valign="top" align="left"><p>Hmta standard-entity-koder fr srskilda tecken.
Lokal fil gr snabbast. URL:en bortkommenterad.</p></td></tr><tr><td width="5%" valign="top" align="left"><a href="#co.prolog.pwrent"><img src="../4.png" alt="4" border="0"></a> </td><td valign="top" align="left"><p>Egendefinierade entiteter, se <a href="#dbpwr_pwruppm" title="3.2.4. Proview-uppmrkning">Avsnitt3.2.4, &#8220;Proview-uppmrkning&#8221;</a></p></td></tr><tr><td width="5%" valign="top" align="left"><a href="#co.prolog.docbook"><img src="../5.png" alt="5" border="0"></a> </td><td valign="top" align="left"><p>Detta r en artikel, DocBook (5.0) namespace. Fler namespace fljer.
Det hr r rotelementet fr dokumentet, som kommer att avslutas med <code class="sgmltag-element">&lt;/article&gt;</code>.</p></td></tr></table></div><p>
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_uppm"></a>3.2. Uppmrkning</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="#dbpwr_dsuppm">3.2.1. Dokumentstruktur</a></span></dt><dt><span class="section"><a href="#dbpwr_liuppm">3.2.2. Listor etc.</a></span></dt><dt><span class="section"><a href="#dbpwr_komuppm">3.2.3. Kommandon, filnamn...</a></span></dt><dt><span class="section"><a href="#dbpwr_pwruppm">3.2.4. Proview-uppmrkning</a></span></dt></dl></div>
<p>Hr ges exempel p uppmrkning av ett dokument.
Fr en fullstndig referens, se
<a href="http://www.docbook.org/tdg5/en/html/docbook.html" target="_top">DocBook 5.0: The Definitive Guide</a>.
Fler lnkar finns i <a href="#dbpwr_referenser" title="5.3. Referenser">Avsnitt5.3, &#8220;Referenser&#8221;</a>.</p>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="dbpwr_dsuppm"></a>3.2.1. Dokumentstruktur</h3></div></div></div>
<p>Fr att dela in en article anvnds avsnitt/sections.
Texten delas in i stycken. Det kan se ut s hr:
</p><pre class="programlisting">
&lt;section&gt;&lt;title&gt;frsta avsnittet&lt;/title&gt;
&lt;para&gt;Ett stycke text&lt;/para&gt;
&lt;section&gt;&lt;title&gt;frsta underavsnittet&lt;/title&gt;
&lt;para&gt;Ett stycke text&lt;/para&gt;
&lt;/section&gt;
&lt;/section&gt;
</pre><p>
<code class="sgmltag-element">&lt;section&gt;</code> kan allts innehlla sig sjlv, och underavsnitt skapas rekursivt.
Ett alternativ r att anvnda <code class="sgmltag-element">&lt;sect1&gt;</code>, <code class="sgmltag-element">&lt;sect2&gt;</code> etc (upp till 5)
fr att explicit ange avsnittsstrukturen.
</p>
<p>Ett dokument av typen <code class="sgmltag-element">&lt;book&gt;</code> kan ha en kapitelniv, <code class="sgmltag-element">&lt;chapter&gt;</code>, ver avsnitten,
och drver en delniv, <code class="sgmltag-element">&lt;part&gt;</code>.
Ofta vill man dela upp en &#8220;<span class="quote">book</span>&#8221; s att varje kapitel utgr en egen fil.
Detta r srskilt anvndbart fr strre dokument, som d blir mer hanterliga,
kan editeras av flera personer samtidigt, och kan sammanfogas modulrt.
Man infogar delarna i boken med hjlp av xinclude:</p>
<pre class="programlisting">
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE book [
&lt;!ENTITY % isopub PUBLIC
"ISO 8879:1986//ENTITIES Publishing//EN//XML"
"/usr/share/xml/entities/xml-iso-entities-8879.1986/isopub.ent"&gt;
%isopub;
&lt;!ENTITY % pwrent SYSTEM "../src/pwrent.ent"&gt;
%pwrent;
]&gt;
&lt;book version="5.0b5" xml:lang="sv" xmlns="http://docbook.org/ns/docbook"
xmlns:mathml="http://www.w3.org/1998/Math/MathML"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xi="http://www.w3.org/2001/XInclude"&gt; <a name="co.xi.ns"></a><img src="../1.png" alt="1" border="0">
&lt;info&gt;
...
&lt;/info&gt;
&lt;xi:include href="dbpwr_intro.xml"/&gt; <a name="co.xi.include"></a><img src="../2.png" alt="2" border="0">
&lt;xi:include href="dbpwr_skapadok.xml"/&gt;
&lt;xi:include href="dbpwr_utdata.xml"/&gt;
&lt;xi:include href="dbpwr_omdocbook.xml"/&gt;
&lt;/book&gt;
</pre>
<div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left"><a href="#co.xi.ns"><img src="../1.png" alt="1" border="0"></a> </td><td valign="top" align="left"><p>Namespace fr XInclude mste lggas till.</p></td></tr><tr><td width="5%" valign="top" align="left"><a href="#co.xi.include"><img src="../2.png" alt="2" border="0"></a> </td><td valign="top" align="left"><p>Hr inkluderas bokens kapitel.
Dessa skrivs som enskilda och fullstndiga DocBook-dokument, men av dokumenttypen &#8220;<span class="quote">chapter</span>&#8221;
istllet fr &#8220;<span class="quote">book</span>&#8221; eller &#8220;<span class="quote">article</span>&#8221;.</p></td></tr></table></div>
<div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Notera]" src="../note.png"></td><th align="left">Notera</th></tr><tr><td align="left" valign="top">
<p>Om man vill autovalidera ett dokument med xincludes i nXML mste man koppla schemat
<code class="filename">docbookxi.rnc</code>, till dokumentet.
Detta grs i
<span class="guimenu">XML</span> &#8594; <span class="guisubmenu">Set Schema</span> &#8594; <span class="guimenuitem">File...</span>.
Default r annars <code class="filename">docbook.rnc</code>.</p>
</td></tr></table></div>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="dbpwr_liuppm"></a>3.2.2. Listor etc.</h3></div></div></div>
<p>
</p><pre class="programlisting">
itemizedlist&gt;
&lt;listitem&gt;&lt;para&gt;xml-grammatik fr dokumentation, ssk teknisk, ssk hrd- och mjukvara&lt;/para&gt;&lt;/listitem&gt;
&lt;listitem&gt;&lt;para&gt;Strukturerad uppmrkning baserat p innehll, ej formatering (som ex.vis html).
Mjligt att skapa mer skbara databaser.&lt;/para&gt;&lt;/listitem&gt;
&lt;/itemizedlist&gt;
</pre>
<p>ger</p>
<p>
</p><div class="itemizedlist"><ul type="disc"><li><p>xml-grammatik fr dokumentation, ssk teknisk, ssk hrd- och mjukvara</p></li><li><p>Strukturerad uppmrkning baserat p innehll, ej formatering (som ex.vis html).
Mjligt att skapa mer skbara databaser.</p></li></ul></div><p>
<code class="sgmltag-element">&lt;orderedlist&gt;</code> skapar en numrerad lista istllet fr en punktlista.
</p>
<p>
</p><pre class="programlisting">
&lt;variablelist&gt;
&lt;varlistentry&gt;&lt;term&gt;&lt;filename&gt;pwr_xsl/common-customizations.xsl&lt;/filename&gt;&lt;/term&gt;
&lt;listitem&gt;&lt;para&gt;Gemensamma parameterinstllningar och template-definitioner.&lt;/para&gt;&lt;/listitem&gt;&lt;/varlistentry&gt;
&lt;varlistentry&gt;&lt;term&gt;&lt;filename&gt;pwr_xsl/html-common.xsl&lt;/filename&gt;&lt;/term&gt;
&lt;listitem&gt;&lt;para&gt;Html-specifika parameterinstllningar och template-definitioner.&lt;/para&gt;&lt;/listitem&gt;&lt;/varlistentry&gt;
&lt;/variablelist&gt;
</pre>
<p>ger</p>
<p>
</p><div class="variablelist"><dl><dt><span class="term"><code class="filename">pwr_xsl/common-customizations.xsl</code></span></dt><dd><p>Gemensamma parameterinstllningar och template-definitioner.</p></dd><dt><span class="term"><code class="filename">pwr_xsl/html-common.xsl</code></span></dt><dd><p>Html-specifika parameterinstllningar och template-definitioner.</p></dd></dl></div><p>
</p>
<p>
</p><pre class="programlisting">
&lt;programlisting&gt;
### Document filename without suffix (.xml):
###FILE = pwr_gsg
FILE = dbpwr &lt;co xml:id="co.makefil.file2"/&gt;
&lt;/programlisting&gt;
&lt;calloutlist&gt;
&lt;callout arearefs="co.makefil.file2"&gt;&lt;para&gt;Hr anges filnamnet utan ndelse fr infil (.xml) och utfil (.html, .fo, .pdf)&lt;/para&gt;&lt;/callout&gt;
&lt;/calloutlist&gt;
</pre>
<p>ger</p>
<p>
</p><pre class="programlisting">
### Document filename without suffix (.xml):
###FILE = pwr_gsg
FILE = dbpwr <a name="co.makefil.file2"></a><img src="../1.png" alt="1" border="0">
</pre><p>
</p><div class="calloutlist"><table border="0" summary="Callout list"><tr><td width="5%" valign="top" align="left"><a href="#co.makefil.file2"><img src="../1.png" alt="1" border="0"></a> </td><td valign="top" align="left"><p>Hr anges filnamnet utan ndelse fr infil (.xml) och utfil (.html, .fo, .pdf)</p></td></tr></table></div><p>
</p>
<p>
</p><pre class="programlisting">
&lt;qandaset&gt;
&lt;qandaentry&gt;&lt;question&gt;&lt;para&gt;Hur gr man en FAQ-avdelning?&lt;/para&gt;&lt;/question&gt;
&lt;answer&gt;&lt;para&gt;Med en &lt;tag&gt;&amp;lt;qandaset&amp;gt;&lt;/tag&gt;&lt;/para&gt;&lt;/answer&gt; &lt;/qandaentry&gt;
&lt;/qandaset&gt;
</pre>
<p>ger</p>
<p>
</p><div class="qandaset"><dl><dt>3.2.2.1. <a href="#id3376477">Hur gr man en FAQ-avdelning?</a></dt></dl><table border="0" summary="Q and A Set"><col align="left" width="1%"><tbody><tr class="question"><td align="left" valign="top"><a name="id3376477"></a><a name="id3376479"></a><b>3.2.2.1.</b></td><td align="left" valign="top"><p>Hur gr man en FAQ-avdelning?</p></td></tr>
<tr class="answer"><td align="left" valign="top"></td><td align="left" valign="top"><p>Med en <code class="sgmltag-element">&lt;qandaset&gt;</code></p></td></tr> </tbody></table></div><p>
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="dbpwr_komuppm"></a>3.2.3. Kommandon, filnamn...</h3></div></div></div>
<p>Detta r lnat frn KDE, och r kanske litet vertaggat..:
</p><pre class="programlisting">
&lt;screen&gt;
&lt;prompt&gt;bash$&lt;/prompt&gt; &lt;userinput&gt;&lt;command&gt;mkdir&lt;/command&gt; &lt;parameter&gt;&lt;filename&gt;/dev/mqueue&lt;/filename&gt;&lt;/parameter&gt;&lt;/userinput&gt;
&lt;prompt&gt;bash$&lt;/prompt&gt; &lt;userinput&gt;&lt;command&gt;mount&lt;/command&gt; &lt;option&gt;-t&lt;/option&gt; &lt;parameter&gt;&lt;systemitem role="filesystem"&gt;mqueue&lt;/systemitem&gt;&lt;/parameter&gt; &lt;option&gt;none&lt;/option&gt; &lt;parameter&gt;&lt;filename&gt;/dev/mqueue&lt;/filename&gt;&lt;/parameter&gt;&lt;/userinput&gt;&lt;/screen&gt;
</pre>
<p>ger</p>
<p>
</p><pre class="screen">
<code class="prompt">bash$</code> <strong class="userinput"><code><span><strong class="command">mkdir</strong></span> <em class="parameter"><code><code class="filename">/dev/mqueue</code></code></em></code></strong>
<code class="prompt">bash$</code> <strong class="userinput"><code><span><strong class="command">mount</strong></span> <code class="option">-t</code> <em class="parameter"><code><code class="systemitem">mqueue</code></code></em> <code class="option">none</code> <em class="parameter"><code><code class="filename">/dev/mqueue</code></code></em></code></strong></pre><p>
</p>
<p>
Annan uppmrkning som kan vara vrda att anvnda r:
</p><pre class="programlisting">
&lt;menuchoice&gt;
&lt;shortcut&gt;&lt;keycombo&gt;&lt;keycap&gt;Ctrl&lt;/keycap&gt;&lt;keycap&gt;Q&lt;/keycap&gt;&lt;/keycombo&gt;&lt;/shortcut&gt;
&lt;guimenu&gt;Edit&lt;/guimenu&gt;
&lt;guimenuitem&gt;Change value&lt;/guimenuitem&gt;
&lt;/menuchoice&gt;
</pre>
<p>ger</p>
<p>
<span class="guimenu">Edit</span> &#8594; <span class="guimenuitem">Change value</span> (<span><strong class="shortcut"><span><strong class="keycap">Ctrl</strong></span>-<span><strong class="keycap">Q</strong></span></strong></span>)
</p>
<p>
</p><div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Tip"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Tips]" src="../tip.png"></td><th align="left">Tips</th></tr><tr><td align="left" valign="top">
<p>Noteringar, tips, viktigt, uppmaning till frsiktighet och varningar skapas med taggarna
<code class="sgmltag-element">&lt;note&gt;</code>, <code class="sgmltag-element">&lt;tip&gt;</code>, <code class="sgmltag-element">&lt;important&gt;</code>, <code class="sgmltag-element">&lt;caution&gt;</code> och <code class="sgmltag-element">&lt;warning&gt;</code>.</p>
</td></tr></table></div><p>
</p><div class="important" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Important"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Viktigt]" src="../important.png"></td><th align="left">Viktigt</th></tr><tr><td align="left" valign="top">
<p>Texten i ex.vis en viktigt mste skrivas inom en <code class="sgmltag-element">&lt;para&gt;</code></p>
</td></tr></table></div><p>
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Notera]" src="../note.png"></td><th align="left">Notera</th></tr><tr><td align="left" valign="top">
<p>Andra taggar som anvnts r <code class="systemitem">pwrp</code>
(<code class="sgmltag-element">&lt;systemitem role="user"&gt;pwrp&lt;/systemitem&gt;</code>) och <code class="envar">PWR_BUS_ID</code>
(<code class="sgmltag-element">&lt;envar&gt;PWR_BUS_ID&lt;/envar&gt;</code>).</p>
</td></tr></table></div><p>
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="dbpwr_pwruppm"></a>3.2.4. Proview-uppmrkning</h3></div></div></div>
<p>
</p><div class="itemizedlist"><ul type="disc"><li><p>Klasser: Taggen <code class="sgmltag-element">&lt;classname&gt;</code> har anvnts. Exempel <span class="classname">ProjectReg</span>.
Den r kanske framfr allt avsedd fr objektorienterade programmeringssprk, iofs.</p></li><li><p>Attribut: Taggen <code class="sgmltag-element">&lt;property&gt;</code> har anvnts. Exempel <span class="property">ObjectName</span>.</p></li><li><p>Miljer/applikationer: Entiteter har anvnts fr <span class="pwrenv">ProjectList</span>, <span class="pwrenv">VolumeList</span>, <span class="pwrenv">Directory</span>, <span class="pwrenv">Volume</span>, <span class="pwrenv">Xtt</span>.
De verstts till <code class="sgmltag-element">&lt;application role='pwrenv'&gt;VolumeList&lt;/application&gt;</code> etc.
Entiteterna r definierade i filen <code class="filename">pwrent.ent</code>.</p></li></ul></div><p>
</p>
</div>
</div>
</div>
<div class="chapter" lang="sv"><div class="titlepage"><div><div><h2 class="title"><a name="dbpwr_utdata"></a>Kapitel 4. Generering av utdata</h2></div></div></div><div class="toc"><p><b>Innehllsfrteckning</b></p><dl><dt><span class="section"><a href="#dbpwr_byggut">4.1. Bygga DocBook-dokumentation</a></span></dt><dt><span class="section"><a href="#dbpwr_komponenter">4.2. Byggkomponenter</a></span></dt><dt><span class="section"><a href="#dbpwr_instlager">4.3. Instllningslager</a></span></dt><dt><span class="section"><a href="#dbpwr_anpassningut">4.4. Anpassning av utfiler</a></span></dt></dl></div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_byggut"></a>4.1. Bygga DocBook-dokumentation</h2></div></div></div>
<p>
Generering av dokument frn docbook-filer r integrerad i byggrutinen fr Proview.
Dessa byggs med kommandot
</p><pre class="screen">
<code class="prompt">bash$</code> <span><strong class="command">pwre</strong></span> <em class="parameter"><code>build doc man docbook</code></em>
</pre><p>
vilket ger utdata i form av html och pdf.
Html-dokumentet skapas i tv versioner: i en respektive flera filer.
I ett sista steg kopieras css- och mediafiler till mlkatalogen.
</p>
<p>Nya xml-dokument kan lggas till genom att placera xml-filerna i
<code class="filename">$pwre_sroot/doc/man/en_us/</code>,
eller <code class="filename">$pwre_sroot/doc/man/sv_se/</code>.
De grafik- eller mediafiler som dokumenten anvnder lggs i
<code class="filename">$pwre_sroot/doc/man/src/</code>.
Fr att utdatafiler ska genereras mste man lgga till filnamnet (endast namnet p huvudfilen, om flera) i variablerna
<code class="varname">sv_se_xmlsources</code> och / eller <code class="varname">en_us_xmlsources</code> i makefilen.
Huvudkllfilerna mste anges, eftersom det finns xml-filer i katalogen som inte r fristende kllfiler (ex.vis kapitelfiler).
Mediafiler kopieras automatiskt dit de behvs, och behver inte anges ngonstans.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_komponenter"></a>4.2. Byggkomponenter</h2></div></div></div>
<p>Fr att generera dokumentationen behvs fljande:
</p><div class="itemizedlist"><ul type="disc"><li><p>Xsltproc. Standardkomponent i de flesta linuxdistributioner.</p></li><li><p>DocBook-xsl-stylesheets. Gr att hmta med apt-get, eller frn sourceforge.
Den senaste versionen finns p pwr42 i
<code class="filename">/usr/local/share/xml/docbook/stylesheet/docbook-xsl-1.70.1/</code>.
Nr man uppdaterar till en ny release av dessa mste man kra installationsscriptet <code class="filename">install.sh</code>
i distributionen.
Detta uppdaterar anvndarens <code class="envar">XML_CATALOG_FILES</code> att lnka till den nya distributionen.</p></li><li><p>Fop. Version 0.92b av Apaches fo-processor r installerad p pwr42 i
<code class="filename">/usr/local/fop-0.92beta/</code>.
En symlnk finns i <code class="filename">/usr/local/bin</code>.</p></li></ul></div><p>
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Notera]" src="../note.png"></td><th align="left">Notera</th></tr><tr><td align="left" valign="top"><p>Ingen kontroll grs i nulget fr att dessa komponenter finns p systemet.
Detta br antagligen lggas till i makefilen om mjligt.</p></td></tr></table></div><p>
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_instlager"></a>4.3. Instllningslager</h2></div></div></div>
<p>Ett stort antal parametrar gr att stlla in fr xsl-mallarna.
I de fall man inte vill ha defaultvrdena (stts i <code class="filename">param.xsl</code>) kan man ange parametervrden i xsltproc-anropet,
eller i instllningslager (customization layers).
Dr kan ocks modifierade versioner av olika templates i mallarna definieras.
Dokumentation ver vilka parameterinstllningar som kan gras finns p
<a href="http://docbook.xml-doc.org/snapshots/xsl/doc/" target="_top">DocBook XSL Stylesheet Reference Documentation</a>.
Fljande instllningslager ligger under <code class="filename">$pwre_sroot/doc/man/src/</code>.
</p><div class="variablelist"><dl><dt><span class="term"><code class="filename">pwrxsl-common.xsl</code></span></dt><dd><p>Gemensamma parameterinstllningar och template-definitioner.</p></dd><dt><span class="term"><code class="filename">pwrxsl-html-common.xsl</code></span></dt><dd><p>Html-specifika parameterinstllningar och template-definitioner.</p></dd><dt><span class="term"><code class="filename">pwrxsl-html.xsl</code></span></dt><dd>
<div class="orderedlist"><ol type="1"><li><p>Importerar <code class="filename">/docbook-xsl-n.nn.n/html/docbook.xsl</code>
som r grundmallen fr html-processning - en utfil.</p></li><li><p>Hmtar frn <code class="filename">pwrxsl-common.xsl</code></p></li><li><p>Hmtar frn <code class="filename">pwrxsl-html-common.xsl</code></p></li><li><p>Stter parametrar och templates specifika fr html - en utfil.</p></li></ol></div></dd><dt><span class="term"><code class="filename">pwrxsl-chunk.xsl</code></span></dt><dd>
<div class="orderedlist"><ol type="1"><li><p>Importerar <code class="filename">/docbook-xsl-n.nn.n/html/chunk.xsl</code>
som r grundmallen fr html-processning - flera utfiler.</p></li><li><p>Hmtar frn <code class="filename">pwrxsl-common.xsl</code></p></li><li><p>Hmtar frn <code class="filename">pwrxsl-html-common.xsl</code></p></li><li><p>Stter parametrar och templates specifika fr html - flera utfiler.</p></li></ol></div></dd><dt><span class="term"><code class="filename">pwrxsl-fo.xsl</code></span></dt><dd>
<div class="orderedlist"><ol type="1"><li><p>Importerar <code class="filename">/docbook-xsl-n.nn.n/fo/docbook.xsl</code> som r grundmallen fr fo-processning.</p></li><li><p>Hmtar frn <code class="filename">pwrxsl-common.xsl</code></p></li><li><p>Stter parametrar och templates specifika fr fo.</p></li></ol></div></dd></dl></div><p>
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_anpassningut"></a>4.4. Anpassning av utfiler</h2></div></div></div>
<div class="itemizedlist"><ul type="disc"><li><p>FO/PDF: Justering av utseende, fonter, textstorlek etc. grs helt i instllningslagret,
och behandlas av xslt-processorn.
FO-processorn tar inga sdana argument eller parametrar.</p></li><li><p>HTML: Slutgiltig formatering bestms av css.
Man kopplar de element/taggar man anvnt till formateringsinstruktioner i css:en.
Ger nskad grafisk profil t dokumentet.
Fr att det ska fungera krvs dock att uppmrkningen r konsekvent.</p></li></ul></div>
</div>
</div>
<div class="chapter" lang="sv"><div class="titlepage"><div><div><h2 class="title"><a name="dbpwr_omdocbook"></a>Kapitel 5. Mer om DocBook</h2></div></div></div><div class="toc"><p><b>Innehllsfrteckning</b></p><dl><dt><span class="section"><a href="#dbpwr_bakgrund">5.1. Bakgrund</a></span></dt><dt><span class="section"><a href="#dbpwr_verktyg">5.2. Vilka verktyg behvs?</a></span></dt><dd><dl><dt><span class="section"><a href="#dbpwr_vkedja">5.2.1. DocBook:s verktygskedja</a></span></dt><dt><span class="section"><a href="#dbpwr_editorer">5.2.2. Editorer fr DocBook</a></span></dt></dl></dd><dt><span class="section"><a href="#dbpwr_referenser">5.3. Referenser</a></span></dt></dl></div>
<p>
Detta kapitel r framfr allt av orienterande karaktr.
</p>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_bakgrund"></a>5.1. Bakgrund</h2></div></div></div>
<p>Docbook utvecklades ursprungligen av HaL och O'Reilly med brjan 1991.
1998 blev det en del av SGML Open Consortium, vilket senare blev <acronym class="acronym">OASIS</acronym> (Organization for the Advancement of Structured Information Standards). </p>
<p>
Ngra punkter..
</p>
<div class="itemizedlist"><ul type="disc"><li><p>xml-grammatik fr dokumentation, ssk teknisk, ssk hrd- och mjukvara</p></li><li><p>Strukturerad uppmrkning baserat p innehll, ej formatering (som ex.vis html).
Mjligt att skapa mer skbara databaser.</p></li><li><p>Kan generera utdata i mnga olika format frn en klla: html, pdf, manpages, rtf, txt, htmlhelp,
Utdata fr olika plattformar frn samma klla (t ex SuSE / RedHat / Windows) - profiling.
Utdata p olika sprk frn samma klla (med fallback).</p></li><li><p>Enkelt att integrera i byggrutinen fr ett projekt. Make-filer, versionshantering.</p></li><li><p>OASIS-standard. Anvnds av bl a: Sun, Microsoft, HP, Novell, Red Hat, och open source projekt som
Linux kernel, KDE, Gnome, debian, Ubuntu, Fedora, Free-BSD, LDP, m fl.</p></li><li><p>Mjligt att skapa stora korsrefererande dokumentationssystem frn fristende komponenter.</p></li><li><p>Aktiv open source-utveckling av hela verktygskedjan.</p></li></ul></div>
<p>Frdelar: Alla ovan.</p>
<p>Nackdelar: mnga taggar, ej entydigt vilka man ska anvnda, inlrningskurva, sammansatt verktygskedja,
XML (om man inte gillar XML...).</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_verktyg"></a>5.2. Vilka verktyg behvs?</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="#dbpwr_vkedja">5.2.1. DocBook:s verktygskedja</a></span></dt><dt><span class="section"><a href="#dbpwr_editorer">5.2.2. Editorer fr DocBook</a></span></dt></dl></div>
<p>Detta avsnitt beskriver verktygskedjan fr Docbook, och hur man editerar och processar docbook-dokument.</p>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="dbpwr_vkedja"></a>5.2.1. DocBook:s verktygskedja</h3></div></div></div>
<div class="itemizedlist"><ul type="disc"><li><p>Vokabulren specificeras i ett <acronym class="acronym">RELAX NG</acronym>
<sup>[<a name="id3377278" href="#ftn.id3377278">1</a>]</sup>
schema fr o m Docbook v 5.0, tidigare anvndes en DTD (Document Type Definition).
Den har bantats ned och stramats upp fr o m 5.0, mjligen ej helt fryst nnu.
Fr detta dokument anvnds v 5.05b.
Schemat behvs egentligen bara fr validering och fr editorer, och om man ska skriva egna stylesheets.</p></li><li><p>Stylesheets definierar hur docbookvokabulr transformeras till andra taggar fr olika utformat.
Mallarna r skrivna i xsl (extensible stylesheet language) som ocks r en xml-vokabulr.
Tidigare anvndes dssl.
Senaste slppta versionen r docbook-xsl-1.69.1 (fr detta dokument anvnds en snapshot-version frn sourceforge).
Huvudstylesheets fr html, chunk, fo (formatted output), manpages etc. anropas.
Dessa anvnder sig av ett flertal gemensamma stylesheets.</p></li><li><p>En xslt-processor anvnds fr att generera utdata (.html, .fo, etc).
Man anropar den med indata och stylesheet som argument, enklast via en make-fil.
xsltproc r standard i mnga linuxdistributioner, ingr i libxslt.
Andra processorer finns, ex.vis saxon, xalan.
Fr detta dokument anvnds en snapshot-version av libxslt frn xmlsoft.org.</p></li><li><p>Fr att skapa utdata fr papper (pdf, ps, rtf, txt)
fr man processa den skapade .fo-filen ett steg till, med en xsl-fo-processor.
xsl-fo r en xml-vokabulr fr att beskriva formaterad text.
Den innehller information om hur texten ska se ut p pappret med fonter, textstorlek, pappersformat, styckeindelningar etc.
Den innehller dremot ingen information om typsttning, radbrytningar, sidbrytningar och avstavning.
Fr att generera sdan information och utdatafiler i ex.vis pdf-format anvnder man en xsl-fo-processor.
xsl-fo-processorer r typsttningsmotorer, och det finns ett flertal kommersiella och ppna.
Mnga av dem fungerar bra fr de flesta tillmpningar,
men ingen implementerar xsl-fo-standarden fullstndigt.
Detta uppges bero p tre saker:
</p><div class="orderedlist"><ol type="1"><li><p>Xsl-fo-standarden r ganska ny och omfattande.</p></li><li><p>Den har visat sig svrimplementerad i sin helhet.</p></li><li><p>Typsttning r svrt, generellt.</p></li></ol></div>
<p>Den mest anvnda open source-processorn r Apache's javabaserade FOP.
Senaste stabila releasen var 0.20.5.
En helt omarbetad version 0.90 alfa gjordes tillgnglig nyligen.
Fr pdf-versionen av detta dokument anvnds 0.92 beta.
En 1.0-version uppges kunna slppas snart.</p>
<p>Andra open source fop:ar: PassiveTeX och xmlroff.
Kommersiella: E3, XEP, XPP, XSL Formatter m fl. </p>
</li></ul></div>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="dbpwr_editorer"></a>5.2.2. Editorer fr DocBook</h3></div></div></div>
<p>I princip kan vilken texteditor som helst anvndas.
Eftersom taggarna ofta r lnga (inga frkortningar) blir det dock ltt omstndligt utan xml-medveten editor.
Tv alternativ:
</p><div class="itemizedlist"><ul type="disc"><li><p>Wysiwyg-editorer: Gmmer xml-taggarna. Exempel: oXygen (kommersiellt), XXE (halvt kommersiellt)</p></li><li><p>Emacs-lgen, etc.: psgml-mode, nXML-mode</p></li></ul></div><p>
</p>
<p>Fr detta dokument har Emacs med nXML-lge anvnts (Emacs version 21.x krvs).
nXML r skrivet av xml-gurun James Clark (groff, expat, xml-standarden, relax ng mm).
Man kopplar nXML till sitt schema (docbook.rng i detta fall),
och sedan fr man bl a:
</p><div class="itemizedlist"><ul type="disc"><li><p>auto-komplettering av taggar (<span><strong class="keycap">C</strong></span>-<span><strong class="keycap">RET</strong></span>):
man skriver de frsta bokstverna och autokompletterar sedan.</p></li><li><p>Insttning av sluttag 1
(<span><strong class="keycap">C</strong></span>-<span><strong class="keycap">c</strong></span> <span><strong class="keycap">C</strong></span>-<span><strong class="keycap">i</strong></span>):
stter sluttaggen direkt efter ppningstaggen, och placerar markren mitt emellan.</p></li><li><p>Insttning av sluttag 2
(<span><strong class="keycap">C</strong></span>-<span><strong class="keycap">c</strong></span> <span><strong class="keycap">C</strong></span>-<span><strong class="keycap">b</strong></span>):
stter sluttagen p ny rad nedanfr, och placerar markren p blank rad mitt emellan.</p></li><li><p>Insttning av sluttag 3 (<span><strong class="keycap">C</strong></span>-<span><strong class="keycap">f</strong></span>):
Avslutar nrmaste ppna tag uppt i trdet.</p></li><li><p>Autovalidering: Syntaxen kollas mot schemat kontinuerligt. Info om fel. Syntaxfrgning och indentering.</p></li></ul></div><p>
</p>
<p>Till Emacs finns ocks en DocBook-meny att ladda ned.
Den innehller inga kommandon, men lnkar till dokumentation, samt alla element/taggar grupperade alfabetiskt och logiskt. Anvndbart.</p>
</div>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="dbpwr_referenser"></a>5.3. Referenser</h2></div></div></div>
<div class="itemizedlist"><ul type="disc"><li>
<p><a href="http://www.docbook.org/tdg5/en/html/docbook.html" target="_top">DocBook 5.0: The Definitive Guide</a>.
Komplett referens ver alla element.
Innehller ven en <a href="http://www.docbook.org/tdg5/en/html/quickref.html" target="_top">Quick Reference</a>.</p>
</li><li>
<p><a href="http://www.sagehill.net/docbookxsl/index.html" target="_top">DocBook XSL: The Complete Guide</a>.
Anvnda och stta upp ett DocBook-system.</p>
</li><li>
<p><a href="http://docbook.xml-doc.org/snapshots/xsl/doc/" target="_top">DocBook XSL Stylesheet Reference Documentation</a>.
Referensdokumentation ver instllningsparametrar fr html och fo.</p>
</li></ul></div>
</div>
<div class="footnotes"><br><hr width="100" align="left"><div class="footnote"><p><sup>[<a name="ftn.id3377278" href="#id3377278">1</a>] </sup>REgular LAnguage for XML Next Generation, r en xml-vokabulr fr att specificera xml-vokabulrer.
Det gr att skriva <acronym class="acronym">RELAX NG</acronym>-schemat i kompakt notation, men d r schemat inte sjlv ett xml-dokument.
<acronym class="acronym">RELAX NG</acronym> anvnds som schemasprk fr DocBook, OpenDocument (OpenOffice.org:s dokumentformat), m fl.
Ett alternativ till <acronym class="acronym">RELAX NG</acronym> r W3C XML Schema.
</p></div></div></div>
</div></body></html>
...@@ -43,8 +43,11 @@ ...@@ -43,8 +43,11 @@
<itemizedlist> <itemizedlist>
<listitem><para>Xsltproc. Standardkomponent i de flesta linuxdistributioner.</para></listitem> <listitem><para>Xsltproc. Standardkomponent i de flesta linuxdistributioner.</para></listitem>
<listitem><para>DocBook-xsl-stylesheets. Går att hämta med apt-get, eller från sourceforge. <listitem><para>DocBook-xsl-stylesheets. Går att hämta med apt-get, eller från sourceforge.
Finns på pwr42 i <filename class="directory">/usr/local/share/xml/docbook/stylesheet/snapshot/</filename>. Den senaste versionen finns på pwr42 i
Om man byter stylesheets, eller har dem någon annanstans måste man (tyvärr) ändra i inställningslagren (se nedan).</para></listitem> <filename class="directory">/usr/local/share/xml/docbook/stylesheet/docbook-xsl-1.70.1/</filename>.
När man uppdaterar till en ny release av dessa måste man köra installationsscriptet <filename>install.sh</filename>
i distributionen.
Detta uppdaterar användarens <envar>XML_CATALOG_FILES</envar> att länka till den nya distributionen.</para></listitem>
<listitem><para>Fop. Version 0.92b av Apaches fo-processor är installerad på pwr42 i <listitem><para>Fop. Version 0.92b av Apaches fo-processor är installerad på pwr42 i
<filename class="directory">/usr/local/fop-0.92beta/</filename>. <filename class="directory">/usr/local/fop-0.92beta/</filename>.
En symlänk finns i <filename class="directory">/usr/local/bin</filename>.</para></listitem> En symlänk finns i <filename class="directory">/usr/local/bin</filename>.</para></listitem>
...@@ -71,7 +74,7 @@ ...@@ -71,7 +74,7 @@
<varlistentry><term><filename>pwrxsl-html.xsl</filename></term> <varlistentry><term><filename>pwrxsl-html.xsl</filename></term>
<listitem> <listitem>
<orderedlist> <orderedlist>
<listitem><para>Importerar <filename>...stylesheet/snapshot/html/docbook.xsl</filename> <listitem><para>Importerar <filename>/docbook-xsl-n.nn.n/html/docbook.xsl</filename>
som är grundmallen för html-processning - en utfil.</para></listitem> som är grundmallen för html-processning - en utfil.</para></listitem>
<listitem><para>Hämtar från <filename>pwrxsl-common.xsl</filename></para></listitem> <listitem><para>Hämtar från <filename>pwrxsl-common.xsl</filename></para></listitem>
<listitem><para>Hämtar från <filename>pwrxsl-html-common.xsl</filename></para></listitem> <listitem><para>Hämtar från <filename>pwrxsl-html-common.xsl</filename></para></listitem>
...@@ -80,7 +83,7 @@ ...@@ -80,7 +83,7 @@
<varlistentry><term><filename>pwrxsl-chunk.xsl</filename></term> <varlistentry><term><filename>pwrxsl-chunk.xsl</filename></term>
<listitem> <listitem>
<orderedlist> <orderedlist>
<listitem><para>Importerar <filename>...stylesheet/snapshot/html/chunk.xsl</filename> <listitem><para>Importerar <filename>/docbook-xsl-n.nn.n/html/chunk.xsl</filename>
som är grundmallen för html-processning - flera utfiler.</para></listitem> som är grundmallen för html-processning - flera utfiler.</para></listitem>
<listitem><para>Hämtar från <filename>pwrxsl-common.xsl</filename></para></listitem> <listitem><para>Hämtar från <filename>pwrxsl-common.xsl</filename></para></listitem>
<listitem><para>Hämtar från <filename>pwrxsl-html-common.xsl</filename></para></listitem> <listitem><para>Hämtar från <filename>pwrxsl-html-common.xsl</filename></para></listitem>
...@@ -89,7 +92,7 @@ ...@@ -89,7 +92,7 @@
<varlistentry><term><filename>pwrxsl-fo.xsl</filename></term> <varlistentry><term><filename>pwrxsl-fo.xsl</filename></term>
<listitem> <listitem>
<orderedlist> <orderedlist>
<listitem><para>Importerar <filename>...stylesheet/snapshot/fo/docbook.xsl</filename> som är grundmallen för fo-processning.</para></listitem> <listitem><para>Importerar <filename>/docbook-xsl-n.nn.n/fo/docbook.xsl</filename> som är grundmallen för fo-processning.</para></listitem>
<listitem><para>Hämtar från <filename>pwrxsl-common.xsl</filename></para></listitem> <listitem><para>Hämtar från <filename>pwrxsl-common.xsl</filename></para></listitem>
<listitem><para>Sätter parametrar och templates specifika för fo.</para></listitem> <listitem><para>Sätter parametrar och templates specifika för fo.</para></listitem>
</orderedlist></listitem></varlistentry> </orderedlist></listitem></varlistentry>
......
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
specifierar senare dataarean genom att lgga kanal-objekt under modulobjektet. specifierar senare dataarean genom att lgga kanal-objekt under modulobjektet.
</para> </para>
</section> </section>
Nr alla moduler r konfigurerarde klickar man p apply, och de olika modul-objekten Nr alla moduler r konfigurerade klickar man p apply, och de olika modul-objekten
skapas. Nu lagras ven PrmUserData konfigureringen fr slaven och modulerna i skapas. Nu lagras ven PrmUserData konfigureringen fr slaven och modulerna i
attributet PrmUserData i slavobjektet, tillsammans med diverse andra data.</para> attributet PrmUserData i slavobjektet, tillsammans med diverse andra data.</para>
...@@ -141,27 +141,32 @@ ...@@ -141,27 +141,32 @@
eller java-application exporteras den som java och kompileras. eller java-application exporteras den som java och kompileras.
</para></section> </para></section>
<section xml:id="upgradev42_build_web"><title>WebHandler</title> <section xml:id="upgradev42_build_web">
<title>WebHandler</title>
<para>Byggmetoden fr ett WebHandler objekt skapar en hemsida fr en nod (anropar <para>Byggmetoden fr ett WebHandler objekt skapar en hemsida fr en nod (anropar
Generate Web). Generate Web).
</para></section> </para></section>
</section> </section>
<section xml:id="upgradev42_build_vol"><title>Byggmetod fr volymer</title> <section xml:id="upgradev42_build_vol">
<section xml:id="upgradev42_build_rootvol"><title>Rotvolym</title> <title>Byggmetod fr volymer</title>
<section xml:id="upgradev42_build_rootvol">
<title>Rotvolym</title>
<para>Rotvolymens byggmetod anropar byggmetoden fr samtliga PlcPgm, XttGraph och <para>Rotvolymens byggmetod anropar byggmetoden fr samtliga PlcPgm, XttGraph och
WebHandler objekt i volymen. Om volymen r ndrad sedan laddatafiler senast skapades WebHandler objekt i volymen. Om volymen r ndrad sedan laddatafiler senast skapades
fr volymen, skapas nya laddatafiler. ven nya korsreferensfiler skapas om detta r fr volymen, skapas nya laddatafiler. ven nya korsreferensfiler skapas om detta r
angett i Options. angett i Options.
</para></section> </para></section>
<section xml:id="upgradev42_build_classvol"><title>Klassvolym</title> <section xml:id="upgradev42_build_classvol">
<title>Klassvolym</title>
<para>Om klassvolymen r ndrad sedan laddatafiler senast skapades <para>Om klassvolymen r ndrad sedan laddatafiler senast skapades
fr volymen, skapas nya laddatafiler, och nya structfiler fr volymen. fr volymen, skapas nya laddatafiler, och nya structfiler fr volymen.
</para></section> </para></section>
</section> </section>
<section xml:id="upgradev42_build_node"><title>Byggmetod fr noder</title> <section xml:id="upgradev42_build_node">
<title>Byggmetod fr noder</title>
<para>Nodens byggmetod anropar byggmetoden fr ppnad volym och skapar drefter ny <para>Nodens byggmetod anropar byggmetoden fr ppnad volym och skapar drefter ny
bootfil fr noden. bootfil fr noden.
<note>Observera att endast volymer som r ppnade byggs om. Om noden innehller flera <note>Observera att endast volymer som r ppnade byggs om. Om noden innehller flera
...@@ -171,15 +176,17 @@ ...@@ -171,15 +176,17 @@
</section> </section>
</section> </section>
<section xml:id="upgradev42_remrack"><title>PSS9000 Remote rack</title> <section xml:id="upgradev42_remrack">
<title>PSS9000 Remote rack</title>
<para>Ett proview system kan nu hmta data frn en PSS9000 rack via ethernet. Racken konfigureras <para>Ett proview system kan nu hmta data frn en PSS9000 rack via ethernet. Racken konfigureras
med ett Ssab_RemoteRack objekt i nodhierarkin, och drunder konfiguraras korten i vanlig med ett Ssab_RemoteRack objekt i nodhierarkin, och drunder konfigureras korten i vanlig
ordning. ordning.
</para> </para>
</section> </section>
<section xml:id="upgradev42_ld_node"><title>ld_node_xxx.dat</title> <section xml:id="upgradev42_ld_node">
<title>ld_node_xxx.dat</title>
<para>ld_node filen innehller de noder en nod tar kontakt med via QCOM vid <para>ld_node filen innehller de noder en nod tar kontakt med via QCOM vid
uppstart av proview. Filen genereras utifrn data i NodeConfig och uppstart av proview. Filen genereras utifrn data i NodeConfig och
...@@ -195,14 +202,16 @@ ...@@ -195,14 +202,16 @@
</para> </para>
</section> </section>
<section xml:id="upgradev42_sub"><title>Buffring av prenumerationer borttagen</title> <section xml:id="upgradev42_sub">
<title>Buffring av prenumerationer borttagen</title>
<para>Buffringen av prenumerationer, vilken kunde ge upphov till ikappkrnings <para>Buffringen av prenumerationer, vilken kunde ge upphov till ikappkrnings
fenomen vid dlig kommunikation, r nu borttagen. fenomen vid dlig kommunikation, r nu borttagen.
</para> </para>
</section> </section>
<section xml:id="upgradev42_wiz"><title>Wizard fr konfigurering av projektvolymen</title> <section xml:id="upgradev42_wiz">
<title>Wizard fr konfigurering av projektvolymen</title>
<para>Konfigureringen av projektvolymen grs nu enkelt mha av en wizard som startar <para>Konfigureringen av projektvolymen grs nu enkelt mha av en wizard som startar
automatisk om man ppnar en tom projektvolym. Wizarden hmtar upp de volymer som r automatisk om man ppnar en tom projektvolym. Wizarden hmtar upp de volymer som r
...@@ -215,7 +224,31 @@ ...@@ -215,7 +224,31 @@
</para> </para>
</section> </section>
<section xml:id="upgradev42_otime"><title>Objekt fr tidshantering</title> <section xml:id="upgradev42_cupdate">
<title>Uppdatering av klasser</title>
<para>Om man gjort en ndring i en klassvolym var man tidigare tvungen att dumpa ut
databasen p en textfil och terladda denna fr att uppdatera instanser av
ndrade klasser. Nu finns det en funktion som uppdaterar instanser utan dumpning/laddning.</para>
<para>Varje databas lagrar alla laddatafiler fr klassvolymer lokalt i filkatalogen fr databasen. Det r allts
inte dbs-filerna p $pwr_load eller $pwrp_load som anvnds nr man ppnar arbetsbnken, utan
de lokala dbs-filerna. Det hr gr att man r oberoende av hur de globala dbs-filerna frndras.
Vid uppstart av arbetsbnken jmfrs versionerna p lokala dbs-filer med globala dbs-filer, och
om ngon global dbs-fil finns i en ny version fr man ett varnings-meddelande om detta. Man kan
d med kommandot 'check classes' se vilka klasser ndringen omfattar och om man har ngra
instanser av dessa klasser. Man br sedan aktivera Functions->Update Classes i menyn fr att
uppdatera klasserna och de lokala dbs-filerna.</para>
<para>Vid ndring av in- och utgngar i funktionsobjektsklasser har man tidigare varit tvungen
att dra om kopplingarna till alla instanser. Det hr har frbttrats ngot. Lgger man till nya
ingngar eller utgngar anpassa funktionsobjektet automatisk till detta. Tar man bort in eller
utgngar br man se till att de in och utgngar som tas bort inte r synliga in ngon instans,
annars br man dra om alla kopplingar. Flyttar man en in eller utgng br man dra om kopplingarna.
</para>
<section xml:id="upgradev42_otime">
<title>Objekt fr tidshantering</title>
<para>Ett antal nya objekt fr att hantera tider har tillkommit i V4.2.0. Hr finns <para>Ett antal nya objekt fr att hantera tider har tillkommit i V4.2.0. Hr finns
objekt fr att lagra, addera, subtrahera tider mm. objekt fr att lagra, addera, subtrahera tider mm.
...@@ -227,7 +260,8 @@ ...@@ -227,7 +260,8 @@
sker ej.</para> sker ej.</para>
</section> </section>
<section xml:id="upgradev42_otime_plc"><title>Plc objekt</title> <section xml:id="upgradev42_otime_plc">
<title>Plc objekt</title>
<para>Addition och subtraktion av tider sker i plc-programmet mha objekten <classname>AtAdd, <para>Addition och subtraktion av tider sker i plc-programmet mha objekten <classname>AtAdd,
DtAdd, AtSub, DtSub</classname> och <classname>AtDtSub</classname>. </para> DtAdd, AtSub, DtSub</classname> och <classname>AtDtSub</classname>. </para>
<para>Fr att hmta upp en ATv eller DTv anvnds objekten <classname>GetATv</classname> resp <para>Fr att hmta upp en ATv eller DTv anvnds objekten <classname>GetATv</classname> resp
...@@ -248,27 +282,109 @@ ...@@ -248,27 +282,109 @@
</para> </para>
</section> </section>
<section xml:id="upgradev42_types"><title>ndrade typer</title> <section xml:id="upgradev42_updatecls">
<title>Updatering av klasser</title>
<para>Om man gjorde en ndring i en klass var man tidigare tvungen att dumpa
databasen till en textfil
och sedan ladda in den igen. Nu finns en funktion som konverterar objekten i en databas till
den nya klassbeskrivningen utan omladdning. Nr man startar arbetsbnken undersks
om det finns ngon ny version av klassvolymernas dbs-filer. Om s r fallet fr man
en varning i meddelandefnstret. Man kan d vlja att fortstta med den gamla
klassbeskrivningen, eller att uppdatera objekten. Uppdateringen grs med
<menuchoice><guimenu>Function->Update Classes</guimenu></menuchoice> i menyn. Vill
man frst se vilka objekt som kommer att pverkas, kan man exekvera kommandot
<prompt>wtt> </prompt><userinput><command>check classes</command></userinput>
som ger en list p de klasser som r ndrade och antalet instanser som finns av
respektive klass.</para>
<para>Man br naturligtvis se till att den finns en backup av databasen
innan man utfr en klass uppdatering.
</para>
</section>
<section xml:id="upgradev42_ge">
<title>Ge</title>
<section xml:id="upgradev42_gefolder">
<title>Object graph in Window and Folder</title>
<para>It is now possible to display an object graph in a window or folder object.
The instance object of the object graph is inserted in the properties Window.Object and
Folderx.Object.
</para>
</section>
<section xml:id="upgradev42_getable">
<title>Utvalsfrg i Table</title>
<para>En egenskap fr att ndra frgen p utvalda celler tabeller har adderats
till Table objektet. Stt den nskade frgen i Table.SelectColor.
</para>
</section>
<section xml:id="upgradev42_invbit">
<title>Bit typ i Invisible</title>
<para>Eftersom behrighet ofta beskrivs av bitar i en bitmask, kan man nu pverka
knslighet och synlighet hos objekt med bitar. Typen fr attributet markeras med
##Bit#32[7] vilket innebr en 32-bitars bitmask, bit nummer 7 (frsta biten r bit 0).
</para>
</section>
</section>
<section xml:id="upgradev42_types">
<title>ndrade typer</title>
<section xml:id="upgradev42_types_repenum"><title>pwrb:DataRepEnum</title> <section xml:id="upgradev42_types_repenum"><title>pwrb:DataRepEnum</title>
<para>Vrdena Int32 och UInt24 har adderats.</para> <para>Vrdena Int32 och UInt24 har adderats.</para>
</section> </section>
</section> </section>
<section xml:id="upgradev42_changed_classes"><title>ndrade klasser</title> <section xml:id="upgradev42_changed_classes">
<title>ndrade klasser</title>
<section xml:id="upgradev42_ch_pb"><title>Profibus:Pb_Module</title> <section xml:id="upgradev42_ch_pb">
<title>Profibus:Pb_Module</title>
<para>Attributet ModuleName har adderats.</para> <para>Attributet ModuleName har adderats.</para>
</section> </section>
<section xml:id="upgradev42_ch_complimit"><title>BaseComponent:CompLimit</title> <section xml:id="upgradev42_ch_complimit">
<title>BaseComponent:CompLimit</title>
<para>Attributet DisableAlarm har adderats, vilket gr det mjligt att anvnda <para>Attributet DisableAlarm har adderats, vilket gr det mjligt att anvnda
grnsvrdesvervakningen i BaseSensor utan larm.</para> grnsvrdesvervakningen i BaseSensor utan larm.</para>
</section> </section>
<section xml:id="upgradev42_ch_compmodedm">
<title>BaseComponent:CompModeDM, CompModeDMFo</title>
<para>Funktionalitet fr krning i lokal mode har adderats.</para>
</section>
<section xml:id="upgradev42_ch_basemvalve">
<title>BaseComponent:BaseMValveFo</title>
<para>Funktionalitet fr krning i lokal mode har adderats.</para>
</section>
<section xml:id="upgradev42_ch_volumes">
<title>RootVolume, SubVolume, SharedVolume</title>
<para>Attributet Modified har adderats. Hr lagras tiden nr man senast sparade volymen
i utvecklingsmiljn.</para>
</section>
</section> </section>
<section xml:id="upgradev42_new_classes"><title>Nya klasser</title> <section xml:id="upgradev42_new_classes">
<title>Nya klasser</title>
<section xml:id="upgradev42_new_comppid"><title>CompPID, CompPID_Fo</title>
<para>Pid regulatorn uppdelad i ett huvudobjekt och ett funktionsobjekt. Regulatorn
kan d lggas som en komponent i ett annat objekt.</para>
</section>
<section xml:id="upgradev42_new_compmode"><title>CompModePID, CompModePID_Fo</title>
<para>Mode objektet till ovanstende Pid regulator.</para>
</section>
<section xml:id="upgradev42_new_getdatap"><title>GetDatap</title>
<para>Plc objekt fr att hmta upp referensen till ett data objekt, t ex en data utgng i
DataArithm. Frmst avsedd fr att kunna skapa dataingngar i funktionsobjekt med template plckod.
</para>
</section>
<section xml:id="upgradev42_new_atv"><title>pwrb:ATv</title> <section xml:id="upgradev42_new_atv"><title>pwrb:ATv</title>
<para>Absolute Time Value, lagring av en absoluttid, pwr_tTime.</para> <para>Absolute Time Value, lagring av en absoluttid, pwr_tTime.</para>
...@@ -414,6 +530,7 @@ ...@@ -414,6 +530,7 @@
<para>Profibus modulobjekt fr ET200S analoga utgngsmoduler</para> <para>Profibus modulobjekt fr ET200S analoga utgngsmoduler</para>
</section> </section>
</section>
</section> </section>
</chapter> </chapter>
......
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Uppgradering till V4.2.0</title><link rel="stylesheet" href="pwrdoc.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.70.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="book" lang="sv"><div class="titlepage"><div><div><h1 class="title"><a name="id3375733"></a>Uppgradering till V4.2.0</h1></div><div><h2 class="subtitle">Vgledning</h2></div><div><div class="authorgroup">
<div class="author"><h3 class="author"><span class="firstname">Claes</span> <span class="surname">Sjfors</span></h3><div class="affiliation">
<span class="orgname">SSAB Oxelsund AB<br></span>
</div><code class="email">&lt;<a href="mailto:postmaster@proview.se">postmaster@proview.se</a>&gt;</code></div>
</div></div><div><p class="copyright">Copyright 2006 SSAB Oxelsund AB</p></div><div><div class="legalnotice"><a name="id3376133"></a>
<p>Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.</p>
</div></div><div><div class="revhistory"><table border="1" width="100%" summary="Revision history"><tr><th align="left" valign="top" colspan="3"><b>Revisionshistorik</b></th></tr>
<tr><td align="left">Revision 0.1</td><td align="left">2006-04-01</td><td align="left">cs</td></tr><tr><td align="left" colspan="3">v0.1</td></tr>
</table></div></div></div><hr></div><div class="toc"><p><b>Innehllsfrteckning</b></p><dl><dt><span class="chapter"><a href="#upgradev42_chaintro">1. Introduktion</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_intro">1.1. Uppgradering till Proview 4.2.0</a></span></dt></dl></dd><dt><span class="chapter"><a href="#upgradev42_chanewfunc">2. Nya funktioner</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_profibus">2.1. Profibus konfigurator</a></span></dt><dt><span class="section"><a href="#upgradev42_buildmeth">2.2. Bygg metoder</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_build_obj">2.2.1. Byggmetoder fr objekt</a></span></dt><dt><span class="section"><a href="#upgradev42_build_vol">2.2.2. Byggmetod fr volymer</a></span></dt><dt><span class="section"><a href="#upgradev42_build_node">2.2.3. Byggmetod fr noder</a></span></dt></dl></dd><dt><span class="section"><a href="#upgradev42_remrack">2.3. PSS9000 Remote rack</a></span></dt><dt><span class="section"><a href="#upgradev42_ld_node">2.4. ld_node_xxx.dat</a></span></dt><dt><span class="section"><a href="#upgradev42_sub">2.5. Buffring av prenumerationer borttagen</a></span></dt><dt><span class="section"><a href="#upgradev42_wiz">2.6. Wizard fr konfigurering av projektvolymen</a></span></dt><dt><span class="section"><a href="#upgradev42_cupdate">2.7. Uppdatering av klasser</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_otime">2.7.1. Objekt fr tidshantering</a></span></dt><dt><span class="section"><a href="#upgradev42_updatecls">2.7.2. Updatering av klasser</a></span></dt><dt><span class="section"><a href="#upgradev42_ge">2.7.3. Ge</a></span></dt><dt><span class="section"><a href="#upgradev42_types">2.7.4. ndrade typer</a></span></dt><dt><span class="section"><a href="#upgradev42_changed_classes">2.7.5. ndrade klasser</a></span></dt><dt><span class="section"><a href="#upgradev42_new_classes">2.7.6. Nya klasser</a></span></dt></dl></dd></dl></dd><dt><span class="chapter"><a href="#upgradev42_chascript">3. Uppgraderings procedur</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_upgr">3.1. Procedur fr uppgradering</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_copyproj">3.1.1. Ta en kopia av projektet</a></span></dt><dt><span class="section"><a href="#upgradev42_up_">3.1.2. upgrade.sh</a></span></dt></dl></dd></dl></dd></dl></div>
<div class="chapter" lang="sv"><div class="titlepage"><div><div><h2 class="title"><a name="upgradev42_chaintro"></a>Kapitel 1. Introduktion</h2></div></div></div><div class="toc"><p><b>Innehllsfrteckning</b></p><dl><dt><span class="section"><a href="#upgradev42_intro">1.1. Uppgradering till Proview 4.2.0</a></span></dt></dl></div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_intro"></a>1.1. Uppgradering till Proview 4.2.0</h2></div></div></div>
<p>Detta dokument beskriver nya funktioner i Proview V4.2.0, samt hur man
uppgraderar frn V4.1.3 till V4.2.0.</p>
</div>
</div>
<div class="chapter" lang="sv"><div class="titlepage"><div><div><h2 class="title"><a name="upgradev42_chanewfunc"></a>Kapitel 2. Nya funktioner</h2></div></div></div><div class="toc"><p><b>Innehllsfrteckning</b></p><dl><dt><span class="section"><a href="#upgradev42_profibus">2.1. Profibus konfigurator</a></span></dt><dt><span class="section"><a href="#upgradev42_buildmeth">2.2. Bygg metoder</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_build_obj">2.2.1. Byggmetoder fr objekt</a></span></dt><dt><span class="section"><a href="#upgradev42_build_vol">2.2.2. Byggmetod fr volymer</a></span></dt><dt><span class="section"><a href="#upgradev42_build_node">2.2.3. Byggmetod fr noder</a></span></dt></dl></dd><dt><span class="section"><a href="#upgradev42_remrack">2.3. PSS9000 Remote rack</a></span></dt><dt><span class="section"><a href="#upgradev42_ld_node">2.4. ld_node_xxx.dat</a></span></dt><dt><span class="section"><a href="#upgradev42_sub">2.5. Buffring av prenumerationer borttagen</a></span></dt><dt><span class="section"><a href="#upgradev42_wiz">2.6. Wizard fr konfigurering av projektvolymen</a></span></dt><dt><span class="section"><a href="#upgradev42_cupdate">2.7. Uppdatering av klasser</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_otime">2.7.1. Objekt fr tidshantering</a></span></dt><dt><span class="section"><a href="#upgradev42_updatecls">2.7.2. Updatering av klasser</a></span></dt><dt><span class="section"><a href="#upgradev42_ge">2.7.3. Ge</a></span></dt><dt><span class="section"><a href="#upgradev42_types">2.7.4. ndrade typer</a></span></dt><dt><span class="section"><a href="#upgradev42_changed_classes">2.7.5. ndrade klasser</a></span></dt><dt><span class="section"><a href="#upgradev42_new_classes">2.7.6. Nya klasser</a></span></dt></dl></dd></dl></div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_profibus"></a>2.1. Profibus konfigurator</h2></div></div></div>
<p>Konfigureringen av profibus r frndrad i V4.2.0, bde nr det gller
tillvgagngstt och de objekt som anvnds vid konfigureringen. </p>
<p>Man brjar genom att skapa ett masterobjekt i nodehierarkin, fr Softing profiboard
anvnds <span class="classname">Pb_Profiboard</span>. Under detta lggs de slavar som finns p profibusslingan med
<span class="classname">Pb_DP_Slave</span> objekt, eller objekt som r en subklass av
<span class="classname">Pb_DP_Slave</span>. Anvnder man
<span class="classname">Pb_DP_Slave</span> objektet lgger man in namn p gsd-fil, byteordning och ev
flyttalsrepresentation. Fr vissa slavar finns specifika subclasser, t ex
<span class="classname">Siemens_ET200S_IM151</span>, <span class="classname">Siemens_ET200M_IM153</span>
och <span class="classname">ABB_ACS_Pb_Slave</span>. Hr r gsd-filen redan
specificerad i objektet, och fljer ven med proview-releasen. </p>
<p>Nsta steg r att ppna profibus-konfiguratren fr varje slav, genom att aktivera
<span class="guimenu">Configure Slave</span> i popupmenyn fr slaven. Profibus konfiguratren lser gsd-filen och
presenterar data och konfigurations alternativ fr slaven. Under mappen <code class="sgmltag-element">SlaveGsdData</code> visas
diverse uppgifter om slaven, och under mappen <code class="sgmltag-element">UserPrmData</code> konfigurationsdata fr slaven.</p>
<p>
</p><table border="0" summary="manufactured viewport for HTML img" cellspacing="0" cellpadding="0" width="450"><tr style="height: 540px"><td><img src="../upgrade42_pbconf.gif" width="450"></td></tr></table><p>
</p>
<p>P slaven finns plats fr ett visst antal moduler, och fr varje tnkbar modul finns
ett modul-entry i konfiguratren. Genom att ppna ett modul-entry kan man ange typ,
konfigureringsdata, objektsnamn och objektsklass fr modulen.
</p><div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_pb_type"></a>Typ</h4></div></div></div>
<p>Under Type listas alla mjliga typer finns fr den aktuella slaven. Vlj ut den
nskade typen genom att klicka i checkboxen fr typen.</p>
</div><p>
</p><div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_pb_confdata"></a>Konfigurationsdata</h4></div></div></div>
<p>Under UserPrmData visas konfigurerings alternativen fr den valda modulen. Hr
anger man data och vljer mellan olika alternativ fr att konfigurera modulen.
Se databladet fr modulen fr nrmare information om vad alternativen innebr.
</p>
</div><p>
</p><div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_pb_objname"></a>Objektnamn</h4></div></div></div>
<p>Vid konfigureringen skapar profibus konfiguratorn ett modulobjekt under
slavobjektet. I ObjectName anger man ett namn p detta modulobjekt. Namnet mste
vara unikt inom slaven.
</p></div><p>
</p><div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_pb_mclass"></a>Modulklass</h4></div></div></div>
<p>Under ModuleClass listas mljliga klasser p det modul konfigurations-objekt
som skapas under slavobjektet. Den klass som man vljer r beroende av hur
dataarean som transporteras p profibussen ser ut. Det finns ett antal specifika
klasser t ex <span class="classname">Siemens_ET200S_Ai2, Siemens_ET200SDi2, ABB_ACS_PPO4.</span>
Dessa innehller en frspecificerad dataarea i form av interna kanalobjekt. Om inte
ngot specifikt modulklass passar, vljer man <span class="classname">Pb_Module</span> och
specifierar senare dataarean genom att lgga kanal-objekt under modulobjektet.
</p>
</div><p>
Nr alla moduler r konfigurerade klickar man p apply, och de olika modul-objekten
skapas. Nu lagras ven PrmUserData konfigureringen fr slaven och modulerna i
attributet PrmUserData i slavobjektet, tillsammans med diverse andra data.</p>
<p>Nu terstr att ange Process och PlcThread fr alla konfigurations objekt, samt
konfiguerar eventuella kanalobjekt under Pb_Module objekten.
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_buildmeth"></a>2.2. Bygg metoder</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="#upgradev42_build_obj">2.2.1. Byggmetoder fr objekt</a></span></dt><dt><span class="section"><a href="#upgradev42_build_vol">2.2.2. Byggmetod fr volymer</a></span></dt><dt><span class="section"><a href="#upgradev42_build_node">2.2.3. Byggmetod fr noder</a></span></dt></dl></div>
<p>Kompilering av PlcPgm, skapande av laddatafiler och skapande av bootfil utfrs
numera av Build funktionen. Build funktionen utgrs av bygg-metoder fr noder, volymer
och objekt.
</p>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_build_obj"></a>2.2.1. Byggmetoder fr objekt</h3></div></div></div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_build_plc"></a>PlgPgm</h4></div></div></div>
<p>Byggmetoden fr ett PlcPgm kontrollerar om plc-koden r ndrad sedan senaste
kompileringen. Om det r ndrad kompileras plcprogrammet med alla underfnster.
</p></div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_build_xtt"></a>XttGraph</h4></div></div></div>
<p>Byggmetoden fr ett XttGraph kopierar .pwg filen frn $pwrp_pop till $pwrp_exe
om filen p $pwrp_pop r nyare n den p $pwrp_exe. Om grafen r en java-applet
eller java-application exporteras den som java och kompileras.
</p></div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_build_web"></a>WebHandler</h4></div></div></div>
<p>Byggmetoden fr ett WebHandler objekt skapar en hemsida fr en nod (anropar
Generate Web).
</p></div>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_build_vol"></a>2.2.2. Byggmetod fr volymer</h3></div></div></div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_build_rootvol"></a>Rotvolym</h4></div></div></div>
<p>Rotvolymens byggmetod anropar byggmetoden fr samtliga PlcPgm, XttGraph och
WebHandler objekt i volymen. Om volymen r ndrad sedan laddatafiler senast skapades
fr volymen, skapas nya laddatafiler. ven nya korsreferensfiler skapas om detta r
angett i Options.
</p></div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_build_classvol"></a>Klassvolym</h4></div></div></div>
<p>Om klassvolymen r ndrad sedan laddatafiler senast skapades
fr volymen, skapas nya laddatafiler, och nya structfiler fr volymen.
</p></div>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_build_node"></a>2.2.3. Byggmetod fr noder</h3></div></div></div>
<p>Nodens byggmetod anropar byggmetoden fr ppnad volym och skapar drefter ny
bootfil fr noden.
</p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="32pt"><img alt="[Notera]" src="../note.png"></td><th align="left">Notera</th></tr><tr><td align="left" valign="top">Observera att endast volymer som r ppnade byggs om. Om noden innehller flera
volymer mste andra volymer byggas separat, innan noden byggs.
</td></tr></table></div><p>
</p>
</div>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_remrack"></a>2.3. PSS9000 Remote rack</h2></div></div></div>
<p>Ett proview system kan nu hmta data frn en PSS9000 rack via ethernet. Racken konfigureras
med ett Ssab_RemoteRack objekt i nodhierarkin, och drunder konfigureras korten i vanlig
ordning.
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_ld_node"></a>2.4. ld_node_xxx.dat</h2></div></div></div>
<p>ld_node filen innehller de noder en nod tar kontakt med via QCOM vid
uppstart av proview. Filen genereras utifrn data i NodeConfig och
FriendNodeConfig objekt i projektvolymen. </p>
<p>Tidigare har ld_node filen varit gemensam fr alla noder i ett projekt
p samma QCOM bus, men nu har varje nod ftt en separat ld_node fil. Detta
gr det mjligt att styra vilka externa noder en node tar kontakt med individuellt.</p>
<p>Liksom tidigare styrs detta genom att FriendNodeConfig objekt lggs in i
projektvolymen. Dessa har tidigare lagts som syskon till NodeConfig objekten
i en QCOM bus, och medfr d att samtliga noder tar kontakt med denna externa nod.
Nu kan FriendNodeConfig ven lggas som barn till ett NodeConfig objekt, vilket
medfr att endast denna nod tar kontakt med den externa noden.
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_sub"></a>2.5. Buffring av prenumerationer borttagen</h2></div></div></div>
<p>Buffringen av prenumerationer, vilken kunde ge upphov till ikappkrnings
fenomen vid dlig kommunikation, r nu borttagen.
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_wiz"></a>2.6. Wizard fr konfigurering av projektvolymen</h2></div></div></div>
<p>Konfigureringen av projektvolymen grs nu enkelt mha av en wizard som startar
automatisk om man ppnar en tom projektvolym. Wizarden hmtar upp de volymer som r
konfigurerade fr projektet i den globala volymslistan, och skapar volym- och
nod-konfigurerings objekt fr dessa.
</p>
<p>
</p><table border="0" summary="manufactured viewport for HTML img" cellspacing="0" cellpadding="0" width="450"><tr style="height: 540px"><td><img src="../upgrade42_pvconfig.gif" width="450"></td></tr></table><p>
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_cupdate"></a>2.7. Uppdatering av klasser</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="#upgradev42_otime">2.7.1. Objekt fr tidshantering</a></span></dt><dt><span class="section"><a href="#upgradev42_updatecls">2.7.2. Updatering av klasser</a></span></dt><dt><span class="section"><a href="#upgradev42_ge">2.7.3. Ge</a></span></dt><dt><span class="section"><a href="#upgradev42_types">2.7.4. ndrade typer</a></span></dt><dt><span class="section"><a href="#upgradev42_changed_classes">2.7.5. ndrade klasser</a></span></dt><dt><span class="section"><a href="#upgradev42_new_classes">2.7.6. Nya klasser</a></span></dt></dl></div>
<p>Om man gjort en ndring i en klassvolym var man tidigare tvungen att dumpa ut
databasen p en textfil och terladda denna fr att uppdatera instanser av
ndrade klasser. Nu finns det en funktion som uppdaterar instanser utan dumpning/laddning.</p>
<p>Varje databas lagrar alla laddatafiler fr klassvolymer lokalt i filkatalogen fr databasen. Det r allts
inte dbs-filerna p $pwr_load eller $pwrp_load som anvnds nr man ppnar arbetsbnken, utan
de lokala dbs-filerna. Det hr gr att man r oberoende av hur de globala dbs-filerna frndras.
Vid uppstart av arbetsbnken jmfrs versionerna p lokala dbs-filer med globala dbs-filer, och
om ngon global dbs-fil finns i en ny version fr man ett varnings-meddelande om detta. Man kan
d med kommandot 'check classes' se vilka klasser ndringen omfattar och om man har ngra
instanser av dessa klasser. Man br sedan aktivera Functions-&gt;Update Classes i menyn fr att
uppdatera klasserna och de lokala dbs-filerna.</p>
<p>Vid ndring av in- och utgngar i funktionsobjektsklasser har man tidigare varit tvungen
att dra om kopplingarna till alla instanser. Det hr har frbttrats ngot. Lgger man till nya
ingngar eller utgngar anpassa funktionsobjektet automatisk till detta. Tar man bort in eller
utgngar br man se till att de in och utgngar som tas bort inte r synliga in ngon instans,
annars br man dra om alla kopplingar. Flyttar man en in eller utgng br man dra om kopplingarna.
</p>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_otime"></a>2.7.1. Objekt fr tidshantering</h3></div></div></div>
<p>Ett antal nya objekt fr att hantera tider har tillkommit i V4.2.0. Hr finns
objekt fr att lagra, addera, subtrahera tider mm.
</p><div class="section" lang="sv"><div class="titlepage"><div><div><h5 class="title"><a name="upgradev42_otime_sig"></a>Signaler</h5></div></div></div>
<p>Signal objekten ATv (AboluteTimeValue) och DTv (DeltaTimeValue) lagrar tidsvrden
i form av absoluttid (av typen pwr_tTime, dvs ett datum), resp en deltattid (av typen
pwr_tDeltaTime, dvs ett tidsintervall). </p>
<p>Objekten terfinns under signal-mappen i paletten. Ngon IO-kopiering av objekten
sker ej.</p>
</div><p>
</p><div class="section" lang="sv"><div class="titlepage"><div><div><h5 class="title"><a name="upgradev42_otime_plc"></a>Plc objekt</h5></div></div></div>
<p>Addition och subtraktion av tider sker i plc-programmet mha objekten <span class="classname">AtAdd,
DtAdd, AtSub, DtSub</span> och <span class="classname">AtDtSub</span>. </p>
<p>Fr att hmta upp en ATv eller DTv anvnds objekten <span class="classname">GetATv</span> resp
<span class="classname">GetDTv</span>. Fr att
hmta ett attribut av typen pwr_tTime och pwr_tDeltaTime i ett objekt, anvnds objekten
<span class="classname">GetATp</span> resp <span class="classname">GetDTp</span></p>
<p>Fr att lagra ett tidsvrde i en <span class="classname">ATv</span> eller
<span class="classname">DTv</span> anvnds <span class="classname">StoATv</span> resp
<span class="classname">StoDTv</span>, eller <span class="classname">CStoATv</span> resp
<span class="classname">CStoDTv</span> fr villkorlig lagring. Fr att lagra ett tidsvrde i
ett attribut av typen pwr_tTime eller pwr_tDeltaTime anvnds objekten
<span class="classname">StoATp</span> resp <span class="classname">StoDTp</span>, eller
<span class="classname">CStoATp</span> resp <span class="classname">CStoDTp</span> fr villkorlig
lagring.</p>
<p>Fr att konvertera en deltatid till flyttal anvnds DtToA, och vice versa AToDt.</p>
<p>Samtliga objekten terfinns under mappen Signals-&gt;Time i plceditorns palett.</p>
</div><p>
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_updatecls"></a>2.7.2. Updatering av klasser</h3></div></div></div>
<p>Om man gjorde en ndring i en klass var man tidigare tvungen att dumpa
databasen till en textfil
och sedan ladda in den igen. Nu finns en funktion som konverterar objekten i en databas till
den nya klassbeskrivningen utan omladdning. Nr man startar arbetsbnken undersks
om det finns ngon ny version av klassvolymernas dbs-filer. Om s r fallet fr man
en varning i meddelandefnstret. Man kan d vlja att fortstta med den gamla
klassbeskrivningen, eller att uppdatera objekten. Uppdateringen grs med
<span class="guimenu">Function-&gt;Update Classes</span> i menyn. Vill
man frst se vilka objekt som kommer att pverkas, kan man exekvera kommandot
<code class="prompt">wtt&gt; </code><strong class="userinput"><code><span><strong class="command">check classes</strong></span></code></strong>
som ger en list p de klasser som r ndrade och antalet instanser som finns av
respektive klass.</p>
<p>Man br naturligtvis se till att den finns en backup av databasen
innan man utfr en klass uppdatering.
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_ge"></a>2.7.3. Ge</h3></div></div></div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_gefolder"></a>Object graph in Window and Folder</h4></div></div></div>
<p>It is now possible to display an object graph in a window or folder object.
The instance object of the object graph is inserted in the properties Window.Object and
Folderx.Object.
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_getable"></a>Utvalsfrg i Table</h4></div></div></div>
<p>En egenskap fr att ndra frgen p utvalda celler tabeller har adderats
till Table objektet. Stt den nskade frgen i Table.SelectColor.
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_invbit"></a>Bit typ i Invisible</h4></div></div></div>
<p>Eftersom behrighet ofta beskrivs av bitar i en bitmask, kan man nu pverka
knslighet och synlighet hos objekt med bitar. Typen fr attributet markeras med
##Bit#32[7] vilket innebr en 32-bitars bitmask, bit nummer 7 (frsta biten r bit 0).
</p>
</div>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_types"></a>2.7.4. ndrade typer</h3></div></div></div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_types_repenum"></a>pwrb:DataRepEnum</h4></div></div></div>
<p>Vrdena Int32 och UInt24 har adderats.</p>
</div>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_changed_classes"></a>2.7.5. ndrade klasser</h3></div></div></div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_ch_pb"></a>Profibus:Pb_Module</h4></div></div></div>
<p>Attributet ModuleName har adderats.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_ch_complimit"></a>BaseComponent:CompLimit</h4></div></div></div>
<p>Attributet DisableAlarm har adderats, vilket gr det mjligt att anvnda
grnsvrdesvervakningen i BaseSensor utan larm.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_ch_compmodedm"></a>BaseComponent:CompModeDM, CompModeDMFo</h4></div></div></div>
<p>Funktionalitet fr krning i lokal mode har adderats.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_ch_basemvalve"></a>BaseComponent:BaseMValveFo</h4></div></div></div>
<p>Funktionalitet fr krning i lokal mode har adderats.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_ch_volumes"></a>RootVolume, SubVolume, SharedVolume</h4></div></div></div>
<p>Attributet Modified har adderats. Hr lagras tiden nr man senast sparade volymen
i utvecklingsmiljn.</p>
</div>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_new_classes"></a>2.7.6. Nya klasser</h3></div></div></div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_comppid"></a>CompPID, CompPID_Fo</h4></div></div></div>
<p>Pid regulatorn uppdelad i ett huvudobjekt och ett funktionsobjekt. Regulatorn
kan d lggas som en komponent i ett annat objekt.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_compmode"></a>CompModePID, CompModePID_Fo</h4></div></div></div>
<p>Mode objektet till ovanstende Pid regulator.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_getdatap"></a>GetDatap</h4></div></div></div>
<p>Plc objekt fr att hmta upp referensen till ett data objekt, t ex en data utgng i
DataArithm. Frmst avsedd fr att kunna skapa dataingngar i funktionsobjekt med template plckod.
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_atv"></a>pwrb:ATv</h4></div></div></div>
<p>Absolute Time Value, lagring av en absoluttid, pwr_tTime.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_dtv"></a>pwrb:DTv</h4></div></div></div>
<p>Delta Time Value, lagring av en deltatid, pwr_tDeltaTime.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_atadd"></a>pwrb:AtAdd</h4></div></div></div>
<p>Addition av en absoluttid och en deltatid.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_dtadd"></a>pwrb:DtAdd</h4></div></div></div>
<p>Addition av tv deltatider.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_atsub"></a>pwrb:AtSub</h4></div></div></div>
<p>Subtraktion av en absoluttid frn en absoluttid.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_dtsub"></a>pwrb:DtSub</h4></div></div></div>
<p>Subtraktion av en deltatid frn en deltatid.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_atdtsub"></a>pwrb:AtDtSub</h4></div></div></div>
<p>Subtraktion av en deltatid frn en absoluttid.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_ateq"></a>pwrb:AtEqual, pwrb:AtGreaterThan, pwrb:AtLessThan</h4></div></div></div>
<p>Jmfrelse av tv absoluttider.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_dteq"></a>pwrb:DtEqual, pwrb:DtGreaterThan, pwrb:DtLessThan</h4></div></div></div>
<p>Jmfrelse av tv deltatider.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_currenttime"></a>pwrb:CurrentTime</h4></div></div></div>
<p>Hmtar systemtiden.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_dttoa"></a>pwrb:DtToA, pwrb:AToDt</h4></div></div></div>
<p>Konverterar frn detatid till flyttal och vice versa.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_getatv"></a>pwrb:GetATv</h4></div></div></div>
<p>Hmta vrdet p en ATv.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_getdtv"></a>pwrb:GetDTv</h4></div></div></div>
<p>Hmta vrdet p en DTv.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_stoatv"></a>pwrb:StoATv</h4></div></div></div>
<p>Lagra ett vrde i en ATv.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_cstoatv"></a>pwrb:CStoATv</h4></div></div></div>
<p>Villkorlig lagring av ett vrde i en ATv.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_stodtv"></a>pwrb:StoDTv</h4></div></div></div>
<p>Lagra ett vrde i en DTv.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_cstodtv"></a>pwrb:CStoDTv</h4></div></div></div>
<p>Villkorlig lagring av ett vrde i en DTv.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_stoatp"></a>pwrb:StoATp</h4></div></div></div>
<p>Lagra ett vrde i ett absoluttids attribut.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_cstoatp"></a>pwrb:CStoATp</h4></div></div></div>
<p>Villkorlig lagring av ett vrde i ett absoluttids attribut.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_stodtp"></a>pwrb:StoDTp</h4></div></div></div>
<p>Lagra ett vrde i ett deltatids attribut.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_cstodtp"></a>pwrb:CStoDTv</h4></div></div></div>
<p>Villkorlig lagring av ett vrde i ett deltatids attribut.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_remoterack"></a>ssabox:Ssab_RemoteRack</h4></div></div></div>
<p>Konfigurering av PSS9000 remote rack.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_acc"></a>ABB_ACC800, ABB_ACC800Fo, ABB_ACC800Sim</h4></div></div></div>
<p>Styrning av motoraggregat som anvnder kran macrot i ASC800.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_accppo5"></a>ABB_ACC_PPO5</h4></div></div></div>
<p>Profibus modul till ABB_ACC800.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_acsslave"></a>ABB_ACS_Pb_Slave</h4></div></div></div>
<p>Profibus slav till ABB_ACS800.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_abbpbbase"></a>ABB_Sensor_Pb_PA, ABB_Sensor_Pb_PA_Fo</h4></div></div></div>
<p>Basklass fr ABB Profibus PA givare.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_abbpb"></a>ABB_TempSensor_TF12, ABB_DiffPressure_265G, ABB_FlowSensor_FXE4000</h4></div></div></div>
<p>Diverse ABB Profibus PA givare.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200"></a>Siemens_ET200S_IM151, Siemens_ET200M_IM153</h4></div></div></div>
<p>Profibus slav objekt fr ET200S IM151 resp ET200M IM153</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200mdi"></a>Siemens_ET200M_Di32, Siemens_ET200M_Di16, Siemens_ET200S_Di8</h4></div></div></div>
<p>Profibus modulobjekt fr ET200M digitala ingngsmoduler</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200mdo"></a>Siemens_ET200M_Do32, Siemens_ET200M_Do16, Siemens_ET200S_Do8</h4></div></div></div>
<p>Profibus modulobjekt fr ET200M digitala utgngsmoduler</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200mai"></a>Siemens_ET200M_Ai8, Siemens_ET200M_Ai4, Siemens_ET200S_Ai2</h4></div></div></div>
<p>Profibus modulobjekt fr ET200M analoga ingngsmoduler</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200mao"></a>Siemens_ET200M_Ao8, Siemens_ET200M_Ao4, Siemens_ET200S_Ao2</h4></div></div></div>
<p>Profibus modulobjekt fr ET200M analoga utgngsmoduler</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200sdi"></a>Siemens_ET200S_Di4, Siemens_ET200S_Di2</h4></div></div></div>
<p>Profibus modulobjekt fr ET200S digitala ingngsmoduler</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200sdo"></a>Siemens_ET200S_Do4, Siemens_ET200S_Do2</h4></div></div></div>
<p>Profibus modulobjekt fr ET200S digitala utgngsmoduler</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200sai"></a>Siemens_ET200S_Ai2</h4></div></div></div>
<p>Profibus modulobjekt fr ET200S analoga ingngsmoduler</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_new_et200sao"></a>Siemens_ET200S_Ao2</h4></div></div></div>
<p>Profibus modulobjekt fr ET200S analoga utgngsmoduler</p>
</div>
</div>
</div>
</div>
<div class="chapter" lang="sv"><div class="titlepage"><div><div><h2 class="title"><a name="upgradev42_chascript"></a>Kapitel 3. Uppgraderings procedur</h2></div></div></div><div class="toc"><p><b>Innehllsfrteckning</b></p><dl><dt><span class="section"><a href="#upgradev42_upgr">3.1. Procedur fr uppgradering</a></span></dt><dd><dl><dt><span class="section"><a href="#upgradev42_copyproj">3.1.1. Ta en kopia av projektet</a></span></dt><dt><span class="section"><a href="#upgradev42_up_">3.1.2. upgrade.sh</a></span></dt></dl></dd></dl></div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="upgradev42_upgr"></a>3.1. Procedur fr uppgradering</h2></div></div></div><div class="toc"><dl><dt><span class="section"><a href="#upgradev42_copyproj">3.1.1. Ta en kopia av projektet</a></span></dt><dt><span class="section"><a href="#upgradev42_up_">3.1.2. upgrade.sh</a></span></dt></dl></div>
<p>Uppgraderingen mste gras frn V4.1.3. Om projektet ligger p en tidigare version mste
uppgraderingen ske stegvis enligt fljande schema
<span class="classname">V2.1 -&gt; V2.7b -&gt; V3.0 -&gt; V3.3 -&gt; V3.4b -&gt; V4.0.0 -&gt; V4.1.3 -&gt; V4.2.0</span></p>
<p>Uppgraderingen grs i tv steg:
</p><div class="itemizedlist"><ul type="disc"><li><p>Ta en kopia av projektet</p></li><li><p>Exekvera upgrade.sh</p></li></ul></div><p>
</p>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_copyproj"></a>3.1.1. Ta en kopia av projektet</h3></div></div></div>
<p>Gr <code class="sgmltag-element">sdf</code> till projektet och starta administratren.</p>
<code class="prompt">&gt; </code><strong class="userinput"><code><span><strong class="command">pwra</strong></span></code></strong>
<p>Nu ppnas projektlistan. G in i editmode, logga in som adminstratr om du saknar behrighet.
Leta upp aktuellt projekt, vlj <code class="sgmltag-element">Copy Project</code> frn
ProjectReg objektets popupmeny. ppna kopian och ange ett lmpligt projektnamn och
path. ndra versionen till V4.2.0. Spara drefter och g ur administratren.
</p>
<p>Gr sdf till projectet.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h3 class="title"><a name="upgradev42_up_"></a>3.1.2. upgrade.sh</h3></div></div></div>
<p>upgrade.sh r ett skript som r uppdelat p ett antal olika pass. Efter varje pass fr
man ange att man vill fortstta med nsta pass.</p>
<p>Starta scriptet med </p>
<code class="prompt">&gt; </code><strong class="userinput"><code><code class="filename">upgrade.sh</code></code></strong>
<p>och kr igenom de olika passen.</p>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_dumpdb"></a>dumpdb</h4></div></div></div>
<p>Gr igenom alla databaser och dumpar varje volym i en egen dumpfil.
Dumpfilen fr respektive volyme lggs i <code class="filename">$pwrp_db/'volumename'.wb_dmp</code>
</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_classvolumes"></a>classvolumes</h4></div></div></div>
<p>Skapar laddatafiler och structfiler fr klassvolymerna.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_renamedb"></a>renamedb</h4></div></div></div>
<p>Sparar undan de gamla databaserna med namnet <code class="filename">$pwrp_db/'volumename'.db.1</code>.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_dirvolume"></a>dirvolume</h4></div></div></div>
<p>Skapar en directory databas och laddar in dumpfilen fr projektvolymen i denna.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_loaddb"></a>loaddb</h4></div></div></div>
<p>Skapar databaser och laddar in dumpfilerna i dem.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_compile"></a>compile</h4></div></div></div>
<p>Kompilerar om samtliga plcprogram.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_createload"></a>createload</h4></div></div></div>
<p>Skapar laddatafiler fr rotvolymer.</p>
</div>
<div class="section" lang="sv"><div class="titlepage"><div><div><h4 class="title"><a name="upgradev42_up_createboot"></a>createboot</h4></div></div></div>
<p>Skapar bootfiler fr alla noder i projektet.</p>
</div>
<p>Nu terstr att bygga eventuella applikationer. Detta fr man gra fr hand.</p>
<p>Rensa bort filer frn uppgraderingen:</p>
<p><code class="filename">$pwrp_db/*.wb_dmp.*</code></p>
<p><code class="filename">$pwrp_db/*.db.1</code> (V4.1 databaser, filkataloger vars innehll ven tas bort)</p>
</div>
</div>
</div>
</div></body></html>
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