
B–61863E–1/06
3. DATA CONTROL FUNCTION
PMC CONTROL SOFTWARE
121
By using the NC window function (pl_nc_windr(), pl_nc_windw()), a
window data between PMC and NC can be read and written.
(1) Data read from NC
Function No. Description Type *1
13 Reads tool offset value Low
15 Reads workpiece origin offset High
17 Reads parameter data and reads setting data Low
21 Reads custom macro variables Low
23 Reads CNC alarm information Low
24 Reads the executing program number Low
25 Reads the executing sequence number Low
26 Reads the actual speed of the controlled axis Low
27 Reads absolute position of the controlled axis High
28 Reads the machine coordinates of the controlled axis High
29 Reads the skip position of the controlled axis Low
30 Reads the servo delay of the controlled axis High
31 Reads the acceleration/deceleration delay High
32 Reads modal data Low
33 Reads diagnostic data Low
34 Reads the load current of feed motor and A/D conver-
sion data
High
38 Reads tool life management data (tool group numbers) Low
39 Reads tool life management data (number of tool
group)
Low
40 Reads tool life management data (number of tools) Low
41 Reads tool life management data (tool life) Low
42 Reads tool life management data (tool life counter) Low
160 Reads tool life management data (tool life counter type) Low
43 Reads tool life management data (tool length com-
pensation No.1: tool No.)
Low
44 Reads tool life management data (tool length com-
pensation No.2: tool use order)
Low
45 Reads tool life management data (cutter compensation
No.1: tool No.)
Low
46 Reads tool life management data (cutter compensation
No.2: tool use order)
Low
47 Reads tool life management data (tool information
No.1: tool No.)
Low
48 Reads tool life management data (tool information
No.2: tool use order)
Low
49 Reads tool life management data (tool No.) Low
151 Reads clock data Low
74 Reads the relative position of the controlled axis. High
75 Reads the remaining travel of the controlled axis. High
211 Reads the estimate disturbance torque data High
178 Reads the machining time. Low
153 Reads the load current for the spindle motor High
213 Reads tool offset data according to specified tool num-
ber.
Low
212 Reads pulse count module data. High
200 Reads tool life management data (tool group num-
bers)(for tool number 8–digits)
Low
227 Reads tool life management data (tool length com-
pensation No.1: tool No.) (for tool number 8–digits)
Low
228 Reads tool life management data (cutter compensation
No.1: tool No.) (for tool number 8–digits)
Low
201 Reads tool life management data (tool information
No.1: tool No.) (for tool number 8–digits)
Low
321 Reads real type data in NC parameter Low
3.3.5
NC Window