
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
11/32
DRAW.NO.
3.1.3 Reading a P-CODE Macro Variable (High-speed Response)
[Description]
Using this function, you can read a P-CODE variable or an extended
P-CODE variable for macro executor.
P-CODE variables #10000 to #19999
Extended P-CODE variables #20000 to #89999
For details of the P-CODE variables and extended P-CODE variables,
refer to the following manual.
- "Macro Compiler / Macro Executor PROGRAMMING MANUAL
(B-63943EN-2)"
[Input data structure]
Top Address +0 (Function code)
59
+2 (Completion code)
-
(Need not to be set)
+4 (Data length)
-
(Need not to be set)
+6 (Data number)
N
(4 bytes)
N: P-CODE variable number
Signed binary format in 4 bytes length (note)
+10 (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
+12
+17
(Data)
-
(Need not to be set)
NOTE
The data length is 4 bytes instead of 2 bytes.
[Completion codes]
0: Completed successfully
3: The data number is invalid.
4: The mantissa is out of range.