Download Print this page

HEIDENHAIN MANUALplus 620 Technical Manual page 1648

Hide thumbs Also See for MANUALplus 620:

Advertisement

1648
Module 9454 Update binary data in the result set of a query
Module 9454 reads binary data from a number of successive DWORDs. These
data are used to update the current record in the result set. If the cursor is at
the end of the result set, a new record is added. There must already be a
transaction open whose transaction handle is given to the module. The values
are read from a number of successive DWORDs. The index of the first
DWORD and the number of DWORDs are given to the module.
Data in a column of the type
SIGN are converted to 0 or –1.
BOOL are converted to 0 (FALSE) or +1 (TRUE).
INDEX are each converted to a DWORD.
REAL are converted to a DWORD by shifting the decimal separator to the
right according to the maximum number of places.
For example, if the value 10.5 is in the table, Module 9453 supplies the value
105000.
LENGTH and FEED are converted to a DWORD.
Measurements in INCH are converted to metric units.
The modifications to the table are buffered until the transaction is committed.
Constraints:
The module can only be executed within a submit job.
There must already be a result set before Module 9454 can be used.
Possible errors:
The module was not called in a submit job
No transaction was opened for the given handle
The given number of DWORDS does not match the number of values
The given range does not fit into the available memory
At least one transferred value is outside the valid range
Call:
PS
B/W/D/K <Transaction handle>
PS
B/W/D/K <Index of the first DWORD in which the control reads the
values>
PS
B/W/D/K <Number of DWORDs with values>
CM
9453
PL
B/W/D
<Error number>
For the meaning of the error number, see "Return codes of
PLC Modules 9440 to 9459 (error stack)" on page 1652.
Error recognition:
Marker
Value
NN_GenApiModule
0
Error
1
Meaning
Data were updated or inserted
Error. See <Error number>
HEIDENHAIN Technical Manual MANUALplus 620

Advertisement

loading