Creating Sequence Programs To Start Servo Programs; Case Where The Servo Program Is Executed Once Only - Mitsubishi Electric A173UHCPU Programming Manual

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

Advertisement

6. SERVO PROGRAMS FOR POSITIONING CONTROL
6.5

Creating Sequence Programs to Start Servo Programs

6.5.1

Case where the servo program is executed once only

This section describes sequence programs that execute positioning control by
using servo programs.
The general concept for a program that executes a designated servo program
once only in response to the start request is shown in Figure 6.5.
Start request
1)
2)
3)
The applications of 1) to 5) are indicated below.
1): Start request leading edge detection flag (devices that can be used: Y, M, L, S, B, F)
2): Start accept flag (set a number of flags corresponding to the number of axis designated
in the servo program)
3): SVST instruction execution request flag (devices that can be used: Y, M, L, S, B, F)
4): Axis No. designated in the servo program
5): Started servo program No. (K0 to K4095)
Example
A sequence program that issues a start request for servo program No.10 - which
executes circular interpolation with axis 3 and axis 4 - when X000 comes ON, is shown
below.
(1)
Condition
The flags that can be used with sequence programs are indicated below.
Flag for recording the start request
SVST instruction execution request flag
Start accept flag
(2)
Sequence program example
X000
M10
M11
Fig. 6.5 Sequence Program for Starting a Servo Program
1)
PLS
3)
SET
SVST
4)
5)
RST
3)
Flag Name
Axis 3
Axis 4
Start request
Start accept
M2003 M2004
SVST
6 − 15
When the start request comes
ON, if the designated axis is not in
motion, a request to excute a
SVST instruction is issued.
Servo program start request
issued in response to SVST
instruction
On completion of execution of
the SVST instruction, the device
designated at 1) isreset.
Device No.
M10
M11
M2003
M2004
M10
PLS
SET
M11
J3J4
K10
RST
M11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

A273uhcpu

Table of Contents