
Various Interface Signals (A2)
1.6 NC services
Turning, Milling, Nibbling
34
Function Manual, 11/2012, 6FC5397-1CP10-5BA0
Relevant interface signals
Address
Name
Valid values
V1200 0000.0
Start
0/1
V1200 0000.1
Write variable
0
V1200 0000.2
PI service
0
Job,
global part
VB1200 0001
Number of variables
1 ... 8
VB120x 1000
Variable index
VB120x 1001
Area number
VB120x 1002
Line index, NCK variable
Job,
variable-specific
part
VB120x 1004
Column index, NCK variable
See Section
NC variable
V1200 2000.0
Request completed
0/1
Job,
global part
V1200 2000.1
Error in job
0/1
V120x 3000.0
Invalid variable
0/1
VB120x 3001
Access result
0/3/5/10
Result,
variable-specific
part
VB120x 3004/
VW120x 3004/
VD120x 3004
Value of NCK variable, data type
depends on variable index
See Section
NC variable
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
7
.