Mitsubishi Electric A173UHCPU Programming Manual page 295

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
M0
11
M9074
M1
M2004
13
CIRCUIT END
This program carries out zeroing using servo program No. 0, under the conditions
below.
(1) System configuration
Zeroing of Axis 4.
A61P A273UH
A278
CPU
LX
MR- -B MR- -B MR- -B MR- -B
Axis 1
Axis 2
M
M
(2) Servo program example
Servo program No. 0 for zeroing is shown below.
<K 0 >
ZERO
Axis
4
(3) Sequence program example
The sequence program which runs the servo program is shown below.
M2482
A61P AX41
Zeroing return command (X000)
Axis 3
Axis 4
M
M
Zeroing
Axis used
PLS
SET
SVST
J4
RST
7 − 148
Axis 4
M2000
Turns ON PLC ready.
Turns ON all axes servo start
M2042
command.
M0
Turns ON servo program No. 0
start command flag (M1) when
M1
X000 turns ON.
K
Servo program No. 0 execution
0
request.
M1
Turns OFF M1 on completion of
servo program No. 0 execution
request.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

A273uhcpu

Table of Contents