Mitsubishi Electric A173UHCPU Programming Manual page 287

Motion controller
Hide thumbs Also See for A173UHCPU:
Table of Contents

Advertisement

7. POSITIONING CONTROL
[Program Example]
M9039
0
M9074
2
X000
M9074 M2049 M9076
4
M9074
M140
M2001
11
X001
25
M141
29
CIRCUIT END
This program executes manual pulse generator operation under the conditions
below.
(1) System configuration
Manual pulse generator operation of Axis 1.
A61P A273UH
A278
CPU
LX
MR- -B MR- -B MR- -B MR- -B
Axis 1
Axis 2
M
M
(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.
A61P AX41
Manual pulse penerator operation enable (X000)
Manual pulse penerator operation complete (X001)
Manual pulse
generator
Axis 3
Axis 4
M
M
PLS
K
MOV
1
K
MOV
100
SET
PLS
RST
7 − 140
(OFF → ON)
(OFF → ON)
M2000
Turns ON PLC ready.
Turns ON all axes servo start
M2042
command.
Detects leading edge of
M140
X000 (OFF → ON).
D714
Sets axis (Axis 1) for manual
pulse generator operation.
D720
Axis 1 manual pulse generator
1 PULSE input magnification
M2051
Turns ON manual pulse
generator enable flag.
M141
Turns OFF manual pulse
generator enable flag when
M2051
X001 turns ON.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

A273uhcpu

Table of Contents