
C. WINDOW FUNCTION DESCRIPTION
(PMC–NB/NB2/NB6)
B–61863E/15
APPENDIX
1412
[Description]
The load current for the spindle (spindle motor) is converted to a digital
value and the digital value is read. (See Subsection C.3.16, ”Reading the
Load Current (A/D Conversion Data) for the Feed Motor.”)
0
Function code
153
Completion code
—
Data length
—
Data number
0
Axis number
(1 to n)
Data area
(2 byte)
2
4
6
8
10
Set data
0
2
4
6
8
10
Read data
Function code
153
Completion code
Data length
2
Data number
Axis number
(1 to n)
A/D conversion data
(2 byte)
12 12
The 15B supports
two spindles, while
the 15iA supports
four spindles.
[Hardware]
When general analog input data is read, one of the following hardware
items is required:
1 Sub–CPU board
2 Analog I/O module on the additional axis board
With a serial spindle, however, the hardware described above is not
required if CNC software of mass production version IV or later is used.
For the relationship between input numbers and connectors, refer to the
connection manual.
[NC parameters]
When this function is used, the NC parameters listed below must be set.
For details, refer to the parameter descriptions.
1 Bit 6 of parameter No. 1810 = 0 (A/D conversion is performed.)
2 Bit 0 of parameter No. 1811 = 1
(A/D conversion data is output in high–speed mode.)
C.3.35
Reading the Load
Current (A/D
Conversion Data) for
the Spindle Motor