Mitsubishi Melsec-A Series User Manual page 117

Hide thumbs Also See for Melsec-A Series:
Table of Contents

Advertisement

6. PROGRAMMING
/MELSEC
(4) Program
[Example]
To zero the system, the X and Y axis zeroing inputs are pulsed. In the event
of an error occurring
during zeroing, the error number
is read to data
registers D l 1 and D l 2.
[Notes]
(1 Start conditions are shown in Table 6.7.
(2)
Interpolation is not enabled during zeroing.
Giving a simultaneous zeroing command to both axes causes one axis to
delay about 50ms before starting.
(3)
The system may only be zeroed once. Repeating the zeroing command
with no intermediate operation will give an error.
[Program]
lattery error
i i
PC
RUN
Reset
-It
I P
X I
<
axis zero~no
input
+I
PLS
M50
-
1
PLS
M55
q 5 r
SET
Y13
i ' H Y - 1
'
axis
zeroing
RST
Y13
+I
input
-?xi
4 T
SET
Y14
X5
X 9
X 0
XF
Y16
I *
I I
I I
I I
I I
XI
I I
I I
I I
X I
PLS
M56
RST
Y14
after CPU RUN
Resets AD71
error
one
scan
Battery error
PC r e d v
Zeroing start
Zeroing start r e m
Y axis
X axis
Stan signal
OFF
if any
error is found
RST
I
I
I
FROMP
1
FROMP
HO
K345
to 0 1 1 and D12.
Reads error code from
buffer memory
Reference
program
6-38
IB INAI
ffi101E

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ad71

Table of Contents