Mitsubishi MELSEC-K Instruction Manual page 84

Hide thumbs Also See for MELSEC-K:
Table of Contents

Advertisement

D a t a r e a d o u t
s t a r t c o n d i t i o n s
X - a x i s
d e s i g n a t i o n
M 9
Y - a x i s
d e s i g n a t i o n
M 9
P a r a m e t e r
d e s i g n a t i o n
M 9
Z e r o
p o i n t r e t u r n
,J
'
'
1
P L S
M 9
-
/
4
L
1 -
1
/'
,d
1 -
t
~
S E T Y l 1
Y f
/
I
-
I
~
S E T Y 1 9
7
M 9
M 9
S E T Y 1 A
/
d a t a
P
P f
/"
/
I
,
D a t a r e a d o u t s t a r t
c o n d i t i o n s
D e s i g n a t e X - a x i s
M 1 0
X 1F
M 1 0
X 1 F Y 1 B
- - -
I l r
,c
I !
41
MOV
r)o
K ~ Y O
7 I
S e t d a t a t y p e
, (
1 -
1
p '
+
r)8o
D O
-
/
,
When r e a d i n g o u t
n u m b e r s
( 3 d i g i t s ) s e t
d a t a t y p e a n d o u t p u t
, -
MOV
n o
K ~ Y O
T'
p o s i t i o n i n g d a t a , d a t a
I
i n D80 a r e a d d e d t o
X 1 F
M 1
0
M 1 0
X 1 F
Y 1 F
M I 0
c
I *
1
,
I 1
# I
S E T
Y l F
, <
O u t p u t r e a d o u t d e m a n d
-
,
4 - 1
R S T
Y 1 F
/
,
,c
A1
P L S
MI1
- '
1 d a t a r e a d o u t
I I /
c o m p l e t i o n
D e s i g n a t e Y - a x i s
4 '
7
=
K5000 D O
0
5
0
<
( c o n t i n u e s )
F i g :
1 1 . 5
E x a m p l e o f s e t t i n g s d a t a r e a d o u t p r o g r a m
D e s i g n a t e p a r a m e t e r s
D e s i g n a t e
z e r o p o i n t
r e t u r n d a t a
D e s i g n a t e p o s i t i o n i n g
d a t a
M 1 0 i s
O N
u n t i l r e a d o u t
c o m p l e t i o n o f a l l d a t a
=
K ~ O O O
r)o
MOV
~ 4 x 0 r)i
/ ' R e a d o u t
d a t a t y p e 1 .
m v
~ 4 x 0 r ~ 2
7'
0
2
0
-80-
-

Advertisement

Table of Contents
loading

Table of Contents