
B–61863E/15
B. WINDOW FUNCTION DESCRIPTION
(PMC–PA1/PA3/SA1/SA2/SA3/SA5/SB/
SB2/SB3/SB4/SB5/SB6/SB7/SC/SC3/SC4)
APPENDIX
1301
(1)Actual spindle speed
[Description]
This function reads the actual speed of the No.1 to No.4 serial spindles.
[Input data structure]
Top address +0
+2
+4
+6
+8
+10
(Function code)
138
(Completion code)
–
(Need not be set)
(Data length)
–
(Need not be set)
(Data number)
0
(Data attribute)
M
(M=Spindle number)
(Data area)
–
(Need not be set)
M=1 to n : Read spindles on each axis.
(n is the spindle number.)
–1 : Read spindles on No.1 and No.2 axes
–2 : Read spindles on No.1 to No.3 axes
–3 : Read spindles on No.1 to No.4 axes
[Completion codes]
0: The actual spindle speed was read successfully.
4: The spindle speed in ’Data Attribute’ has wrong values, that is ,
a value outside of the range –1 to –(n–1) or 1 to n (n: number of
spindles).
B.4.72
Reading Actual Spindle
Speeds