Reading Variables From The Nck Area - Siemens SINUMERIK 802D sl Function Manual

Turning, milling, nibbling
Hide thumbs Also See for SINUMERIK 802D sl:
Table of Contents

Advertisement

1.6.1.3

Reading variables from the NCK area

1 to 8 values can be read with a read job (variable x: 0...7). There is a variable-specific part
of the interface for this:
● Job: V120x 1000
● Result: V120x 3000
Job, variable-specific part
NC variable:
The NC variable is selected in the variable index (VB120x 1000), see Section: NC variable
Area number, column / line index (VB120x 1001 ... VB120x 1005)
Various variables are declared as fields. For flexible addressing, the relevant field index must
be specified as a column and/or line index (e.g. R parameter no.).
Values:
The range 120x 1008 ... 11 is not relevant for reading.
Result, variable-specific part
A result is reported for each variable in the job.
If the read process was successful, "Variable valid" (V120x 3000.0) is set to 1; the access
result VB120x 3001 is 0.
When reading, the data from VB120x 3004 are entered type-specifically.
In case of error, V120x 3000.0 remains "0", and an entry is made in the access result
VB120x 3001:
● 0: No error
● 3: Illegal access to object
● 5: Invalid address
● 10: Object does not exist
Values:
When reading, the read data are in the range 120x 3004...7, in the data type specific for the
respective variable (if required, the values are converted from 64-bit to32-bit REAL).
Turning, Milling, Nibbling
Function Manual, 11/2012, 6FC5397-1CP10-5BA0
Various Interface Signals (A2)
1.6 NC services
33

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents