7. APPLICATION INSTRUCTIONS
7 − 148
MELSEC-A
(2) A program to change positioning speed of axis 2 to the BCD data set at X90 to
XAF when X81 is turned ON.
• Coding
24 LD X081
25 PLS M11
28 LD M11
29 SET M10
30 LD M10
31 DBIN K8X090 D968
40 DSFLP D2 K1
47 RST M10
48 END
The speed change storage flag (M10) is set
when X81 is turned ON.
The BCD data of X90 to XAF are stored in
D968 and D969 (positioning speed change
registers).
The DSFLP instruction is executed.
The speed change storage flag is reset.
24
28
30
X081
PLS M11
M11
SET M10
M10 K8
DBIN X090 D968
P K
DSFL D2 1
RST M10