
B–61863E/15
C. WINDOW FUNCTION DESCRIPTION
(PMC–NB/NB2/NB6)
APPENDIX
1375
(1) See the description of the window function. The data item marked
with a dash (–) in the description of the data structure need not be
entered.
(2) The length of all data blocks and data items is represented in bytes.
(3) The read data becomes valid only when the instruction terminates
normally.
Completion
code
Meaning
–10 The window instruction is being processed. Hold ACT until W1
is set to 1.
0 The instruction terminated normally.
1 An error occurred. The corresponding function number is not
found.
2 An error occurred. Possible causes include the following:
Wrong data is found in the CTL area. The NC does not have the
corresponding function.
3 An error occurred. The specified axis is not provided.
5 An error occurred. It is a mistake of data form. Though the
function supports only a new format, a old format is specified.
[Description]
The tool offset value (tool compensation) is read from the CNC.
0
Function code
13
Completion code
—
Data length
—
Offset number
Offset format
Data area
(4 byte)
2
4
6
8
10
Set data
14
0
2
4
6
8
10
Read data
14
Function code
13
Completion code
Data length
4
Offset number
Offset format
Tool offset value
(4 byte)
C.3
FORMAT AND
DETAILS OF THE
CONTROL DATA OF
THE WINDR
FUNCTIONAL
INSTRUCTION
C.3.1
Reading a Tool Offset
(Low–speed Response)