Mitsubishi Electronics Q173HCPU/Q172HCPU Work Light User Manual


 
6 - 3
6 MOTION PROGRAMS FOR POSITIONING CONTROL
(3) Motion program
A machine operation is commanded by several collection of blocks in the Motion
program.
<Motion program composition>
00001 O100; 1) Motion program No.
00002 N10 G91 G00;
00003 G28 X0. Y0. ;
00004 X250. ;
00005 N20 M20;
00006 X-50. Y120. ;
00007 N30 G01 X25. F500. ; 2) Program block
• •
• •
• •
00020 N80 M21;
00021 M02;
00022 % Indicates a program end.
3) Line number
1) Motion program No. ··············· Number specified in a PLC program.
It can be set alphabet "O" and any number of 1
to 1024.
2) Program block ························ Consists of multiple program blocks necessary
for motion operations in control order.
3) Line number ··························· Automatically displayed in serial number when
a Motion program is created by the peripheral
device.
POINT
Up to 1024 Motion programs are stored in a memory in Motion controller (SV43).
These Motion programs are managed in a Motion program No..