
Series 30i/31i/32i-MODEL A
PMC Supplemental Programming Manual
01 '05.12.26
H. Yonekura
New registration
B-63983EN/02-8
EDIT
DATE
DESIG.
DESCRIPTION
6/32
DRAW.NO.
3.1 CNC INFORMATION
3.1.1 Reading a Custom Macro Variable (High-speed Response)
[Description]
Using this function, you can read a common variable of custom macro
variables. You cannot read a local variable and a system variable.
Common variables
Without custom macro common variable addition option
#100-#149, #500-#549
With custom macro common variable addition option
#100-#199, #500-#999
For details of the custom macro variables, refer to the following manual.
- "Common to Lathe System / Machining Center System USER'S
MANUAL (B-63944EN)"
[Input data structure]
Top Address +0 (Function code)
21
+2 (Completion code)
-
(Need not to be set)
+4 (Data length)
-
(Need not to be set)
+6 (Data number)
N
N: Custom macro variable number
+8 (Data attribute)
M
(M=Number of decimal
places)
M=0: No specifying number of decimal places
M=1 to 8: Specifying number of decimal places
+10 (Data)
-
(Need not to be set)
[Completion codes]
0: Completed successfully
1: No option for custom macro variables
3: The data number is invalid.
4: The mantissa is out of range.