EasyManua.ls Logo

Mitsubishi Electric Q172CPU - Page 515

Mitsubishi Electric Q172CPU
634 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
8 - 68
8 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
CPU
Q172
CPU
(N)
Q172
LX
QX41
JOG operation command (PX000)
MM MM
Motion CPU control module
Axis
4
Axis
1
Axis
2
Axis
3
AMP AMP AMP AMP
(2) JOG operation conditions
(a) JOG operation conditions are shown below.
Item JOG operation conditions
Axis No. Axis 1 Axis 2
JOG operation speed 150000 150000
(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.

Table of Contents

Other manuals for Mitsubishi Electric Q172CPU

Related product manuals