
B-63983EN/02 5.WINDOW FUNCTIONS
- 505 -
5.5.12 Reading Actual Spindle Speeds (High-speed Response)
(1) Actual spindle speed
[Description]
This function reads the actual speed of the 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
-
4: Read spindles on No.1 to No.5 axes
-5: Read spindles on No.1 to No.6 axes
-
6: Read spindles on No.1 to No.7 axes
-
7: Read spindles on No.1 to No.8 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).