Mitsubishi Electronics Q173HCPU/Q172HCPU Work Light User Manual


 
6 - 161
6 MOTION PROGRAMS FOR POSITIONING CONTROL
6.16.21 Program start (CALL)
Code CALL
Function Program start
The specified control program or axis designation program is
started.
Format
A L
C
LJX p;JYJZJUJ
V
JWJAJB P
J+starting axis name.
Eight or less can be specified.
Motion program No. (1 to 1024)
(Indirect setting is possible)
[Explanation]
(1) Other control programs or axis designation programs are started from the control
program.
(2) Do not set the axis and parameter block No. to start the control programs.
(3) Set the axis name used by the axis designation program to start the axis
designation program.
(4) As for set program No."Pn" and parameter block No."PBn", indirect setting by #@
or D (word data) is also possible. In this case, sequence No. can be specified as
follows.
[Control program start]
CALL P#D2010 ;
D2010 : Program No.
D2011 : Sequence No.
[Axis designation program start]
CALL JXJY P#D2010 ;
D2010 : Program No.
D2011 : Sequence No.
D2012 : Parameter block No.
(5) This instruction cannot be used in the axis designation program.
(6) When the program No. of axis designation program is specified directly, the
parameter block No. is started as the default value (PB1).
(7) After the control program and axis designation program are started, the next block
is executed without waiting the end of started program.