Mitsubishi Electric R16MTCPU Programming Manual page 40

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

Program example
■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.
U3E1
M0
\G516.0
Instruction
Start accept
execution
flag of CPU
command
No.2(Axis 1)
• (Example 2) Program which uses the complete device and complete status.
U3E1
M0
\G516.0
Instruction
Start accept
execution
flag of CPU
command
No.2(Axis 1)
M100
M101
Complete
M101
device
■Program which executes continuous start of the servo program No.11 toward Axis 1 of the
Motion CPU (CPU No.2), while X0 is ON
U3E1
X0
\G516.0
Instruction
Start accept
execution
flag of CPU
command
No.2(Axis 1)
M100
Complete
device
■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
U3E1
M0
\G516.0
Instruction
Start accept
execution
flag of CPU
command
No.2(Axis 1)
U3E1
\G516.1
Start accept
flag of CPU
No.2(Axis 2)
2 MOTION DEDICATED PLC INSTRUCTION
38
2.2 Motion Dedicated PLC Instruction
U3E1
\G516.1
MP.SVST H3E1
Start accept
flag of CPU
No.2(Axis 2)
U3E1
\G516.1
MP.SVST H3E1
Start accept
flag of CPU
No.2(Axis 2)
Normal complete program
Abnormal complete program
M10
MP.SVST H3E1
Inter
lock
MP.SVST
MP.SVST
"J1J2"
K10
RST
M0
Instruction
execution
command
"J1J2"
K10
M100 D100
RST
M0
Instruction
execution
command
"J1"
K11
M100 D100
SET
M10
Inter
lock
RST
M10
Inter
lock
H3E1
"J1"
K10
H3E1
"J2"
K20
RST
M0
Instruction
execution
command

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents