update docu

This commit is contained in:
2018-07-26 15:09:11 +02:00
parent 170298b123
commit cd0ab98602
3 changed files with 6 additions and 12 deletions

View File

@ -31,7 +31,7 @@ written or read value.
<dt>LONG format (e.g. <code>%i</code>):</dt>
<dd>
<u>Output:</u> <code><i>x</i>=RVAL</code><br>
<u>Input:</u> <code>RBV=<i>x</i></code><br>
<u>Input:</u> <code>RBV=RVAL=<i>x</i></code><br>
Note that the record calculates
<code>RVAL=(((OVAL-EOFF)/ESLO)-AOFF)/ASLO</code> if
<code>LINR=="LINEAR"</code>. <code>ESLO</code> and <code>EOFF</code>
@ -63,8 +63,6 @@ written or read value.
present. In contrast to normal operation, output in DOUBLE format uses
<code>VAL</code> instead of <code>OVAL</code>. Note that the record
initializes <code>VAL</code> from <code>DOL</code> if that is a constant.
LONG input is put to <code>RVAL</code> as well as to <code>RBV</code> and
converted by the record.
</p>
<footer>

View File

@ -33,11 +33,11 @@ written or read value.
Note that the record calculates <code>RVAL</code> by choosing one of
<code>ZRVL</code> ... <code>FFVL</code> depending on <code>VAL</code>
and by shifting it left by <code>SHFT</code> bits.<br>
<u>Input:</u> <code>RBV=<i>x</i>&amp;MASK</code><br>
<u>Input:</u> <code>RBV=RVAL=<i>x</i>&amp;MASK</code><br>
<code>MASK</code> is initialized to <code>NOBT</code> 1-bits shifted
left by <code>SHFT</code>. If <code>MASK==0</code> (because
<code>NOBT</code> was not set) it is ignored, i.e.
<code><i>x</i>=RVAL</code> and <code>RBV=<i>x</i></code>.
<code><i>x</i>=RVAL</code> and <code>RBV=RVAL=<i>x</i></code>.
</dd>
<dt>If none of <code>ZRVL</code> ... <code>FFVL</code> is set
(all are <code>0</code>):</dt>
@ -66,9 +66,7 @@ written or read value.
<h2>Initialization</h2>
<p>
During <a href="processing.html#init">initialization</a>, the <code>@init</code> handler is executed, if
present. In contrast to normal operation, LONG input is put to
<code>RVAL</code> as well as to <code>RBV</code> and converted by the
record.
present.
</p>
<footer>

View File

@ -34,7 +34,7 @@ written or read value.
<dt>If <code>MASK!=0</code>:</dt>
<dd>
<u>Output:</u> <code><i>x</i>=RVAL&amp;MASK</code><br>
<u>Input:</u> <code>RBV=<i>x</i>&amp;MASK</code><br>
<u>Input:</u> <code>RBV=RVAL=<i>x</i>&amp;MASK</code><br>
</dd>
</dl>
<code>MASK</code> is initialized to <code>NOBT</code> 1-bits shifted
@ -53,9 +53,7 @@ written or read value.
<h2>Initialization</h2>
<p>
During <a href="processing.html#init">initialization</a>, the <code>@init</code> handler is executed, if
present. In contrast to normal operation, input is put to
<code>RVAL</code> as well as to <code>RBV</code> and converted by the
record if <code>MASK!=0</code>.
present.
</p>
<footer>