
4. CONVERSATIONAL MACRO FUNCTION
B–62073E–2/03
84
Data can be read from the A/D converter by conversational macro.
The following items are A/D conversion data which can be read.
General purpose analog input
Analog input in which load current of spindle has been converted to
voltage
Analog input in which load current of NC control axis has been
converted to voltage
In A/D conversion, if the necessary data is set to #8997, #8998 and the
read operation for #8999 is performed by conversational macro program,
at that point the A/D conversion data of each channel will be inputted.
Further, the information of whether or not the read operation to #8996
ended normally will be set. (0 if normal end, –1 if abnormal end)
Reference system and information I.D. No. list
ID No. ID No.
Connector
(#8997) (#8998)
Connecting line OV
400 1
2
CA8(18)
CA8(7)
(19)
(20)
General purpose analog
input
401 1
2
01P1E/CA1(5)
01P26/CA1(5)
(18)
(18)
Analog input in which
spindle load current has
been converted to voltage
402 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Conversion value of load
current of NC control axis
to voltage
A/D conversion data is data in which the –10V to +10V inputted to the
NC A/D converter has been converted to a 0 to +255 digital value.
The digital value becomes the value of the ratio –10V to 0, 0V to 128,
+10V to 255.
The relationship between AC servo motor load current and calculated
voltage of the NC control axis is as follows. Voltage indicates load which
shows a positive voltage, but if the rotation direction of the AC servo
motor changes, a negative voltage will be inputted. In that case, the rating
and converted digital value change to the value shown inside ( ).
4.5.17
A/D Converter Data
Reading by
Conversational Macro