Writing 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

Various Interface Signals (A2)
1.6 NC services
Relevant interface signals
Job,
global part
Job,
variable-specific
part
Job,
global part
Result,
variable-specific
part
1.6.1.4

Writing variables from the NCK area

1 to 8 values can be written with a write 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 values to be written must be entered in the range 120x 1008...11 in the data type
specific for the appropriate variable.
If necessary, the values are converted (e.g. NCL floating-point values (64-bit) into the PLC
format (32-bit) and vice versa). A loss of accuracy results from the conversion from 64-bit to
32bit REAL. The maximum accuracy of 32bit REAL numbers is approximately 10
34
Address
Name
V1200 0000.0
Start
V1200 0000.1
Write variable
V1200 0000.2
PI service
VB1200 0001
Number of variables
VB120x 1000
Variable index
VB120x 1001
Area number
VB120x 1002
Line index, NCK variable
VB120x 1004
Column index, NCK variable
V1200 2000.0
Request completed
V1200 2000.1
Error in job
V120x 3000.0
Invalid variable
VB120x 3001
Access result
VB120x 3004/
Value of NCK variable, data type
VW120x 3004/
depends on variable index
VD120x 3004
Turning, Milling, Nibbling
Function Manual, 11/2012, 6FC5397-1CP10-5BA0
Valid values
0/1
0
0
1 ... 8
See Section
NC variable
0/1
0/1
0/1
0/3/5/10
See Section
NC variable
.
7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents