Professional Documents
Culture Documents
Ls 421
Ls 421
Ls 421
Four-Axis DC Servo
Controller With Built-In
Power Amplifiers
LS-421
Technical Reference
F le x W a re is tra d e m a rk o f L o g o s o l, In c .
T ra d e m a rk s a re u s e d th ro u g h o u t th e m a n u a l o n ly a s re fe re n c e to e x is tin g c o m m o n p ro d u c ts . If a
re g is te re d tra d e m a rk is u s e d w ith o u t b e in g in d ic a te d a s s u c h , th is d o e s n o t im p ly th a t th e n a m e is
fre e .
© C o p yrig h t L o g o s o l, In c . 1 9 9 1 - 1 9 9 9 .
L S -4 2 1 T e c h n ic a l R e fe re n c e
D o c u m e n t N o 7 1 0 4 2 0 1 0 3 / R e v . 1 .2 - A p ril, 1 9 9 9
L o g o s o l, In c .
1 1 5 5 T a s m a n D riv e , S u n n yv a le , C A 9 4 0 8 9
T e l: (4 0 8 ) 7 4 4 -0 9 7 4
F a x : (4 0 8 ) 7 4 4 -0 9 7 7
H ttp ://w w w .lo g o s o lin c .c o m
LS-421 Technical Reference
P reface
T h a n k yo u fo r c h o o s in g L o g o s o l M o tio n C o n tro lle r fo r a d d re s s in g yo u r a u to m a tio n n e e d s . L o g o s o l
is c o m m itte d to p ro v id in g p ro d u c ts w ith e x c e p tio n a l v a lu e a n d fu n c tio n a lity.
2
LS-421 Technical Reference
Table of Contents
I. HOW TO USE THIS MANUAL......................................................................................................... 5
II. INSTALLATION.............................................................................................................................. 6
❑ Requirements .............................................................................................................................. 6
❑ Preparing the Board.................................................................................................................... 7
In s p e c tio n ......................................................................................................................... 7
J u m p e r S e ttin g s ................................................................................................................ 7
In te rfa c e C o n n e c to rs ....................................................................................................... 1 0
L E D In d ic a to rs ................................................................................................................ 1 1
❑ Installation Procedure .............................................................................................................. 11
V. APPENDIX A................................................................................................................................ 56
3
LS-421 Technical Reference
4
LS-421 Technical Reference
5
LS-421 Technical Reference
II. INSTALLATION
Disclaimer
L o g o s o l a s s u m e s n o re s p o n s ib ility fo r d a m a g e s o r in ju rie s in c u rre d to y o u r
s y s te m o r to th e o p e ra tin g p e rs o n n e l, d u e to im p ro p e r in s ta lla tio n . A s w ith a n y
p ro d u c t d e s ig n e d fo r in d u s tria l a p p lic a tio n s , a p ro fe s s io n a l in E le c tro n ic s
E n g in e e rin g s h o u ld in s ta ll th e b o a rd .
❑ R EQUIREMENTS
L o g o s o l L S -4 2 1 is a p lu g -in b o a rd fo r a s ta n d a rd IS A b u s s ys te m . T o o p e ra te L S -4 2 1 , th e h o s t
s ys te m m u s t m e e t th e fo llo w in g re q u ire m e n ts :
• IS A b u s s ys te m
6
LS-421 Technical Reference
• O n e v a c a n t 8 -b it o r 1 6 -b it b u s s lo t. L S -4 2 1 its e lf o c c u p ie s s p a c e fo r tw o s in g le -s iz e P C -
b o a rd s . O n ly o n e b u s s lo t c o n n e c to r is u s e d .
• A fre e I/O a d d re s s ra n g e x 2 8 0 h ÷x 2 8 F h o r x 2 A 0 h ÷x 2 A F h , w h e re x m a y b e 0 , 1 , 2 o r 3
• C o m p u te r p o w e r (fro m th e IS A b u s ): + 5 V ± 5 % / 1 A , + 1 2 V ± 5 % /1 A
• E x te rn a l o p e ra tin g p o w e r: 2 4 V D C ± 2 0 %
• E x te rn a l m o to r p o w e r in th e ra n g e : 2 4 ÷8 0 V D C
Caution
M o to r p o w e r s u p p ly m u s t b e e le c tric a lly is o la te d fro m c o m p u te r g ro u n d a n d
fro m o p e ra tin g p o w e r s u p p ly (flo a tin g p o w e r s u p p ly ).
Inspection
In s p e c t th e b o a rd fo r a n y s ig n s o f d a m a g e . L S -4 2 1 w a s th o ro u g h ly te s te d a n d b u rn e d -in ,
in c lu d in g te s ts o n re a l m o to rs a n d c a re fu lly p a c k e d b e fo re s h ip m e n t. Y e t, th e re a lw a ys e x is ts a
s lig h t p o s s ib ility o f s h ip p in g d a m a g e . In c a s e th e re is a n y n o tic e a b le im p e rfe c tio n , p le a s e re p o rt
th is to L o g o s o l im m e d ia te ly.
Jumper Settings
T h e re a re fo u r ju m p e r b lo c k s o n th e b o a rd (J 1 – J 4 ) fo r th e c o n fig u ra tio n o f th e fo llo w in g
h a rd w a re fe a tu re s :
• B a s e I/O A d d re s s (J 1 )
• In te rru p t R e q u e s t L in e (J 2 )
7
LS-421 Technical Reference
• C u rre n t L im it M o d e (J 3 )
• S e rv o O ff M o d e (J 4 )
0 x0 2 8 0 0 x0 2 A 0 JUMPER OPEN
0 x1 2 8 0 0 x1 2 A 0 JUMPER CLOSED
0 x2 2 8 0 0 x2 2 A 0
0 x3 2 8 0 0 x3 2 A 0
9 72 91 0 6
8
LS-421 Technical Reference
IR Q 7 JUMPER OPEN
IR Q 1 0 JUMPER CLOSED
IR Q 1 2
IR Q 1 5
9 72 91 0 7
C U R R E N T L IM IT JUMPER OPEN
9 72 91 0 8
9
LS-421 Technical Reference
FA S T S T O P JUMPER CLOSED
9 72 91 0 9
Interface Connectors
10
LS-421 Technical Reference
LED Indicators
T h e L S -4 2 1 b o a rd is e q u ip p e d w ith tw o L E D in d ic a to rs (L 1 a n d L 2 ) fo r a fa s t a n d e a s y v is u a l
c h e c k o f th e c o n tro lle r s ta tu s . In o rd e r to c lo s e th e s e rv o lo o p a n d e n a b le th e p o w e r a m p lifie rs
b o th L E D s m u s t b e O N . T h e lo c a tio n o f L 1 a n d L 2 is s h o w n in F ig u re 7 o n p a g e 1 9 .
T h e L 1 in d ic a to r is O N if th e a ll o f th e fo llo w in g c o n d itio n s a re m e t:
• C o m p u te r p o w e r is p re s e n t
• M o to r p o w e r s u p p ly is p re s e n t
• T h e re is n o t a s h o rt c irc u it b e tw e e n a m o to r te rm in a l a n d th e c o m p u te r g ro u n d o r b e tw e e n a
m o to r te rm in a l a n d th e g ro u n d o f th e o p e ra tin g p o w e r.
T h e L 2 in d ic a to r is O N if a ll o f th e fo llo w in g c o n d itio n s a re m e t:
• O p e ra tin g p o w e r is p re s e n t
• N o n e o f th e d ig ita l o u tp u ts is o v e rlo a d e d .
❑ I NSTALLATION P ROCEDURE
• P o w e r O ff. D is c o n n e c t th e p o w e r to th e h o s t s ys te m . N e v e r to u c h e le c tro n ic c irc u its o r w irin g
w h ile p o w e r is o n . T h is p ro te c ts yo u a n d yo u r h a rd w a re .
• E x te rn a l P o w e r. P lu g in th e m a in p o w e r c o n n e c to r C N 3 . C h e c k p o w e r s u p p ly – m o to r p o w e r
(2 4 ÷8 0 V ) a n d o p e ra tin g p o w e r (2 4 V ). M a k e s u re th e e m e rg e n c y s to p c o n ta c t b e tw e e n p in s 7
& 8 o f C N 3 c o n n e c to r is c lo s e d .
• In s e rt in S lo t. P lu g in L S -4 2 1 in to a fre e IS A -b u s s lo t. A n y s lo t m a y b e u s e d .
11
LS-421 Technical Reference
• S c re w th e B o a rd . F ix L S -4 2 1 w ith a s c re w to th e c h a s s is . N e v e r s w itc h o n th e p o w e r b e fo re
L S -4 2 1 is fix e d to th e c h a s s is . T h e b o a rd m ig h t h a v e tilte d w ith in th e s lo t a n d s h o rt-c irc u ite d
th e b u s w ith u n p re d ic ta b le re s u lts .
12
LS-421 Technical Reference
• B a s e M o d u le d e s c rib e s th e h a rd w a re c o m p o n e n ts a n d fe a tu re s s u p p o rte d b y th e B a s e
M o d u le , a m o n g w h ic h a re th e M o tio n P ro c e s s o r, th e D ig ita l O u tp u ts a n d th e S e rv o C o n tro l
a n d D ia g n o s tic s c irc u it.
• In p u t B o a rd e x p la in s D ig ita l In p u ts , In c re m e n ta l E n c o d e r In te rfa c e a n d A b s o lu te E n c o d e r
In te rfa c e , lo c a te d o n th a t m o d u le
• E x te rn a l P o w e r S u p p ly s ta te s th e re q u ire m e n ts to th e e x te rn a l p o w e r s o u rc e s a n d o ffe rs a n
e x a m p le s c h e m e fo r a typ ic a l e x te rn a l p o w e r s u p p ly
❑ ARCHITECTURE O VERVIEW
L S -4 2 1 is a 4 -a x is m u ltip u rp o s e s e rv o c o n tro lle r w ith b u ilt-in p o w e r a m p lifie rs fo r D C m o to rs w ith
q u a d ra tu re in c re m e n ta l e n c o d e rs . It is d e s ig n e d to m e e t th e re q u ire m e n ts fo r h ig h p re c is io n a n d
h ig h re lia b ility e s s e n tia l to in d u s tria l a p p lic a tio n s . T h e b o a rd is d e s ig n e d a s a p lu g -in b o a rd fo r
P C /A T c o m p a tib le c o m p u te rs w ith IS A b u s . T h e u n iq u e F le x W a re ™ d e s ig n a llo w s fle x ib le w irin g
a n d p in a s s ig n m e n t to m e e t s p e c ific re q u ire m e n ts a n d to a c h ie v e c o m p a tib ility w ith th e e x is tin g
h a rd w a re . T o a tta in h ig h e r re lia b ility o f o p e ra tio n in in d u s tria l e n v iro n m e n ts , a ll in p u ts a n d
o u tp u ts a re o p to is o la te d fro m th e c o m p u te r g ro u n d .
13
LS-421 Technical Reference
A ll in p u t, o u tp u t a n d c o n tro l s ig n a ls a re p ro c e s s e d b y a n In -S ys te m P ro g ra m m a b le (IS P ) c h ip s e t
to a llo w fa s t a n d e a s y u s e r-d e fin e d c u s to m iz a tio n s . T h is a p p ro a c h a llo w s e a s y fa c to ry
c u s to m iz a tio n s o f th e c o n tro lle r in p u t a n d o u tp u t a s s ig n m e n ts .
• E m e rg e n c y s to p in p u t
• O u tp u t o v e rlo a d p ro te c tio n
Controller Architecture
L S -4 2 1 is a th re e -p ie c e a s s e m b ly, w h ic h c o n s is ts o f th e fo llo w in g c o m p o n e n ts :
• A m o th e r-b o a rd re fe rre d to a s B a s e M o d u le (B M )
14
LS-421 Technical Reference
BAS E
M O D U LE
IN T E R FA C E
W IR IN G
IN P U T
BOAR D
L S -42 1
9729100
• P o w e r A m p lifie rs w ith P W M o u tp u t
• In c re m e n ta l E n c o d e r R e c e iv e r
• A b s o lu te P o s itio n E n c o d e r R e c e iv e r
• D ig ita l In p u ts
• D ig ita l O u tp u ts
15
LS-421 Technical Reference
• P o w e r S u p p ly , w h ic h c o n tro ls th re e o u tb o u n d p o w e r lin e s .
9729105a
16
LS-421 Technical Reference
Memory Map
L S -4 2 1 is d e s ig n e d a s a s ta n d a rd IS A b u s p e rip h e ra l d e v ic e . T h e h o s t s ys te m c o m m u n ic a te s
w ith th e L S -4 2 1 m o tio n c o n tro lle r u s in g d e s ig n a te d p o rt a d d re s s e s .
In th is m a n u a l a n d in o th e r re fe re n c e s o u rc e s , re g is te rs a re n a m e d c o n s is te n tly w ith th re e to s ix -
le tte r a b b re v ia tio n s , w h ic h c o rre s p o n d to th e ir fu n c tio n . T h e ta b le b e lo w s h o w s L S -4 2 1 re g is te r
lo c a tio n s re la tiv e to c o n tro lle r b a s e a d d re s s . T h e o ffs e ts a re in h e x a d e c im a l n o ta tio n .
READ WRITE
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
0 MC1401A DATA REGISTER 0 MC1401A DATA REGISTER 0
1 READY 1 MC1401A COMMAND REGISTER 1
2 2 2
3 3 3
4 4 4
5 5 5
6 6 6
7 7 7
8 IN7 IN6 IN5 IN4 IN3 IN2 IN1 IN0 8 8
9 IN15 IN14 IN13 IN12 IN11 IN10 IN9 IN8 9 9
A AE RST OPT SPS CL3 CL2 CL1 CL0 A AE RST OPT SPS A
B EMG STP MPF OPF EMGL STPL MPFL OPFL B B
C ADI MPI C ENADI C
D OUT7 OUT6 OUT5 OUT4 OUT3 OUT2 OUT1 OUT0 D OUT7 OUT6 OUT5 OUT4 OUT3 OUT2 OUT1 OUT0 D
E E PCS3 PCS2 PCS1 PCS0 APERES E
F F F
17
LS-421 Technical Reference
❑ B ASE M ODULE
T h is s e c tio n e x p la in s th e m a in p a rts a n d c o n tro ls c o n ta in e d in th e B a s e M o d u le (B M ) o f th e L S -
4 2 1 M o tio n C o n tro l B o a rd . T h e B a s e M o d u le is th e m a in p a rt o f L S -4 2 1 s e rv o c o n tro lle r a n d it
p la ys th e ro le o f a m o th e rb o a rd fo r th e In p u t B o a rd (IB ) m o d u le .
• M o tio n c o n tro l p ro c e s s o r
• P u ls e w id th m o d u la tio n (P W M ) m o to r p o w e r a m p lifie rs
• O p to is o la te d d ig ita l o u tp u ts ,
Board Layout
T h e b o a rd la yo u t w ith c a ll-o u ts to th o s e p a rts , w h ic h c a n b e m o n ito re d , m a n ip u la te d o r a d ju s te d
in o rd e r to s e tu p o r s e rv ic e th e b o a rd , is p re s e n te d in F ig u re 7 . S o m e o f th e d e s ig n a te d
c o m p o n e n ts a re n o t u s e r-s e rv ic e a b le .
T h e B M b o a rd is e q u ip p e d w ith tw o L E D in d ic a to rs , d e n o te d a s L 1 a n d L 2 , fo r fa s t a n d e a s y
v is u a l c h e c k o f th e c o n tro lle r s ta tu s . In o rd e r to c lo s e th e s e rv o lo o p a n d e n a b le th e p o w e r
a m p lifie rs b o th L E D m u s t b e O N .
T h e L 1 in d ic a to r is O N if th e a ll o f th e fo llo w in g c o n d itio n s a re m e t:
• C o m p u te r p o w e r is p re s e n t
• M o to r p o w e r s u p p ly is p re s e n t
• T h e re is n o t a s h o rt c irc u it b e tw e e n a m o to r te rm in a l a n d th e c o m p u te r g ro u n d o r b e tw e e n a
m o to r te rm in a l a n d th e g ro u n d o f th e o p e ra tin g p o w e r.
T h e L 2 in d ic a to r is O N if a ll o f th e fo llo w in g c o n d itio n s a re m e t:
• O p e ra tin g p o w e r is p re s e n t
• N o n e o f th e d ig ita l o u tp u ts is o v e rlo a d e d .
18
LS-421 Technical Reference
J 1 JU M P E R B L O C K
CN1 (I/O A D D R E S S )
(IN T E R F A C E B O A R D )
J 3 JU M P E R
(C U R R E N T L IM IT M O D E )
P0
P1
P2
P3
(C U R R E N T L IM IT A D J U S T )
+ T E R M IN A L M O T O R # 0
J 2 JU M P E R B L O C K
(IN T E R R U P T L IN E )
- T E R M IN A L M O T O R # 0
L 1 (M O T O R P O W E R O K )
+ T E R M IN A L M O T O R # 1
C N 2 (O U T P U T S A N D
O UTB OUND POW E R)
- T E R M IN A L M O T O R # 1
L 2 (O P E R AT IN G P O W E R O K )
+ T E R M IN A L M O T O R # 2
J 4 JU M P E R
(S E R V O O F F M O D E )
- T E R M IN A L M O T O R # 2
F1 F U SE
(O P E R AT IN G P O W E R )
+ T E R M IN A L M O T O R # 3
C N 3 C O N N E C TO R
(E X T. P O W E R & E M . S T O P )
- T E R M IN A L M O T O R # 3
F2 F U SE
(M O T O R P O W E R )
9729101
Motion Processor
L S -4 2 1 im p le m e n ts th e la te s t D ig ita l S ig n a l P ro c e s s in g (D S P ) te c h n o lo g y fo r m a x im u m
p e rfo rm a n c e a n d p re c is io n . T h e c o n tro lle r is b a s e d o n M C 1 4 0 1 A m o tio n c o n tro l c h ip s e t fro m
P re c is io n M o tio n D e v ic e s , In c (P M D ).
T h e M C 1 4 0 1 A c o n s is ts o f tw o 6 8 -p in P L C C c h ip s :
19
LS-421 Technical Reference
• C o m m a n d P ro c e s s o r IC (C P c h ip )
T h e M P e m p lo ys th re e in te rfa c e s to th e L S -4 2 1 b o a rd :
• E n c o d e r in te rfa c e
• A m p lifie r in te rfa c e
• H o s t in te rfa c e
• R e a d s q u a d ra tu re e n c o d e r s ig n a ls a n d a c c u m u la te s c u rre n t e n c o d e r p o s itio n .
• G e n e ra te s P W M m o to r o u tp u t s ig n a ls , w h ic h a re fe d to th e m o to r p o w e r a m p lifie rs
• C h e c k s m o to r to rq u e lim its
• In te rp re ts h o s t c o m m a n d s s e n t to M P
• S e ts M P h o s t in te rru p ts
• M a in ta in s M P s ta tu s in fo rm a tio n
20
LS-421 Technical Reference
• In d e x a n d H o m e h ig h -s p e e d p o s itio n c a p tu re lin e s o f th e M P a re c o n n e c te d to g e th e r. T h u s ,
p o s itio n -la tc h in g s ig n a ls fro m L S -4 2 1 (in d e x p u ls e s o r in p u ts d e s ig n a te d fo r p o s itio n c a p tu re )
w ill a c tiv a te b o th In d e x a n d H o m e lin e s . T h e h o s t s o ftw a re m a y c h o o s e w h ic h o f o n e o f th e m
to u s e fo r p o s itio n c a p tu rin g .
■ ENCODER INTERFACE.
Q u a d ra tu re e n c o d e r s ig n a ls a re fe d fro m th e L S -4 2 1 IB to th e I/O c h ip . S e e “In p u t B o a rd :
In c re m e n ta l E n c o d e r In te rfa c e ” o n p a g e 4 3 .
■ AMPLIFIER INTERFACE
T h e m o to r o u tp u t s ig n a ls a re c o n n e c te d to th e P W M c o n tro l c h ip o n B M . S e e “B u ild -In P o w e r
A m p lifie rs o n p a g e 2 2 .
■ HOST INTERFACE
L S -4 2 1 p ro v id e s th e n e c e s s a ry e n v iro n m e n t fo r th e M P c h ip s e t. W ith in th e L S -4 2 1 a rc h ite c tu re
M P is in te rfa c e d v ia a n 8 -b it b i-d ire c tio n a l b u s (M P b u s ) a n d v a rio u s c o n tro l s ig n a ls .
• M o tio n P ro c e s s o r C o m m a n d R e g is te r (M P -C M D )
• M o tio n P ro c e s s o r D a ta R e g is te r (M P -D A T )
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0 R/W MP-DAT
Base Addr + 1 Write MP-CMD
Base Addr + 1 Read READY
M P c o m m a n d s e t is m a d e o f s in g le -b yte c o m m a n d s . D a ta is o rg a n iz e d in 1 6 -b it w o rd s . A ll d a ta is
e n c o d e d “h ig h to lo w ”, i.e . e a c h 1 6 -b it w o rd is e n c o d e d h ig h b yte firs t, lo w b yte s e c o n d , a n d tw o
w o rd d a ta v a lu e s a re e n c o d e d h ig h w o rd firs t, lo w w o rd s e c o n d . C o m m a n d s c o u ld b e o f o n e o f
th e fo llo w in g th re e typ e s :
• D a ta le s s c o m m a n d
21
LS-421 Technical Reference
• W rite c o m m a n d
• T o s e n d a c o m m a n d , th e h o s t m u s t w rite th e c o m m a n d c o d e to th e M P -C M D re g is te r firs t,
th e n w rite o r re a d th e w o rd s o f d a ta to th e M P -D A T re g is te r, if a n y.
A d d itio n a l in fo rm a tio n a b o u t th e M P c h ip s e t m a y b e fo u n d in th e M C 1 4 0 1 A R e fe re n c e M a n u a l
a v a ila b le fro m P e rfo rm a n c e M o tio n D e v ic e s , In c .
A s p e c ia l c irc u it a d ju s ts P W M s ig n a ls , g e n e ra te d b y th e M o tio n P ro c e s s o r, to m e e t th e p o w e r
b rid g e s re q u ire m e n ts .
• P o w e r fa ilu re
• E x c e s s m o to r c u rre n t
• D ig ita l o u tp u t o v e rlo a d
• E m e rg e n c y s to p c irc u it is a c tiv a te d .
22
LS-421 Technical Reference
T h e c o d e o f th e e v e n t, w h ic h h a s d is a b le d th e a m p lifie rs is la tc h e d in a s p e c ia l re g is te r a n d is
a v a ila b le to th e h o s t fo r d ia g n o s tic s . T h e fu n c tio n in g o f S C D is e x p la in e d in d e ta il in “S e rv o
C o n tro l a n d D ia g n o s tic s C irc u it” o n p a g e 2 6 .
MOTO R PO WE R
(F LO ATING )
+5V C H A NN E L #0 P OW E R AM P LIFIER
IS O LATE D F RO M
C O MP U TE R G R O U N D
+MO T OR T ER M IN A L
H C P L26 31
+5V
-MO TO R TE R MINA L
H C P L26 31 O V E RC U R R E N T
S EN S E
FR O M MO T IO N PR O C E SS OR
P WM P R OC E S SIN G
C H A NN E L #1 P OW E R AM P LIFIER
P WM
C H A NN E L #2 P OW E R AM P LIFIER MO TO R TE R MIN AL S
C H A NN E L #3 P OW E R AM P LIFIER
A MPL IFIE R E N AB LE
H O ST P R O C ES S O R
S ER V O C O N TR O L
AND
D IA G NO ST IC MO TO R PO WE R FA ILU R E
S TATU S
TO
O P E RATIN G P O WE R /O U T PU T FAILU R E
E MER G EN C Y S TO P IN P UT
S TO P IN PU T S
+12V
CO M PU T ER +5V
POW ER
S U P P LY E N C OD E R P O W E R (+9V )
+12V LM 317
97 2920 0
■ SERVO-OFF MODE
If th e a m p lifie rs a re d is a b le d w h ile th e m o to rs a re m o v in g , th e y c a n s to p in o n e o f tw o w a ys
d e p e n d in g o n J 4 ju m p e r s e ttin g . W h e n J 4 is in s ta lle d , th e m o to rs w in d in g s a re s h o rte n , w h ile if
J 4 is le ft o p e n , th e m o to rs h a v e th e ir w in d in g s o p e n . A s h o rt c irc u it o n th e m o to r w in d in g s
p ro v id e s fa s te r s to p p in g c o m p a re d to o p e n w in d in g s a n d m a y h e lp p re v e n t e v e n tu a l c o lla p s in g o f
m e c h a n ic a l p a rts u n d e r th e ir o w n w e ig h t. O n th e o th e r h a n d s to p p in g w ith o p e n w in d in g s is
23
LS-421 Technical Reference
s m o o th e r. F o r th e lo c a tio n o f th e J 4 ju m p e r o n th e L S -4 2 1 b o a rd , s e e “J u m p e r S e ttin g s ” o n p a g e
9.
■ MOTOR BRAKES
If th e c o n tro lle d m o to rs o r th e a c tu a te d m e c h a n is m s a re e q u ip p e d w ith b ra k e s , th e y c a n b e
a u to m a tic a lly a c tiv a te d w h e n th e a m p lifie rs a re d is a b le d . T o o b ta in th is fu n c tio n a lity, th e b ra k e s
s h o u ld b e p o w e re d b y O P S o u tb o u n d p o w e r s o u rc e a n d b e n o rm a lly c lo s e d (th e a x is is s to p p e d
w h e n th e b ra k e is n o t a c tiv a te d ). T h is h a p p e n s , b e c a u s e O P S is c o n tro lle d b y th e A E s ig n a l. S e e
“D ig ita l O u tp u ts a n d O u tb o u n d P o w e r” o n p a g e 2 4 .
■ CURRENT LIMITS
T h e o u tp u t c u rre n t fro m e a c h H -b rid g e is c o n tin u o u s ly m o n ito re d b y a p ro te c tio n c irc u itry a n d is
lim ite d to a v a lu e a d ju s ta b le in th e ra n g e o f 2 ÷1 0 A . T h e lim it fo r e a c h a x is c a n b e p ro g ra m m e d
in d iv id u a lly u s in g a s p e c ia l re g is te r. T h e ra n g e 2 ÷1 0 A is d iv id e d in to 1 6 s te p s . A trim m e r-p o t (P 0 ,
P 1 , P 2 , P 3 ) m a y b e u s e d fo r p re c is e a d ju s tm e n t o f th e s e le c te d lim it. If a n a m p lifie r o u tp u t is
o v e rlo a d e d o r s h o rte n e d , th e H -b rid g e o u tp u t c u rre n t p ro te c tio n is a c tiv a te d . T h e p ro te c tio n h a s
tw o m o d e s o f o p e ra tio n d e p e n d in g o n J 3 ju m p e r s e ttin g . W ith J 3 ju m p e r in s ta lle d th e s e rv o lo o p
w ill b e s h u t d o w n a u to m a tic a lly a n d th e P W M p o w e r a m p lifie rs w ill b e d is a b le d . If J 3 is le ft o p e n ,
th e a m p lifie rs w ill re m a in e n a b le d re g a rd le s s o f th e o v e rlo a d d u ra tio n . T h e o u tp u t c u rre n t is
lim ite d to th e s p e c ifie d v a lu e . F o r th e lo c a tio n o f th e J 3 ju m p e r o n th e L S -4 2 1 b o a rd , s e e “J u m p e r
S e ttin g s ” o n p a g e 9 .
• S y s te m P o w e r S u p p ly ( S P S ). T h e S P S re la y is u s e d a s m a in s ys te m p o w e r s w itc h . It
c o n n e c ts (d is c o n n e c ts ) th e o p e ra tin g p o w e r (2 4 V ) fro m a n u m b e r o f c irc u its o n th e B M . T h e
o u tp u t fro m th e S P S re la y is fe d to th e O P T a n d O P S o u tb o u n d p o w e r c irc u its . It a ls o c o n tro ls
th e n o rm a lly o p e n m o to r p o w e r re la y. T h u s , tu rn in g S P S o ff w ill d is a b le th e p o w e r a m p lifie rs ,
a s w e ll a s O P S a n d O P T . T h e c irc u it c o n tro llin g th e d ig ita l o u tp u ts is a ls o p o w e re d b y S P S
a n d tu rn in g S P S o ff w ill s w itc h o ff th e d ig ita l o u tp u ts . T h e o u tp u t fro m th e S P S re la y is
a v a ila b le a s a n o u tb o u n d p o w e r s o u rc e (2 4 V ), im m e d ia te ly fo llo w in g c o n tro lle r in itia liz a tio n .
S P S o u tb o u n d p o w e r is n o rm a lly u s e d to p o w e r s e n s o rs in th e c o n tro lle d e q u ip m e n t. T h is
g u a ra n te e s th a t th e u s e r s e n s o rs w ill re m a in p o w e re d a ll th e tim e e x c e p t w h e n th e
e m e rg e n c y in p u t is a c tiv a te d .
24
LS-421 Technical Reference
• O u tp u t P o w e r S u p p ly ( O P S ) is u s e d b a s ic a lly to p o w e r m o to r b re a k s a n d v a rio u s u s e r v a lv e s
a n d s w itc h e s . O P S c a n n o t b e c o n tro lle d s e p a ra te ly. Its s ta te d e p e n d s o n a m p lifie r e n a b le
s ta tu s a n d S P S s ta tu s . If th e p o w e r a m p lifie rs a re d is a b le d o r th e S P S is o ff, O P S is o ff. T h is
is u s e fu l fo r d e v ic e s th a t s h o u ld b e s h u t o ff a u to m a tic a lly w h e n th e a m p lifie rs a re d is a b le d ,
fo r in s ta n c e m o to r b re a k s o r o th e r e m e rg e n c y c irc u its .
9729901
25
LS-421 Technical Reference
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xA R/W AE RST OPT SPS CL3 CL2 CL1 CL0
Base Addr + 0xD R/W OUT7 OUT6 OUT5 OUT4 OUT3 OUT2 OUT1 OUT0
■ CONTROLLED SIGNALS
T h e S C D c irc u it c o n tro ls th e a m p lifie r e n a b le s ig n a l b a s e d o n s e v e ra l in te rn a l a n d e x te rn a l
e x c e p tio n s ig n a ls . In a d d itio n to th a t, it c o n tro ls th e M o tio n P ro c e s s o r re s e t s ig n a l. T h e s e s ig n a ls
c a n b e m o n ito re d o r c o n tro lle d b y th e A E a n d R S T s ta tu s /c o n tro l b its . If A E is s e t to H IG H (1 ) th e
a m p lifie rs a re e n a b le d . A E s e t to L O W (0 ) m e a n s th a t th e a m p lifie rs a re d is a b le d .
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xA R/W AE RST OPT SPS CL3 CL2 CL1 CL0
T h e m o tio n p ro c e s s o r is in re s e t w h e n th e R S T b it is s e t to H IG H (1 ). S e ttin g R S T to L O W (0 )
re m o v e s re s e t fro m th e p ro c e s s o r.
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xA R/W AE RST OPT SPS CL3 CL2 CL1 CL0
■ MONITORED SIGNALS
S e v e ra l p ro te c tio n c irc u its o n th e L S -4 2 1 b o a rd g e n e ra te s ig n a ls w h e n n o rm a l o p e ra tio n a l
c o n d itio n s a re v io la te d . T h e s e s ig n a ls a re fe d to th e S C D c irc u it, w h ic h s e ts th e s ta te o f s ta tu s
b its , a v a ila b le to th e h o s t fo r d ia g n o s tic s . W h e n s u c h a n e v e n t o c c u rs th e a m p lifie r e n a b le s ig n a l
(a n d th e re s p e c tiv e s ta tu s b it A E ) is s e t L O W (0 ). T h is in c id e n t w ill b e re fe rre d to a s h a rd w a re
e x c e p tio n .
26
LS-421 Technical Reference
9729302
• M o to r P o w e r F a ilu re (M P F )
• O u tp u t O v e rlo a d / O u tp u t P o w e r F a ilu re (O P F )
• E m e rg e n c y In p u t (E M G )
• S to p In p u t (S T P )
• A m p lifie r E n a b le (A E )
• M P R e s e t (R S T )
27
LS-421 Technical Reference
• M o to r C u rre n t L im it O v e rlo a d (C L 0 to C L 3 )
Note
A E b it h a s a d u a l m e a n in g . In re a d m o d e it re p re s e n ts th e s ta tu s o f th e
a m p lifie rs (e n a b le d o r d is a b le d ). In w rite m o d e , it is a c o n tro l b it to e n a b le o r
d is a b le th e p o w e r a m p lifie rs . T h e a m p lifie rs o f a ll fo u r s e rv o c h a n n e ls a re
c o n tro lle d s im u lta n e o u s ly b y o n e A E b it. T h u s , a m p lifie rs c a n n o t b e e n a b le d o r
d is a b le d o n in d iv id u a l b a s is .
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xA R/W AE RST OPT SPS CL3 CL2 CL1 CL0
Note
F o r s a fe ty re a s o n s , A E is e q u ip p e d w ith d o u b le b u ffe re d lo g ic to p re v e n t a n
a c c id e n ta l tu rn o n a fte r a n e m e rg e n c y s h u t d o w n .
■ MP RESET (RST)
R S T b it c a n b e c o n tro lle d b y th e s o ftw a re o r is a u to m a tic a lly s e t H IG H (1 ) a fte r th e p o w e r u p o r
a fte r th e h a rd w a re re s e t is is s u e d .
28
LS-421 Technical Reference
Note
R S T b it h a s a d u a l m e a n in g . In re a d m o d e it re p re s e n ts th e s ta tu s o f th e m o tio n
p ro c e s s o r re s e t s ig n a l. In w rite m o d e , it is a c o n tro l b it s e t o r to re m o v e m o tio n
p ro c e s s o r re s e t s ig n a l.
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xA R/W $( RST OPT SPS CL3 CL2 CL1 CL0
T o p u t M P in re s e t s ta te , R S T b it m u s t b e s e t H IG H (1 ). T o c le a r M P re s e t s ig n a l a n d to e n a b le
M P , R S T m u s t b e s e t L O W (0 ).
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xB Read EMG STP MPF OPF EMGL STPL MPFL OPFL
• T h e o p e ra tin g p o w e r, re q u ire d to p o w e r th e O u tp u ts a n d O u tb o u n d P o w e r S o u rc e s is o u t o f
ra n g e . T h e o p e ra tin g p o w e r re q u ire d fo r th e O u tp u ts a n d O u tb o u n d P o w e r S o u rc e s m u s t b e
2 4 V ±2 0 % . If it is b e llo w th e p re s c rib e d ra n g e , th e O P F is s e t H IG H (1 ) a n d A E is
a u to m a tic a lly d is a b le d .
29
LS-421 Technical Reference
T h e c u rre n t O P F v a lu e is la tc h e d a s O P F L a t th e m o m e n t w h e n a m p lifie rs a re d is a b le d (A E tu rn s
L O W ).
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xB Read EMG STP MPF OPF EMGL STPL MPFL OPFL
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xB Read EMG STP MPF OPF EMGL STPL MPFL OPFL
Note
A c tiv a tin g th e e m e rg e n c y s to p w ill tu rn o ff S P S a n d w ill d is a b le a ll o th e r p o w e r
s o u rc e s a n d o u tp u ts .
30
LS-421 Technical Reference
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xB Read EMG STP MPF OPF EMGL STPL MPFL OPFL
Note
C u rre n t L im it V io la tio n e v e n t w ill n o t b e g e n e ra te d w h e n th e c u rre n t lim it
p ro te c tio n m o d e is s e t to “c u rre n t lim ita tio n ” a n d n o t “s h u td o w n ”. T h e J 3 ju m p e r
s e ttin g c o n tro ls th is m o d e . S e e “C u rre n t L im it M o d e ” o n p a g e 9 .
1
T h e p rotec tion w ill ac tu ally lim it th e c u rren t to th e p rog ram m ed valu e.
31
LS-421 Technical Reference
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0x408 Write CURRENT LIMIT #0 (0 ÷ 0xF)
Base Addr + 0x409 Write CURRENT LIMIT #1 (0 ÷ 0xF)
Base Addr + 0x40A Write CURRENT LIMIT #2 (0 ÷ 0xF)
Base Addr + 0x40B Write CURRENT LIMIT #3 (0 ÷ 0xF)
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xC Read ADI MPI
Base Addr + 0xC Write EN ADI
J 2 ju m p e r b lo c k s e le c ts th e in te rru p t lin e to th e h o s t. IR Q 7 , IR Q 1 0 , IR Q 1 2 , IR Q 1 5 m a y b e u s e d .
F o r ju m p e r s e ttin g s , s e e “In s ta lla tio n : In te rru p t R e q u e s t L in e ” o n p a g e 8 .
Board Identifier
D u e to its m o d u la r d e s ig n a n d a d a p ta b le In S ys te m P ro g ra m m a b le (IS P ) a rc h ite c tu re , L S -4 2 1
m o tio n c o n tro l b o a rd a llo w s q u ic k a n d e a s y c u s to m iz a tio n s . T o p ro v id e in fo rm a tio n a b o u t th e
c u rre n t c o n tro lle r c o n fig u ra tio n , L S -4 2 1 fe a tu re s a n 8 -b it ID n u m b e r a v a ila b le to th e h o s t in ID 0 to
ID 7 re g is te rs .
32
LS-421 Technical Reference
R/W access D7 D6 D5 D4 D3 D2 D1 D0
%DVH $GGU [ Read ID3 ID2 ID1 ID0
Base Addr + 0xC07 Read ID7 ID6 ID5 ID4
T h e ID fo r th e s ta n d a rd L S -4 2 1 c o n fig u ra tio n is 0 x B 1 .
33
LS-421 Technical Reference
Interface Connectors
T h e B a s e M o d u le s u p p o rts tw o in te rfa c e c o n n e c to rs d e s ig n a te d a s C N 2 a n d C N 3 . C N 3 c o n n e c to r
is th e e n try p o rt fo r th e e x te rn a l m o to r a n d o p e ra tin g p o w e r s u p p lie s . T h e e m e rg e n c y s to p in p u t
is a ls o lo c a te d th e re . A ll d ig ita l o u tp u ts a n d o u tb o u n d p o w e r s o u rc e s a re w ire d to C N 2 c o n n e c to r.
A b lo c k d ia g ra m o f C N 2 a n d C N 3 c o n n e c to rs is s h o w n b e lo w .
H -B R ID G E H -B R ID G E H -B R ID G E H -B R ID G E
M C1401A
M O T IO N P R O C E S S O R
C N 2 C ON N EC TO R
SHORT
C IR C U IT
S EN S O R
OU T7
OU T6
OU T5
OU T4
OU T3
OU T2
OU T1
OU T0
S PS OPS
OU TPU T
FUS E
FUS E
OVERLOAD
S EN S O R
OPT
FRO M
P R O T E C T IO N
L O G IC AE
OU TPU TS A N D O U TB OU N D P OW E R
C O N T R O L R E G IS T E R S
C N 3 C ON N EC TO R
E M ER G EN C Y S TOP
P OW ER
M OTO R
P O W E R (2 4 V )
O P E R AT IN G
9 72 91 0 2a
34
LS-421 Technical Reference
8
E M ER G EN C Y S TOP
7
6 O P E R AT IN G P O W E R G R O U N D ( )
5 O P E R AT IN G P O W E R (+ 2 4 V )
4
3
2
1
} M OTO R PO W E R
9729103
35
LS-421 Technical Reference
14 - OUT 0
13 - OUT 1
12 - OUT 2
11 - O U T 3
10 - OUT 4
9 - OUT5
8 - OUT6
7 - OUT7
6 - + 24 V O P S
5 - + 24 V O P T
4 - + 24 V S P S
3 - + 24 V O P E R AT IN G P O W E R (F U S E )
2 - E ME R G EN C Y S TOP
1 - O P E R AT IN G P O W E R G R O U N D
9 72 91 0 4
36
LS-421 Technical Reference
❑ I NPUT B OARD
L S -4 2 1 is a m u ltip u rp o s e m o tio n c o n tro lle r. T o ta ilo r c o n tro lle r I/O fe a tu re s to a b ro a d ra n g e o f
c u s to m a p p lic a tio n s , a ll in p u t c irc u its a re lo c a te d o n a s e p a ra te b o a rd , th e s o -c a lle d In p u t B o a rd
(IB ). IB is p lu g g e d in to B M , w h ic h s e rv e s a s a m o th e rb o a rd . A fla t rib b o n c a b le c o n n e c ts IB to th e
c o n tro lle r in te rfa c e c o n n e c to r, m o u n te d o n th e fro n t p a n e l.
Note
T h e fro n t p a n e l c o n n e c to r a n d th e in p u t b o a rd m a y b e o rd e re d in d iffe re n t
c u s to m d e s ig n e d c o n fig u ra tio n s fo r s p e c ific a p p lic a tio n s . T h e s ta n d a rd L S -4 2 1
In p u t B o a rd is L S -4 2 1 -2 1 1 2 .
9737100
In p u t B o a rd L S -4 2 1 -2 1 1 2 fe a tu re s :
• O p to is o la te d in te rfa c e a n d p o w e r s u p p ly fo r u p to 4 in c re m e n ta l e n c o d e rs
• 4 -c h a n n e l o p to is o la te d re c e iv e r, p o w e r s u p p ly a n d b a c k u p b a tte ry fo r u p to 4 m u lti-tu rn
a b s o lu te p o s itio n e n c o d e rs . T w o o f th e c h a n n e ls o v e rla p tw o o f th e g e n e ra l-p u rp o s e d ig ita l
o p to is o la te d in p u ts a n d m a y b e a lte rn a tiv e ly u s e d a s s u c h .
• A ll in p u t lin e s a n d e n c o d e r s ig n a ls a re p ro c e s s e d b y In S ys te m P ro g ra m m a b le (IS P ) lo g ic
d e v ic e fo r m a x im u m fle x ib ility
37
LS-421 Technical Reference
9737904a
38
LS-421 Technical Reference
9737903
O n L S -4 2 1 -2 1 1 2 in p u t b o a rd th e o p e ra tio n a l p o w e r is u s e d to p o w e r th e in p u ts . T h e
c o rre s p o n d in g s e n s o r s h o u ld b e c o n n e c te d b e tw e e n th e in p u t a n d th e o p e ra tin g p o w e r g ro u n d
(fo r th e s ta n d a rd in te rfa c e w irin g th e o p e ra tin g p o w e r g ro u n d is a t p in W ).
Note
T h e s e n s o r s h o u ld b e a b le to s in k 1 0 m A @ 2 4 V in o rd e r to a c tiv a te th e in p u t.
T h e h o s t c a n c h e c k in p u ts s ta te re a d in g th e in p u t re g is te r b its IN 0 to IN 1 5 . W h e n a n in p u t is
a c tiv a te d (th e re is c u rre n t) th e s ta te o f th e c o rre s p o n d in g b it is L O W (0 ).
39
LS-421 Technical Reference
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0x8 Read IN7 IN6 IN5 IN4 IN3 IN2 IN1 IN0
Base Addr + 0x9 Read IN15 IN14 IN13 IN12 IN11 IN10 IN9 IN8
9737905
Note
T o a c tiv a te A P E 0 , A P E 1 , IN 0 /A P E 2 , IN 1 /A P E 3 , th e lo a d s h o u ld b e a b le to s in k
20mA @ 5V.
40
LS-421 Technical Reference
9738902
Note:
W ith IB L S -4 2 1 -2 1 1 2 th e s e le c te d s tro b e in p u t b e c o m e s th e c o m m o n s tro b e fo r
a ll fo u r s e rv o c o n tro lle d m o tio n a x e s .
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xE Write PCS3 PCS2 PCS1 PCS0 APE RES
41
LS-421 Technical Reference
# PCS3 PCS2 PCS1 PCS0 Channel#0 Channel#1 Channel#2 Channel#3 Act. level
0 0 0 0 0 IN6 IN6 IN6 IN6 Low
1 0 0 0 1 IN6 IN6 IN6 IN6 High
2 0 0 1 0 IN7 IN7 IN7 IN7 Low
3 0 0 1 1 IN7 IN7 IN7 IN7 High
4 0 1 0 0 Reserved Reserved Reserved Reserved -
5 0 1 0 1 Not used Not used Not used Not used -
6 0 1 1 0 IN2 IN2 IN2 IN2 Low
7 0 1 1 1 IN2 IN2 IN2 IN2 High
8 1 0 0 0 IN5 IN5 IN5 IN5 Low
9 1 0 0 1 IN5 IN5 IN5 IN5 High
10 1 0 1 0 IN8 IN8 IN8 IN8 Low
11 1 0 1 1 IN8 IN8 IN8 IN8 High
12 1 1 0 0 IN9 IN9 IN9 IN9 Low
13 1 1 0 1 IN9 IN9 IN9 IN9 High
14 1 1 1 0 Index#0 Index#1 Index#2 Index#3 Low
15 1 1 1 1 Index#0 Index#1 Index#2 Index#3 Low
Note
T h e s ta n d a rd v e rs io n o f L S -4 2 1 -2 1 1 2 d o e s n o t s u p p o rt th is o p tio n .
In a c u s to m iz e d v e rs io n o f L S -4 2 1 -2 1 1 2 (p a rt n u m b e r 9 2 0 4 2 0 4 2 2 ) IN 2 , IN 3 , IN 4 , IN 5 a re
c o n fig u re d a s a d d itio n a l e m e rg e n c y s to p in p u ts . A ll fo u r in p u ts m u s t b e in a c tiv e s ta te (c o n n e c te d
to th e o p e ra tin g p o w e r g ro u n d ) to e n a b le th e p o w e r a m p lifie rs (s e e F ig u re 1 9 ). If o n e o r m o re o f
th e o p tio n a l e m e rg e n c y s to p in p u ts is d is c o n n e c te d fro m th e o p e ra tin g p o w e r g ro u n d , th e p o w e r
a m p lifie rs a re a u to m a tic a lly d is a b le d a n d th e O u tp u t P o w e r S u p p ly (O P S ) is s w itc h e d o ff.
S T P b it in th e s ta tu s re g is te r is s e t H IG H (1 ) if a t le a s t o n e o f th e o p tio n a l e m e rg e n c y s to p in p u ts
is le ft o p e n . T h e v a lu e o f S T P is la tc h e d in S T P L d u rin g A E tra n s itio n H IG H to L O W . S e e
“O p tio n a l E m e rg e n c y S to p In p u ts ” o n p a g e 3 0 .
42
LS-421 Technical Reference
A9729002
43
LS-421 Technical Reference
9737906
T o p re v e n t v o lta g e d ro p a c ro s s lo n g in te rfa c e c a b le s , L S -4 2 1 p ro v id e s + 9 V fo r e n c o d e r p o w e r.
A n a d d itio n a l v o lta g e re g u la to r (7 8 0 5 ) is re q u ire d . It s h o u ld b e lo c a te d c lo s e to th e e n c o d e rs .
9737907
44
LS-421 Technical Reference
• S A 3 5 -1 1 /2 4 b it-L P S -5 V
• S A 5 6 -1 1 /2 4 b it-L P S -5 V
S A 3 5 /5 6 s e rie s e n c o d e rs c o n s is t o f tw o m o d u le s – in c re m e n ta l a n d a b s o lu te , w h ic h fu n c tio n
s im u lta n e o u s ly a n d in d e p e n d e n tly o f e a c h o th e r.
T h e in c re m e n ta l m o d u le fu n c tio n s a s a s ta n d a rd in c re m e n ta l e n c o d e r. It s h o u ld b e c o n n e c te d to
L S -4 2 1 -2 1 1 2 in c re m e n ta l e n c o d e r in te rfa c e . S e e “In c re m e n ta l E n c o d e r In te rfa c e ” o n p a g e 4 3 .
D a ta fro m th e S A 3 5 /5 6 in c re m e n ta l e n c o d e r is re c e iv e d a n d p ro c e s s e d b y th e M o tio n P ro c e s s o r.
T h e re c e iv e r w o rk s o n re q u e s t. T yp ic a lly, it is in s ta n d b y m o d e a n d w a its fo r th e n e x t re q u e s t
c o m m a n d . A ll fo u r m u lti-tu rn a b s o lu te e n c o d e rs s h a re a s in g le re g is te r fo r 2 4 -b it p o s itio n d a ta
a n d 6 -b it s ta tu s . B y w ritin g to o n e o f th e fo u r re q u e s t re g is te rs (R E Q A P E # 0 to R E Q A P E # 3 ) th e
h o s t s e le c ts o n e o f th e e n c o d e r in p u ts A P E 0 , A P E 1 , IN 0 /A P E 2 , IN 1 /A P E 3 a n d e n a b le s th e
re c e iv e r. T h is a ls o s e ts L O W (0 ) th e A P E R D Y fla g .
O n c e A P E R D Y fla g tu rn s H IG H , A P E d a ta a n d s ta tu s a re v a lid a n d m a y b e re a d b y th e h o s t. T h e
d a ta is a v a ila b le in th e A P E D A T A re g is te r, b its 0 to 2 3 , w h e re 2 3 is th e M S B . T h e m in im a l tim e
to c o m p le te th e re q u e s t is 6 7 ÷1 0 9 µs . In n o is y e n v iro n m e n t th is tim e m a y in c re a s e . If th e
re c e iv e r d e te c ts a n e rro r, it w ill d is c a rd re c e iv e d d a ta a n d a u to m a tic a lly s ta rt n e w a c q u irin g
p ro c e d u re . In m o s t c a s e s th e re q u e s t w ill b e c o m p le te d fo r le s s th a n 1 m s .
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0x404 Write REQ APE#0
Base Addr + 0x405 Write REQ APE#1
Base Addr + 0x406 Write REQ APE#2
Base Addr + 0x407 Write REQ APE#3
45
LS-421 Technical Reference
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0x404 Read APE D7 APE D6 APE D5 APE D4 APE D3 APE D2 APE D1 APE D0
Base Addr + 0x405 Read APE D15 APE D14 APE D13 APE D12 APE D11 APE D10 APE D9 APE D8
Base Addr + 0x406 Read APE D23 APE D22 APE D21 APE D20 APE D19 APE D18 D17 APE D16
Base Addr + 0x407 Read APE RDY BE OF OS BA PS CE
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xE Write PCS3 PCS2 PCS1 PCS0 RES
46
LS-421 Technical Reference
A97 2900 1
47
❑
Logosol, Inc.
+M O T0 A
+M O T1 B
+M O T2 C +MO T0 +MO T1 +MO T2 +MO T3
-MO T3
+MO T3
-MO T2
+MO T2
-MO T1
+MO T1
-MO T0
+MO T0
+M O T3 D A B C D
-M O T 0 E
-M O T 1 F
OUT0 H
-M O T 2 J -MO T0 -MO T1 O UT 0 -MO T2 -MO T3
TO MO TO R TER MIN ALS
(BASE MO D ULE ) -M O T 3 K E F H J K
OUT1 L
OUT2 M
OUT3 N O UT 1 O UT 2 O UT 3 O UT 4
OUT4 P
24V
SP S
O PT
O PS
APE RES R L M N P
O UT 7
O UT 6
O UT 5
O UT 4
O UT 3
O UT 2
O UT 1
O UT 0
OUT5 S
OUT6 T
OUT7 U AP ERE S O UT 5 O UT 6 O UT 7 N.C.
W R S T U V
SPS X
TO C N 2 CO NNE C TOR OPS Y SP S O PS O PT
OPT Z
(BASE MO D ULE ) W X Y Z
2x20 F EMAL E
24V
I NTERFACE W IRING
AP E0 AP E1 IN 0/AP E 2 IN 1/AP E 3
1 2 AP E R ES AP E R ES R a b c d
3 4 AP E0 AP E0 a
5 6 AP E1 AP E1 b IN 2 IN 3
97 2 9 50 1
c a b lin g (u s e r h a rn e s s ). T h e L S -4 2 1 s ta n d a rd in te rfa c e w irin g is s h o w n b e lo w .
48
Doc. # 710420103
c u s to m iz a tio n to u s e r-d e fin e d in te rfa c e a n d p in o u t, th e in te rfa c e c o n n e c to r is d e s ig n e d a s a
L S -4 2 1 m a y b e e q u ip p e d w ith d iffe re n t in te rfa c e c o n n e c to rs . T o a llo w fa s t a n d e a s y
• O p e ra tin g p o w e r (2 4 V D C )
• M o to r p o w e r (2 4 ÷8 0 V D C ).
Caution
M o to r p o w e r s u p p ly s h o u ld b e flo a tin g . T h is is re q u ire d fo r th e p ro p e r o p e ra tio n
o f th e p ro te c tio n c irc u its . If th is re q u ire m e n t is n o t m e t th e L S -4 2 1 c o n tro lle r
a n d /o r th e u s e r e q u ip m e n t m a y b e d a m a g e d w h e n th e m o to r te rm in a ls a re
s h o rte n e d o r w ro n g ly w ire d .
C N 3 c o n n e c to r is th e e n try p o in t fo r th e e x te rn a l p o w e r s u p p lie s . A ls o , th e e m e rg e n c y s to p in p u t
is c o n n e c te d th e re . T h e s c h e m a tic s o f a typ ic a l p o w e r s u p p ly fo r L S -4 2 1 is s h o w n b e lo w .
TO LS -42 1 S E R V O C O N T R O L LE R
(C N 3 C O N N E C TO R )
M O TO R P O W E R
24 - 80 V
M A IN S ZE N E R D IO D E
30 -10 0V / 0 .5W
(O V E R V O LTA G E
S HU T D OW N)
O P E R ATIN G P O W E R
24 V
E M E R G E N C Y S TO P
9 7 2 9 92 0
49
LS-421 Technical Reference
• B o a rd Id e n tific a tio n
• E n a b le A m p lifie rs
• D is a b le A m p lifie rs
• D ia g n o s tic s
50
LS-421 Technical Reference
Board Identification
Start
Form ID number
Validate ID No End
Identif ication error
Yes
Identif ication OK
End
51
LS-421 Technical Reference
Start
Yes
RST == 0 MC1401A is already initialized
No
Activate SPS
(Set SPS = 0; Set SPS = 1)
Wait 100 mS
No
End
52
LS-421 Technical Reference
Enable Amplifiers
Start
Yes
AE == 1 The amplifiers are already enabled End
No
No
SPS == 1 SPS is not activated End
Yes
OPF == 0 No
& Operating Pow er or Motor Pow er End
are missing
MPF == 0
Yes
Yes
Moving axis ? One or more axes are moving End
No
Activate AE
(AE=0; AE=1)
Wait 150 mS
Yes
Set up Amplifier Disable Interrupt
if proper interrupt handler is installed
(EN ADI = 1)
End
53
LS-421 Technical Reference
Disable Amplifiers
Start
Disable EN ADI
(EN ADI=0)
Deactivate AE
(AE=0)
End
54
LS-421 Technical Reference
Diagnostics
Start
Y es
A E ==1 A mplif ier is enabled End
No
Y es
EMG(L) ==1 Update s tatus: Emergenc y Stop ac tiv ated
No
Ye s
Y es
ST P(L) == 1 Update s tatus: Emergenc y Input ac tiv ated
No E M G ( )L = = 1
Ye s
E m e rg e n yc So
t p p e
r s s d
e En d
Y es
MPF(L) == 1 Update s tatus: Motor Pow er Failure
NoEM GL
( ) = = 1
Ye s
Em re g n
e c y St p
o rp e s e d En d
Y es
OPF(L) == 1 Update s tatus: Operating Pow er Failure
No E M G ( )L = = 1
Ye s
E m e rg e n yc So
t p p e
r s s d
e En d
Y es
CL0 == 1 Update s tatus: A mplif ier c hannel #0 ov erloaded
NoEM GL
( ) = = 1
Ye s
Em re g n
e c y St p
o rp e s e d En d
Y es
CL1 == 1 Update s tatus: A mplif ier c hannel #1 ov erloaded
No
Y es
CL2 == 1 Update s tatus: A mplif ier c hannel #2 ov erloaded
No
Y es
CL3 == 1 Update s tatus: A mplif ier c hannel #3 ov erloaded
No
If no hardw are A mplif ier Dis able reasons
f ound,
amplif ier dis abled by s oftw are.
End
55
LS-421 Technical Reference
V. Appendix A
❑ T ECHNICAL S PECIFICATION
Basic Features
• 4 s e rv o c o n tro lle d m o tio n a x e s
• M o d u la r d e s ig n
• B u s in te rfa c e : IS A
• D S P te c h n o lo g y b a s e d o n P M D M C 1 4 0 1 A c h ip
• ±1 0 -b it P W M @ 2 5 K H z
• S -c u rv e v e lo c ity p ro file
• Q u a d ra tu re in c re m e n ta l e n c o d e r in te rfa c e (e n c o d e r p o w e r s u p p ly p ro v id e d )
• A d d itio n a l g e n e ra l p u rp o s e o p to is o la te d in p u ts a n d o u tp u ts
• F le x ib le w irin g
• E m e rg e n c y s to p in p u t
56
LS-421 Technical Reference
Motion Control
Motion Control Characteristics
Motor Output
PWM resolution ±10 bit
PWM switching frequency 25 kHz
min load inductance 200µH
typical motor power supply voltage range 24÷80 VDC
undervoltage shutdown 18 VDC
overvoltage shutdown 100 VDC
max continuous current per channel 8.5A
max short term current per channel (t < 10 sec) 10A
max continuous current per board 16A
programmable current limit for each channel 2-10A
Encoder
type incremental A, B, Z
max pulse frequency 1 MHz
optoisolated encoder inputs 20mA@5V
Power Requirements
Power Supply Characteristics
computer power supply +5V ± 5% / 1A
+12V ± 5% /1A
external operating power 24V DC ± 20%
external motor power 24÷80V DC
57
LS-421 Technical Reference
LS-421 is designed as a standard ISA bus peripheral device. To save I/O space, LS-421 uses only 16 bytes from the lowest 1024 I/O
addresses range. The rest of LS-421 registers occupy the space located at offset 0x400, 0x800 and 0xC00. For instance, if LS-421 base
address is set to 0x280, the following I/O address are in use – 0x280÷0x28F, 0x680÷0x68F, 0xA80÷0xA8F, 0xE80÷0xE8F. Eight base
addresses are available, depending on J1 setting – 0x280, 0x1280, 0x2280, 0x3280, 0x2A0, 0x12A0, 0x22A0, 0x32A0. The table below
shows LS-421 registers location relatively to controller base address. The offsets are in hexadecimal notation.
READ WRITE
D7 D6 D5 D4 D3 D2 D1 D0 D7 D6 D5 D4 D3 D2 D1 D0
0 MC1401A DATA REGISTER 0 MC1401A DATA REGISTER 0
1 READY 1 MC1401A COMMAND REGISTER 1
2 2 2
3 3 3
4 4 4
5 5 5
6 6 6
7 7 7
8 IN7 IN6 IN5 IN4 IN3 IN2 IN1 IN0 8 8
9 IN15 IN14 IN13 IN12 IN11 IN10 IN9 IN8 9 9
A AE RST OPT SPS CL3 CL2 CL1 CL0 A AE RST OPT SPS A
B EMG STP MPF OPF EMGL STPL MPFL OPFL B B
C ADI MPI C ENADI C
D OUT7 OUT6 OUT5 OUT4 OUT3 OUT2 OUT1 OUT0 D OUT7 OUT6 OUT5 OUT4 OUT3 OUT2 OUT1 OUT0 D
E E PCS3 PCS2 PCS1 PCS0 APERES E
F F F
58
LOGOSOL
Logosol, Inc.
1155 T asman Driv e
Sunny v ale, CA 94089
USA
Document No 710420103
T el: (408) 744 0974 © 1999 Logosol, Inc.
Fax: (408) 744 0977 Printed in USA
Http://www.logosolinc.com