8.5 CREATING
PROGRAMS
8.5.1 INPUT OF PROGRAMS FROM CRT CONTROL STATION
Input
the program
No. first
and
then
the program.
Refer
to Par.
7.5.
(Example)
0 1 2 3 4 •
PRO(3RAM
Fig. 8.16
8.5.2
INPUT
OF PROGRAMS
FROM PERSONAL
COMPUTER
Input the program
No. after "%" and then the program.
(Example)
0 1 2 3 4 •
PRO'GRAM
.
t
Fig. 8.17
When storing a program
from the personal
computer
into the memory
of motion
module, the program
is stored from %to %. Therefore,
the omission
of first % and last %
is not permitted.
8.5.3
EXAMPLES
OF PROGRAMS
)
HEAD OF PROGRAM
(Required
when creating
a program)
%; _or
personal computer.
!
.END
OF BLOCK
.IO
1
3 4 :
S
( [CR}
is used for personal
computer.)
NO
01
G92
X0
YO
Z0:
PROGRAMNO.
NO
0 2
C00
XI00.0 Y200.0 Z2300.0:
(Always necessarY')
SPACE CODE
'Space
code can be entered by
NO
O3
TI3;
personal
computer,
but is ignored
by Motionpack-lOO.
Internally,
one character
Of memory
SEQUENCE
NO. - pN
0
t 0
X 0
Y 0
Z 0 ;
is used.
M30 ;
(%;)
_'-EFFECTIVE
RANGE
END OF PROGRAM
FOR PROGRAM
_'Required
when creating
a program_
_or personat computer.
,)
Fig. 8.18 Program
ExampleA
161