Download Print this page

HEIDENHAIN MANUALplus 620 Technical Manual page 1644

Hide thumbs Also See for MANUALplus 620:

Advertisement

1644
Module 9450 Execute an SQL statement
Module 9450 executes the SQL statement that is given to the module. For a
description of the supported SQL statements, see "SQL commands" on page
1628. This module may not be used to open a transaction (such as via a
SELECT statement).
If the statement contains a string :'Bnnn' or :'Wnnn' or :'Dnnn' (with nnn
reading as number from 0 to the maximal number of BYTEs, WORDs or
DWORDs respectively), this string is replaced by the integer value found in the
associated PLC data.
Constraints:
The module can only be executed within a submit job.
Possible errors:
The module was not called in a submit job
The statement is syntactically not correct
The table given does not exist, is not accessible or is fully or partially locked
The columns given do not exist within the table
Call:
PS
B/W/D/K/S<Valid SQL statement>
CM
9450
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
Statement was successfully executed
Error. See <Error number>
HEIDENHAIN Technical Manual MANUALplus 620

Advertisement

loading