EasyManua.ls Logo

Mitsubishi Electric R16MTCPU - Page 89

Mitsubishi Electric R16MTCPU
354 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...
2 MOTION DEDICATED PLC INSTRUCTION
2.3 Precautions
87
2
Program example
Program which sets 2 (Initial value) to SD797 and uses SM797 as an interlock when DP.DDWR (Number of blocks used: 2)
is executed.
Program which sets 1 to SD797 and uses SM797 as an interlock condition when D(P).DDWR/D(P).DDRD is not executed.
MOVP K10 D101
Instruction
execution
command
Instruction
execution
command
RST M0
M0
Instruction
execution
command
Instruction
execution
command
DP.DDWR H3E1 D100 D0 W10 M100
M1 SM797
SM797
DP.SFCS H3E1 K10
RST M1
DP.SVST H3E1 "J1" K11 M100 D100
Instruction
execution
command
Instruction
execution
command
RST M0
M0
Instruction
execution
command
Instruction
execution
command
M1 SM797
SM797
DP.SFCS H3E1 K10
RST M1
At 1 scan
after RUN
SM402
MOVP K1 SD797

Table of Contents

Other manuals for Mitsubishi Electric R16MTCPU

Related product manuals