Mitsubishi Electric Q172CPU Programming Manual page 117

Melsecq series motion controller sv43
Hide thumbs Also See for Q172CPU:
Table of Contents

Advertisement

4 MOTION DEDICATED PLC INSTRUCTION
[Program example]
(1) Program which requests to start the Motion program (Axis designation program) No.10
M100
(2) Program which requests to start the Motion program (Axis designation program) No.20,
Sequence program (PLC CPU side)
M100
M0
Motion program (Motion CPU side)
Set the data in the data register of "No. specified with SVST instruction - 10000".
O0015;
D2000 = 20; Motion program No.
D2001 = 100; Sequence No.
D2002 = 30; Parameter block No.
toward axis No.1 and No.2 of the Motion CPU No.4. from the PLC CPU No.1.
To self CPU
Start accept flag
high speed
of the axis No.1
interrupt accept
(CPU No.4)
flag from CPU
U3E3
U3E3
\G516.0
\G48.0
M0
M1
M1
sequence No. 100 and parameter block No.30 toward axis No.1 and No.2 of the Motion
CPU No.4 by indirect setting from the PLC CPU No.1.
Start accept flag
To self CPU
of the axis No.1
high speed
(CPU No.4)
interrupt accept
U3E3
flag from CPU
\G516.0
U3E3
\G48.0
M1
M1
Start accept flag
of the axis No.2
(CPU No.4)
U3E3
\G516.1
SP.SVST
H3E3
"J1J2"
K10
Normal complete program
Abnormal complete program
Start accept flag
of the axis No.2
(CPU No.4)
U3E3
\G516.1
S P .SVST
H3E3
"J1J2"
K12000 M0
Normal complete program
Abnormal complete program
4 - 18
M0
D0
RST
M100
D0
RST
M100

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q173cpuQ172cpunQ173cpun

Table of Contents