
B–61803E–1/10
A. MACRO PROGRAM EXAMPLE
APPENDIX
225
On the screen with no cursor, set #100 to ”0”
(1) DDPL O9501
1. Function
This function displays the input data variable (KDATA value) in
the position deviated in the X-direction by ”CINT” from the
cursor position.
2. Calling format
#140= f (F) : Total digits and digits under decimal point
#141= z (Z) : Reading zero
M98 P9501
f and z are the values commanded by G243.
3. Remark
When this routine is executed , the cursor display position
advances by one.
#140 and #141 values are saved.
(2) CDPL O9502
1. Function
This function displays the cursor.
The cursor position is determined by #100 - #105 and #10000-
values.
2. Calling format
#140=n
M98 P9502
n= 0 : No cursor pointer changes.
1 : The cursor pointer is advanced by one, displaying the
cursor.
2 : The cursor pointer is retracted by one, displaying the
cursor.
3. Remark
After this routine is executed, the #140 value is saved.
(3) KEYIN O9503
1. Function
This function accepts key input of numerical data, executing the
following processing with its value.
(a) Cursor key
# : Moves the cursor forward by one.
" : Moves the cursor backward by one.
(b) Other than the cursor key
#8501 and #8503 values are saved.
#102(KCONT) z#8501
#103(KDATA) z#8503
2. Calling format
M98 P9503