Mitsubishi Electric SV13/22 Programming Manual page 288

Table of Contents

Advertisement

7. POSITIONING CONTROL
[Program Example]
M9039
0
M9074
2
X0000
M9074 M2009 M9076
4
M9074
11
X0001
25
M141
29
CIRCUIT END
Downloaded from
ManualsNet.com
This program executes manual pulse generator operation under the conditions
below.
(1) System configuration
Manual pulse generator operation of Axis 1.
A172SHCPUN
A172B
MR-[]-B
Axis 1
(2) Manual pulse generator operation conditions
(a) Manual pulse generator operation axis.............. Axis 1
(b) Manual pulse generator 1-pulse input ............... 100
magnification
(c) Manual pulse generator operation enable ......... leading edge of X000
(d) Manual pulse generator operation complete ..... leading edge of X001
(3) Sequence program
A sequence program for manual pulse generator operation is shown below.
M140
M2001
search engine
A172S
A1S
X10
ENC
• Manual pulse generator operation enable (X000)
• Manual pulse generator operation complete (X001)
MR-[]-B
MR-[]-B
MR-[]-B
Axis 2
Axis 3
Axis 4
M
M
M
M
MOV
MOV
7 − 136
Manual pulse
generator
(OFF → ON)
(OFF → ON)
M2000
Turns ON PLC ready.
Turns ON all axes servo start
M2042
command.
Detects leading edge of
PLS
M140
X000 (OFF → ON).
K
Sets axis (Axis 1) for manual
1
D1012
pulse generator operation.
K
100
D1016
Axis 1 manual pulse generator
1-pulse input magnification
SET
M2012
Turns ON manual pulse
generator enable flag.
PLS
M141
Turns OFF manual pulse
generator enable flag when
RST
M2012
X001 turns ON.

Advertisement

Table of Contents
loading

This manual is also suitable for:

A172shcpunA171shcpun

Table of Contents