
B–62073E–2/03
A.MACRO PROGRAM EXAMPLE
143
(1) O0001 explanation
0030 G202 P3
Screen deletion
P1 : Character screen
P2 : Graphic screen
P3 : Character and graphic screens
004 0 G230 L0
Cursor control
L0 : Cursor OFF
L1 : Cursor ON cursor length 1
0050 G243 X0 Y0 A1 B0 (SAMPLE PROGRAM)
0060 X2 Y3 ()
Displays character row on screen
G243 : Character display
X0 : X axis display start position
Y0 : Y axis display start position
A1 : Character size
(A1: Same size, A3: Triple)
() : Characters enclosed in parantheses are displayed on
the screen.
Note
Parentheses in the NC programming can be used as
comment in the control IN/OUT function, but in the
conversational macro comment cannot be used because of
signifi–cance of display data.
0110 #8509 = 0033
0120 #143 = 300
0130 M98 P0011
Characters corresponding to sequence numbers using G234XYP
sequence numbers can be displayed by character registered program
control variable.
Sets program number including sequence number by #8509.
#143 uses common variables as sequence number offset.
Displays menu corresponding to software keys by software keys by
O0011.
0140 N001 #142 = #8501
#8501 is a variable to set acceptance of such as cursor key/page
key/shift key/edit key/input key by input key variable, but it shunts
data to #142 because (0) is cleared if once read.
A.5
PROGRAM
EXPLANATION