Mitsubishi MELSEC-A A1SD71-S2 User Manual page 104

Positioning module
Table of Contents

Advertisement

6. PROGRAMMING
MELSEC-A
(5) Parameter and zero return data write program example
[Example]
X
axis parameter write
-
Assume that the parameters are already
in D l 6 to 31
[Note] When writing parameters and zero return data, the PC ready signal
(Y2D)
~
~~
~~~~~~~~~~~
should be off.
[Data transfer]
CPU data register
(Data already written)
I
r
Parameter
information
]
D l 6
Travel per pulse
I
D l 7
I
.
.
I
I
Speed limit value
Jog speed limit value
D l 8
020
Acceleration and deceleration times
D l 9
I
I
Backlash
compensation
I
D21
Upper stroke limit
Lower stroke limit
Address
L
,
1
or 0 may be set
(ignored by OS).
I
1
Rotating direction setting
Positioning method
M code used/not used
M code ON/OFF timing
Pulse output mode
Error compensation
I
Travel per inching input
Starting bias speed
D31
Positioning complete signal output duration
030
I
b15
b7
bO
[Program]
Parameter
RUN write command
Y2D
PC ready
TOP
6-
12

Advertisement

Table of Contents
loading

Table of Contents