Mitsubishi Electric Q Series Programming Manual page 434

Motion controller
Hide thumbs Also See for Q Series:
Table of Contents

Advertisement

7 AUXILIARY AND APPLIED FUNCTIONS
[Program Example]
Program for simultaneous start of JOG operations are shown as the following
conditions.
(1) System configuration
JOG operation for Axis 1 and Axis 2.
Q61P Q02H
Q172H
CPU
CPU
AMP
Axis
1
(2) JOG operation conditions
(a) JOG operation conditions are shown below.
Item
Axis No.
JOG operation speed
(b) JOG operation command ...... During PX000 ON
(3) Motion program
O0100
SET #M2042; All axes servo ON command turns on.
N10 IF[[ON #M2415] AND [ON #M2435]] GOTO 20; Wait until axis 1 and axis 2 servo ON.
GOTO 10;
N20 IF[ON #X000] THEN 1
#D710 = 2;
#D712 = 1;
#D640L = 150000;
#D642L = 150000;
SET #M2048;
ELSE 1;
RST #M2048;
END 1;
GOTO 20;
M02;
%
(Note) : Control program O0100 is started by automatically start, CALL, GOSUB, GOSUBE or
SFCS instruction of the PLC program.
Motion CPU control module
Q172
QX41
LX
AMP
AMP
Axis
Axis
2
3
M
M
M
JOG operation conditions
Axis 1
150000
7 - 61
JOG operation command (PX000)
AMP
Axis
4
M
Axis 2
150000

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173hcpuQ172hcpu

Table of Contents