Mitsubishi MELSEC-A A1SD71-S2 User Manual page 103

Positioning module
Table of Contents

Advertisement

6. PROGRAMMI rlG
MELSEC-A
(4) Data number and pointer write program exampie
[Example]
X axis data number and pointer write
[Note] The relevant
axis
must
not be BUSY.
[Data transfer]
CPU data register
AlSD71 buffer
memory
1 st point start data :No. 1
start data :No. 13
start axis :X axis
2nd point
Pointer : 1
c3
Address
E l
I
39
I
I
I
[Program]
Write
(X axis BUSY)
command
X14
MOVP
K1
D35
Stores 1st point
start
data
No. into D35.
-
-
-
-
Stores 2nd point start data
No. into D36.
-
Stores 2nd point start axis
(X axis
=
01) into D37.
Writes D35 to D37 to buffer
memory addresses 0 to 2.
Writes the constant
1
to
buffer memory address 39.
6 - 11

Advertisement

Table of Contents
loading

Table of Contents