Mitsubishi MELSEC-A Series Programming Manual page 344

Type acpu/qcpu-a (a mode)
Hide thumbs Also See for MELSEC-A Series:
Table of Contents

Advertisement

7. APPLICATION INSTRUCTIONS
Operation Errors
Program Example
In the following cases, operation error occurs and the DSFRP instruction is not
executed.
• (D) is set with 4 digits.
• Set value of (D) is other than 1 to 8.
• Two same axis numbers are set at (D).
• Set value of "n" is outside of 0 to 4095 or 30000 to 30799.
• Axes not specified at (D) are used in the servo program specified with "n".
• Index qualification is used for specification of (D) and "n".
(1) A program to execute a specified servo program only once when X80 is ON.
M9036
0
X080
2
M0
6
M1
M2001 M2002
8
DSFR D12
• Coding
0
LD
1
OUT
2
LD
3
PLS
6
LD
7
SET
8
LD
9
ANI
10
ANI
11
DSFRP D12
18
RST
19
END
Servo program
( K1 )
ABS-2
AXIS 1,
AXIS 2,
SPEED
M2000
(
)
PC READY is ON.
PLS
M0
SET
M1
P
K
If the specified axis is not started, the
1
DSFRP instruction is executed.
RST
M1
When execution of the DSFRP instruction
is completed, the start request storage
flag is reset.
M9036
M2000
X080
M0
M0
M1
M1
M2001
M2002
K1
M1
10000
2-axis linear interpolation
27000
of axes 1 and 2
1000
7 − 142
After X80 is turned on, the start request
storage flag (M1) is set.
MELSEC-A

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acpu-common-p-e13j741AcpuQcpu-a

Table of Contents