Mitsubishi MELSEC-A Series Programming Manual page 349

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

Advertisement

7. APPLICATION INSTRUCTIONS
Program Examples
DSFLP
(1) A program to change present position data of axis 2 to the BCD data set at X90
to XAF when X81 is turned ON.
X081
24
M11
28
M10
M2002
P
30
DBIN
DSFL D2
• Coding
24
LD
25
PLS
28
LD
29
SET
30
LD
31
ANI
32
DBINP
41
DSFLP
48
RST
49
END
PLS
M11
The present position data change storage flag
(M10) is set when X81 is turned ON.
SET
M10
K8
When axis 2 is not started, the BCD data of X90
X090
D966
to XAF are stored in D966 and D967 (present
position data change registers).
P
K
0
The DSFLP instruction is executed.
RST
M10
The present position data change storage flag is
reset.
X081
M11
M11
M10
M10
M2002
K8X090
D966
D2
K0
M10
7 − 147
MELSEC-A

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acpu-common-p-e13j741AcpuQcpu-a

Table of Contents