Mitsubishi Electric Melsec Q Series Programming Manual page 187

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

3 MOTION DEDICATED PLC INSTRUCTION
[Program example]
(1) Program which sets 2 (Initial value) to SD797 and uses SM797 as an interlock when
DP.DDWR (Number of blocks used : 2) is executed.
M0
SM797
Instruction
execution
command
M1
M797
Instruction
execution
command
(2) Program which sets 1 to SD797 and uses SM797 as an interlock condition when
D(P).DDWR/D(P).DDRD is not executed.
SM402
At 1 scan
after RUN
M0
SM797
Instruction
execution
command
M1
M797
Instruction
execution
command
3 - 76
DP.SFCS H3E1
MOVP
DP.DDWR H3E1
D100
D0 W10
MOVP
DP.SFCS H3E1
DP.SVST H3E1
"J1"
K11 M100
K10
RST M0
Instruction
execution
command
K10
D101
M100
RST M1
Instruction
execution
command
K1
SD797
K10
RST
M0
Instruction
execution
command
D100
RST M1
Instruction
execution
command

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents