EasyManua.ls Logo

Mitsubishi Electric Q173DSCPU - Page 123

Mitsubishi Electric Q173DSCPU
556 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...
3 - 12
3 MOTION DEDICATED PLC INSTRUCTION
[Program example]
Normal complete program
Instruction
execution
command
"J1J2" K10
RST M0
M0
Instruction
execution
command
DP.SVST
Instruction
execution
command
H3E1 D100
RST M0
M0
Instruction
execution
command
K10 M100
Complete
device
M100
Abnormal complete program
M101
M101
Start accept
flag of CPU
No.2(Axis 1)
U3E1
\G516.0
Start accept
flag of CPU
No.2(Axis 2)
U3E1
\G516.1
DP.SVST H3E1
Start accept
flag of CPU
No.2(Axis 1)
U3E1
\G516.0
U3E1
\G516.1
"J1J2"
Start accept
flag of CPU
No.2(Axis 2)
<Example 2> Program which uses the complete device and complete status.
(1) Program which requests to start of the servo program No.10 toward Axis 1, Axis 2 of the
Motion CPU (CPU No.2), when M0 turned ON.
<Example 1> Program which omits the complete device and complete status.
DP.SVST
Instruction
execution
command
H3E1 D100
SET M10
X0
K11 M100
Complete
device
M100
Start accept
flag of CPU
No.2(Axis 1)
U3E1
\G516.0
"J1"
M10
Interlock
Interlock
RST M10
Interlock
(
2
)
Pro
g
ram which executes continuous start of the servo pro
g
ram No.11 toward Axis 1 of the
Motion CPU (CPU No.2), while X0 is ON.
Instruction
execution
command
M0
RST M0
Instruction
execution
command
Start accept
flag of CPU
No.2(Axis 1)
U3E1
\G516.0
"J1" K10
DP.SVST
H3E1
"J2" K20
DP.SVST
H3E1
Start accept
flag of CPU
No.2(Axis 2)
U3E1
\G516.1
(3) Program which continuously executes the servo program No.10 toward Axis 1 of the Motion
CPU (CPU No.2) and the servo program No.20 toward Axis 2, when M0 turned ON.

Table of Contents

Related product manuals