Professional Documents
Culture Documents
LS-221-BL
Technical Reference
L S -2 2 1 -B L 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 2 2 0 1 1 2 5 / R e v . 1 .1 - 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
C o n te n ts
1. OVERVIEW ............................................................................................................................................2
2. REQUIREMENTS...................................................................................................................................4
3. INSTALLATION ......................................................................................................................................5
4. BOARD DESCRIPTION..........................................................................................................................6
4.1. Memory Map ....................................................................................................................................8
4.2. Base Module.....................................................................................................................................8
4.2.1. Servo Channels..........................................................................................................................9
4.2.2. Built-in Power Amplifiers........................................................................................................... 10
4.2.3. Digital Outputs and Outbound Power ........................................................................................ 12
4.2.4. Servo Control and Diagnostic ................................................................................................... 14
4.2.4.1. Motion Processor Reset ...................................................................................................... 14
4.2.4.2. Servo Loop ......................................................................................................................... 14
4.2.4.3. Amplifiers Current Control................................................................................................... 17
4.2.4.4. Interrupt Processing............................................................................................................ 17
4.2.5. Board Identifier ......................................................................................................................... 18
4.2.6. Interface Connectors ................................................................................................................ 18
4.2.6.1. CN3 Connector (External Power) ........................................................................................ 20
4.2.6.2. CN2 Connector (Outputs & Outbound Power) ..................................................................... 21
4.3. Input Board..................................................................................................................................... 22
4.3.1. Digital Optoisolated Inputs........................................................................................................ 24
4.3.1.1. General Purpose Inputs ...................................................................................................... 24
4.3.1.2. Hall-sensor Inputs ............................................................................................................... 26
4.3.1.3. High Speed Position Capture Inputs.................................................................................... 26
4.3.1.4. Emergency Stop Inputs (optional) ....................................................................................... 27
4.3.2. Incremental Encoder Interface.................................................................................................. 27
4.3.3. Multi-turn Absolute Encoder Receiver....................................................................................... 28
4.4. Interface Wiring .............................................................................................................................. 30
4.5. Power Supply ................................................................................................................................. 31
5. BOARD SETUP.................................................................................................................................... 32
5.1. Base I/O Address............................................................................................................................ 32
5.2. Interrupt Line .................................................................................................................................. 32
5.3. Current Limit Mode ......................................................................................................................... 33
5.4. Servo Off Mode .............................................................................................................................. 33
6. APPLICATION NOTES......................................................................................................................... 34
7. BASIC CONTROL PROCEDURES....................................................................................................... 35
7.1. Board identification ......................................................................................................................... 35
7 .2 .B o a rd In itia liz a tio n a n d P o w e r O n ............................................................................................... 36
7.3. Enable Amplifiers ........................................................................................................................... 37
7.4. Disable amplifier............................................................................................................................. 38
7.5. Diagnostic – Finding Out the Reason Caused Amplifier Disable...................................................... 39
LS-221-BL Technical Reference
1. OVERVIEW
L o g o s o l L S -2 2 1 -B L is a p re c is io n h ig h ly in te g ra te d 2 -a x is d ig ita l 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 . L S -2 2 1 -B L is s p e c ia lly d e s ig n e d to c o n tro l 3 -p h a s e b ru s h le s s m o to rs w ith
in te g ra te d H a ll-s e n s o rs a n d q u a d ra tu re in c re m e n ta l e n c o d e rs . 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 a s s ig n m e n t o f a ll in p u ts a n d o u tp u ts to m e e t s p e c ific re q u ire m e n ts .
F E AT UR E S
• 2 -a x is
• M o d u la r d e s ig n
• IS A b u s p lu g -in b o a rd
• D S P te c h n o lo g y. P M D M C 1 2 3 1 A b a s e d
• S in u s o id a l c o m m u ta tio n
• S -c u rv e p ro file
• P ro g ra m m a b le o u tp u t c u rre n t lim it/s h u t d o w n
• 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 )
• M u lti-tu rn a b s o lu te p o s itio n e n c o d e r in te rfa c e (p o w e r a n d b a c k u p 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
T E C HNIC AL S P E C IF IC AT IO NS
M o tio n C o n tro l
Output
commutation waveform sinusoidal
PWM phases 3 per axis
PWM resolution 10 bit @ 25KHz
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 5V/20mA
Hall-sensors
type 120 degrees
optoisolated Hall-sensor inputs 5V/20mA
2 Doc. #710220125
LS-221-BL Technical Reference
P o w e r R e q u ire m e n ts
computer power supply +5V ± 5% / 1A
+12V ± 5% /1A
external operating power 24V DC ± 20%
external motor power 24÷80V DC
3 Doc. #710220125
LS-221-BL Technical Reference
2. REQUIREMENTS
Logosol LS-221-BL is a plug-in board for a standard ISA bus system. To operate LS-221-BL, the
following requirements must be fulfilled.
• IS A b u s s ys te m .
• O n e fre e 8 -b it o r 1 6 -b it b u s s lo t. L S -2 2 1 -B L its e lf re q u ire s s p a c e fo r tw o s in g le P C -b o a rd s ,
th o u g h o n ly o n e b u s s lo t c o n n e c to r is o c c u p ie d
• A m in im u m o f 5 1 2 K b yte s c o n v e n tio n a l R A M in s ta lle d
• A fre e I/O a d d re s s ra n g e x 2 8 0 ÷x 2 8 F o r x 2 A 0 ÷x 2 A F , w h e re x m a y b e 0 , 1 , 2 , 3
• P o w e r s u p p ly: + 5 V ± 5 % / 1 A , + 1 2 V ± 5 % /1 A
• A n e x te rn a l o p e ra tin g p o w e r: 2 4 V D C ± 2 0 %
• A n 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 (s e e n o te )
N o te : M o to r p o w e r s u p p ly m u st 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).
• A fa n is re q u ire d w h e n d riv in g h ig h p o w e r m o to rs (g re a te r th a n 4 8 V @ 3 A )
4 Doc. #710220125
LS-221-BL Technical Reference
3. INSTALLATION
5 Doc. #710220125
LS-221-BL Technical Reference
4. BOARD DESCRIPTION
L o g o s o l L S -2 2 1 -B L is h ig h ly in te g ra te d 2 -a x is d ig ita l 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 d e s ig n e d to c o n tro l 3 -p h a s e b ru s h le s s m o to rs w ith in te g ra te d H a ll-s e n s o rs a n d
q u a d ra tu re in c re m e n ta l e n c o d e rs . It is in te n d e d fo r h ig h p re c is io n a n d h ig h re lia b ility 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 a n e x is tin g h a rd w a re . T o a tta in a h ig h
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 . L S -2 2 1 -B L is a n a s s e m b ly o f a m o th e r-b o a rd c a lle d B a s e M o d u le (B M ), a
p lu g -in b o a rd th a t c a rie s a ll in p u t c irc u its - In p u t B o a rd (IB ), a n d In te rfa c e W irin g (IW ) to
c o n n e c t B M a n d IB to L S -2 2 1 -B L fro n t p a n e l c o n n e c to r.
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 -22 1 -B L
# 2
# 1 X C 9 5 3 6
X C 9 5 1 0 8 b 3 2 1
b 3 1 9
9729100b
9729105b
7 Doc. #710220125
LS-221-BL Technical Reference
8 Doc. #710220125
LS-221-BL 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
(C U R R E N T L IM IT A D J U S T )
T E R M IN A L R M O TO 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 S M O T OR #0
L 1 (M O T O R P O W E R O K )
T E R M IN A L T M O T O R # 0
C N 2 (O U T P U T S A N D
O UTB OUND POW E R)
L 2 (O P E R AT IN G P O W E R O K )
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 S M O T OR #1
F1 F U SE
(O P E R AT IN G P O W E R )
T E R M IN A L R M O TO R # 1
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 T M O T O R # 1
F2 F U SE
(M O T O R P O W E R )
9729101b
e n c o d e r fe e d b a c k s ig n a l. T h e e n c o d e r d e liv e rs tw o 9 0 0 p h a s e s h ifte d s ig n a ls to d e te rm in e th e
s p e e d a n d d ire c tio n o f th e m o to r's m o tio n . A t a n y tim e d u rin g th e m o v e , th e m a x im u m v e lo c ity
a n d /o r th e ta rg e t p o s itio n m a y b e c h a n g e d , a n d th e m o to r w ill a c c e le ra te o r d e c e le ra te
a c c o rd in g ly. A ll tra je c to ry p a ra m e te rs a re 3 2 -b it v a lu e s .
D u rin g th e m o tio n , o n e v e ry s a m p lin g in te rv a l, M C 1 2 3 1 A s u b tra c ts th e a c tu a l p o s itio n (fe e d
b a c k p o s itio n ) fro m th e d e s ire d o n e (p ro file g e n e ra to r p o s itio n ). T h e re s u ltin g p o s itio n e rro r is
p ro c e s s e d b y d ig ita l filte r to p ro d u c e a m o to r c o n tro l c o m m a n d . M C 1 2 3 1 A u s e s a
p ro g ra m m a b le d ig ita l P ro p o rtio n a l In te g ra l D e riv a tiv e (P ID ) filte r to c o m p e n s a te th e c o n tro l
lo o p . T h e m o to r is h e ld a t th e d e s ire d p o s itio n b y a p p lyin g a re s to rin g fo rc e th a t is p ro p o rtio n a l
to th e p o s itio n e rro r, p lu s th e in te g ra l o f th e e rro r, p lu s th e d e riv a tiv e o f th e e rro r. A ll P ID filte r
c o e ffic ie n ts a re 1 6 -b it v a lu e s .
In a d d itio n to tra je c to ry g e n e ra tio n a n d s e rv o lo o p c lo s u re th e M C 1 2 3 1 A c h ip s e t p ro v id e s
s in u s o id a l c o m m u ta tio n fo r 3 -p h a s e b ru s h le s s m o to rs . T h e c o m m u ta tio n p o rtio n o f th e c h ip s e t
u s e s a s in p u t th e m o to r c o m m a n d s ig n a l fro m s e rv o lo o p filte r. T h is p re -c o m m u ta te d c o m m a n d
is th e n m u ltip lie d b y c o m m u ta tio n v a lu e s d e riv e d fro m a n in te rn a l lo o k u p S in /C o s ta b le . T h e
c o m m u ta tio n a n g le u s e d in th e S in /C o s ta b le is d e te rm in e d b y th e p o s itio n e n c o d e r a s w e ll a s
p a ra m e te rs s e t b y th e h o s t w h ic h re la te th e s p e c ific e n c o d e r u s e d to th e m o to r m a g n e tic p o le s .
T h e e n c o d e r in d e x p u ls e is u s e d to m a in ta in c o m m u ta tio n s yn c h ro n iz a tio n .
A n o th e r fe a tu re is th e a b ility to u s e H a ll-s e n s o rs fo r p h a s e in itia liz a tio n . T h re e H a ll-s e n s o rs
in itia lly d e te rm in e th e m o to r p h a s in g a n d s in u s o id a l c o m m u ta tio n b e g in s a u to m a tic a lly. T h e
in itia liz a tio n o c c u rs w ith o u t a n y m o to r m o tio n . F o r m o to rs n o t s u p p lie d w ith H a ll-s e n s o rs , a
s p e c ia l a lg o rith m ic p h a s e -in itia liz a tio n p ro c e d u re is a v a ila b le . D u rin g th e a lg o rith m ic
in itia liz a tio n th e m o to r m a y m o v e s u d d e n ly in a n y d ire c tio n . P ro p e r s a fe ty p re c a u tio n s h o u ld b e
ta k e n to p re v e n t d a m a g e fro m th is m o v e m e n t.
F o r p ro g ra m m in g in fo rm a tio n s e e th e P M D M C 1 2 3 1 A c h ip s e t m a n u a l. T h e fo llo w in g ta b le
s h o w s m e m o ry lo c a tio n o f th e M C 1 2 3 1 A re g is te rs :
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0 R/W MC1231A DATA REGISTER
Base Addr + 1 Write MC1231A COMMAND REGISTER
Base Addr + 1 Read READY
Table 2: MC1231A register location
10 Doc. #710220125
LS-221-BL Technical Reference
M OTO R PO W E R
(F L O AT IN G )
+5V C H A N N E L #0 P O W E R A M P L IF IE R
IS O L AT E D F R O M
CO MP UTER G ROUND
M O T O R # 0 T E R M IN A L R
H C P L 2 6 31
+5V
M O T O R # 0 T E R M IN A L S
H C P L 2 6 31
+5V
F R O M M O T IO N P R O C E S S O R
P W M P R O C E S S IN G
M O T O R # 0 T E R M IN A L T
PWM
H C P L 2 6 31 OVERCURRENT
S EN S E
C H A N N E L #1 P O W E R A M P L IF IE R
M O T O R # 1 T E R M IN A L S
A M P L IF IE R E N A B L E
H O ST P R O C ES S OR
S ER V O C O N TR OL
AND
D IA G N O S T IC M O T O R P O W E R FA IL U R E
S TAT U S
TO
O P E R AT IN G P O W E R /O U T P U T FA IL U R E
E M E R G E N C Y S T O P IN P U T
S T O P IN P U T S
+12V
CO M PUTER +5V
POW ER
S U P P LY E N C O D E R P O W E R (+9 V )
+12V LM 317
9729200b
11 Doc. #710220125
LS-221-BL Technical Reference
12 Doc. #710220125
LS-221-BL Technical Reference
9729901
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xA R/W AE RST OPT SPS CL1 CL0
Base Addr + 0xD R/W OUT7 OUT6 OUT5 OUT4 OUT3 OUT2 OUT1 OUT0
Table 3: Digital outputs and outbound power registers
To activate an output or a power source, logic one must be written to the corresponding control bit.
Activating the emergency stop will turn off SPS and will disable all other power sources and outputs. For
safety reasons, to prevent an accidental turn on after an emergency, SPS is equipped with a
special double buffered logic. In order to restore SPS after being shut off by emergency stop,
SPS must be cycled off-on. SPS control bit should be first reset to logic zero and after that set to
logic one.
13 Doc. #710220125
LS-221-BL Technical Reference
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xA R/W AE RST OPT SPS CL1 CL0
Table 4: MC1231A reset control
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xA R/W AE RST OPT SPS CL1 CL0
Table 5: Amplifier Enable control
T o s e t A E s ig n a l a lo g ic o n e s h o u ld b e w ritte n to th e c o rre s p o n d in g c o n tro l b it. A E m a y b e
re s e t e ith e r b y w ritin g lo g ic z e ro to th e s a m e b it, o r a u to m a tic a lly b y s e rv o o ff c o n d itio n
g e n e ra te d b y L S -2 2 1 -B L p ro te c tio n c irc u its . F o r sa fe ty re a so n s, AE is e q u ip p e d w ith th e
sa m e d o u b le b u ffe re d lo g ic a s S P S to p re ve 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 sh u t d o w n . T o re sto re AE a fte r a n e m e rg e n c y, first a lo g ic ze ro m u st b e
w ritte n to AE c o n tro l b it. A su b se q u e n t w ritin g o f lo g ic o n e to AE c o n tro l b it w ill
c lo se th e se rvo lo o p a g a in a n d w ill e n a b le th e a m p lifie rs.
14 Doc. #710220125
LS-221-BL Technical Reference
9729302b
T h e re a re s e v e ra l s o u rc e s th a t c a n c a u s e s e rv o lo o p to b re a k .
•M o to r P o w e r F a ilu re (M P F )
T o p o w e r th e m o to rs , L S -2 2 1 -B L re q u ire s s e p a ra te p o w e r s u p p ly is o la te d fro m th e
c o m p u te r g ro u n d a n d fro m th e o p e ra tin g (2 4 V ) p o w e r s u p p ly a s w e ll. If M o to r P o w e r is
b e lo w th e u n d e rv o lta g e lim it o r a b o v e th e o v e rv o lta g e lim it, M P F is s e t to lo g ic o n e a n d
A E is a u to m a tic a lly d is a b le d . M P F is a ls o s e t to lo g ic o n e in c a s e o f le a k a g e b e tw e e n
h ig h v o lta g e m o to r c irc u its a n d a n y o f lo w v o lta g e c o m p u te r o r 2 4 V c irc u its . A c u rre n t a s
lo w a s 0 .5 m A w ill trig g e r th e p ro te c tio n . T h e c u rre n t M P F v a lu e is la tc h e d a s M P F L a t
th e m o m e n t th e s e rv o lo o p is b ro k e n .
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xB Read EMG STP MPF OPF EMGL STPL MPFL OPFL
Table 6: MPF status
15 Doc. #710220125
LS-221-BL 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
Table 7: OPF status
•E m e rg e n c y S to p In p u t (E M G )
L S -2 2 1 -B L is e q u ip p e d w ith e m e rg e n c y s to p in p u t. T o o p e ra te L S -2 2 1 -B L , a n o rm a lly
c lo s e d c o n ta c t m u s t b e c o n n e c te d to th a t in p u t. O p e n in g th e c o n ta c t w ill im m e d ia te ly
d is a b le th e a m p lifie rs a n d a ll o u tp u ts a n d w ill s h u t o ff th e o u tb o u n d p o w e r s o u rc e s . If th e
e m e rg e n c y s to p is a c tiv a te d , E M G is s e t to lo g ic o n e , o th e rw is e is re s e t to lo g ic z e ro .
E M G is c o n tin u o u s ly a v a ila b le to th e h o s t a n d th e c u rre n t E M G v a lu e is la tc h e d a s
E M G L a t th e m o m e n t th e s e rv o lo o p is b ro k e n .
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xB Read EMG STP MPF OPF EMGL STPL MPFL OPFL
Table 8: EMG status
•S to p In p u ts (S T P ) (o p tio n a l)
S o m e o f th e g e n e ra l p u rp o s e in p u ts o r a s e le c te d c o m b in a tio n o f th e m c a n b e u s e d a s
a n a d d itio n a l e m e rg e n c y s to p . T h is is a c u s to m o p tio n a n d m a y b e in s ta lle d b y u s e r
re q u e s t. B y d e fa u lt it is n o t u s e d . W h e n th e o p tio n is in s ta lle d a n d s to p in p u t is a c tiv a te d ,
S T P is s e t to lo g ic o n e . U n d e r n o rm a l c o n d itio n s S T P is lo g ic z e ro . S T P is c o n tin u o u s ly
a v a ila b le to th e h o s t a n d th e c u rre n t S T P v a lu e is la tc h e d a s S T P L a t th e m o m e n t th e
s e rv o lo o p is b ro k e n .
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xB Read EMG STP MPF OPF EMGL STPL MPFL OPFL
Table 9: STP status
•C u rre n t L im it (C L )
W h e n o n e o r m o re o f th e p o w e r a m p lifie rs re a c h th e p ro g ra m m e d c u rre n t lim it th e
c o rre s p o n d in g C L s ig n a l is s e t to lo g ic o n e . O th e rw is e C L is lo g ic z e ro . C L 0 , C L 1
re p re s e n t th e c u rre n t o v e rlo a d re s p e c tiv e ly fo r c h a n n e l 0 , 1 . W h ile th e s e rv o lo o p is
c lo s e d (i.e . A E = 1 ), C L 0 a n d C L 1 s h o w th e a c tu a l s ta te s o f th e c u rre n t lim ita tio n fo r th e
c o rre s p o n d in g c h a n n e ls . If th e s e rv o lo o p is b ro k e n (i.e . A E = 0 ), C L 0 a n d C L 1 k e e p th e
C L v a lu e s fro m th e m o m e n t th e s e rv o w a s s h u t d o w n . B y re a d in g th e re g is te r th e h o s t
c a n d e te rm in e o v e rlo a d in g o f w h ic h c h a n n e l h a d c a u s e d th e p ro b le m .
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xA Read AE RST OPT SPS CL1 CL0
Table 10: CL status
16 Doc. #710220125
LS-221-BL 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)
Table 11: Current limit registers
If J 3 ju m p e r is in s ta lle d , e a c h tim e a c h a n n e l re a c h e s th e c u rre n t lim it, th e c o rre s p o n d in g
C L s ig n a l is s e t to lo g ic o n e . T h e C L s ig n a ls a re c o n tin u o u s ly a v a ila b le to th e h o s t fo r d ia g n o s tic
p u rp o s e o r fo r a re a l tim e c o n tro l. If th e o v e rlo a d in g ta k e s p la c e fo r m o re th a n 1 0 0 m s , 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 .
S p e c ia l re g is te r la tc h e s c u rre n t C L v a lu e s a t th e m o m e n t th e s e rv o lo o p is b ro k e n . B y re a d in g
th e re g is te r th e h o s t c a n d e te rm in e w h ic h c h a n n e l h a d c a u s e d s e rv o o ff.
If J 3 is le ft o p e n , C L s ig n a ls a re fo rc e d to lo g ic z e ro . T h e s e rv o lo o p w ill re m a in c lo s e 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 .
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xC Read ADI MPI
Base Addr + 0xC Write EN ADI
Table 12: IRQ Status and Mask registers
J 2 ju m p e r b lo c k s e le c ts 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 .
17 Doc. #710220125
LS-221-BL Technical Reference
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0x807 Read ID3 ID2 ID1 ID0
Base Addr + 0xC07 Read ID7 ID6 ID5 ID4
Table 13: ID registers
B a se ad d ress+ 0 x 8 0 7 = X X X X D D D D
B a se ad d ress+ 0 x C 0 7 = X X X X D D D D
B a se M o d u le ID = D D D D D D D D
F ig u re 7 : ID n u m b e r
T h e ID fo r th e s ta n d a rd L S -2 2 1 -B L c o n fig u ra tio n is 0 x B 3 .
18 Doc. #710220125
H -B R ID G E S H -B R ID G E S
M C1231A
M O T IO N P R O C E S S O R
T R S T S R
M O T #1 M O T #0
C N 2 C ON N EC TO R
SHORT
C IR C U IT
S EN S O R
19
OU T7
OU T6
OU T5
OU T4
OU T3
OU T2
OU T1
OU T0
S PS OPS
OU TPU T
OVERLOAD
FUS E
FUS E
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
M OTO R
P OW ER
O P E R AT IN G
P O W E R (2 4 V )
E M ER G EN C Y S TOP
9 72 91 0 2b
Doc. #710220125
LS-221-BL Technical Reference
LS-221-BL 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
9729103b
20 Doc. #710220125
LS-221-BL 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 4b
21 Doc. #710220125
LS-221-BL Technical Reference
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 -2 2 1 -B L in p u t b o a rd is L S -4 2 1 -2 1 1 2 .
9737100
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 IS P (In S ys te m P ro g ra m m a b le ) lo g ic
d e v ic e fo r m a x im u m fle x ib ility.
22 Doc. #710220125
LS-221-BL Technical Reference
9737904b
23 Doc. #710220125
LS-221-BL Technical Reference
9737903b
24 Doc. #710220125
LS-221-BL Technical Reference
9737905
A P E 0 , A P E 1 a re d e s ig n e d to w o rk a s d a ta in p u ts fo r A b s o lu te P o s itio n E n c o d e rs (A P E ).
B o th in p u ts u s e + 5 V p o w e r s u p p ly. T o a c tiv a te in p u ts A P E 0 , A P E 1 lo a d s h o u ld b e a b le to s in k
20m A @ 5V.
9738902b
T w o e ig h t-b it re g is te rs re p re s e n t IN 0 ÷IN 1 5 s ta te .
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
Table 14: Input registers
25 Doc. #710220125
LS-221-BL Technical Reference
When input is activated (i.e. the sensor is closed) the corresponding input register bit is set to logic
zero. For non-activated inputs register bits are set to logic one.
9737908b
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xE Write PCS3 PCS2 PCS1 PCS0 APE RES
Table 15: PCS control registers
E ith e r lo w (in p u t is c lo s e d to th e g ro u n d ) o r h ig h (in p u t is o p e n ) le v e l m a y b e s e le c te d to
trig g e r th e c a p tu re . F o r L S -4 2 1 -2 1 1 2 s e le c te d s tro b e in p u t is c o m m o n fo r b o th a x e s . R o w 1 4 o r
1 5 s h o u ld b e s e le c te d d u rin g th e h o m e p ro c e d u re . T h is w ill a llo w e a c h a x is to c a p tu re m o to r
p o s itio n u s in g its o w n e n c o d e r in d e x s ig n a l.
26 Doc. #710220125
LS-221-BL Technical Reference
9737906b
27 Doc. #710220125
LS-221-BL Technical Reference
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 -2 2 1 -B L p ro v id e s + 9 V fo r e n c o d e r
p o w e r. A d d itio n a l 7 8 0 5 v o lta g e re g u la to r lo c a te d c lo s e to th e e n c o d e rs is re q u ire d .
9737907
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
Table 17: APE request registers
A P E d a ta a n d s ta tu s re g is te rs a re lo c a te d a s fo llo w s :
28 Doc. #710220125
LS-221-BL 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
APE RDY APE ready flag. If READY=1, data and status are valid. If READY=0, data acquiring is in
progress.
APE D23 ÷ D0 Absolute position encoder data
CE Counter error status
PS Pre-load status
BA Battery alarm
OS Over-speed
OF Over-flow
BE Battery error
R/W access D7 D6 D5 D4 D3 D2 D1 D0
Base Addr + 0xE Write PCS3 PCS2 PCS1 PCS0 RES
29 Doc. #710220125
M O T0 R A
M OT0 R N .C . N .C . M OT1 R
M O T1 R D
M OT1 T
M OT0 T
M OT1 S
M OT0 S
M OT0 R
M OT1 R
M O T0 S E A B C D
M O T0 T F
OUT0 H M OT0 S M OT0 T OU T0 M OT1 S M OT1 T
TO M O TO R TE R M IN AL S M O T1 S J
4.4. Interface Wiring
(B A SE M O D U L E ) M O T1 T K E F H J K
OUT1 L
OUT2 M
OUT3 N OU T1 OU T2 OU T3 OU T4
OUT4 P
2 4V
APE R ES R L M N P
OU T7
OU T6
OU T5
OU T4
OU T3
OU T2
OU T1
OU T0
OUT5 S
2 4V /S P S
2 4V /O P T
OUT6 T
2 4V /O P S
OUT7 U APERES OU T5 OU T6 OU T7 N .C .
W R S T U V
2 4 V /S P S X
TO C N 2 C O N N EC TO R 2 4 V /O P S Y
2 4 V /O P T Z 2 4V /S P S 2 4V /O P S 2 4V /O P T
(B A SE M O D U L E )
standard interface wiring is shown below.
W X Y Z
2 x2 0 FE MA LE
24V
APE0 APE1 IN 0 IN 1
1 2 APE RE S APE RE S R a b c d
3 4 APE0 APE0 a
5 6 APE1 APE1 b IN 2 IN 3
IN 0 /A PE 2 IN 0 c
IN 1 /A PE 3 IN 1 d e f
7 8
IN 2 IN 2 e
30
9 10 IN 3 IN 3 f
IN 4 IN 4 h
IN 5 IN 5 j IN 4 IN 5
11 1 2
IN 6 IN 6 k h j
13 14 IN 7 IN 7 l
IN 8 IN 8 m
15 16 IN 9 IN 9 n IN 6 IN 7 IN 8 IN 9
IN 1 0 IN 1 0 p
IN 11 IN 11 r k l m n
17 18 IN 1 2 IN 1 2 s
19 20 IN 1 3 IN 1 3 t
IN 1 4 IN 1 4 x IN 1 0 IN 11 IN 1 2 IN 1 3
21 22 IN 1 5 IN 1 5 y p r s t
+9 V +9 V w
23 24 +9 V +9 V
B AT B AT FF
S H IEL D E N C .G N D +9 V IN 1 4 IN 1 5
97 29 50 1b
on the front panel and is connected to the controller with a set of wires (user harness). The LS-221-BL
user-defined interface and pinout, the interface connector is designed as separate module. It is mounted
Doc. #710220125
LS-221-BL may be equipped with various interface connectors. To allow fast and easy adaptation to
LS-221-BL Technical Reference
LS-221-BL Technical Reference
Im p o rta n t: No te th a t th e m o to r p o w e r is
flo a tin g . T h is is re q u ire d fo r 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 . O th e rw is e , in c a s e o f w ro n g
w irin g o r a s h o rt c irc u it, c o n tro lle r a n d /o r u s e r
e le c tro n ic s m a y b e d a m a g e d .
T O L S -2 2 1 -B L S E R V O C O N T R O L L E R
(C N 3 C O N N E C TO R )
M OTO R PO W E R
24 - 80V
M A IN S Z E N E R D IO D E
3 0 -1 0 0 V / 0 .5 W
(O V E R V O LTA G E
SHUT DOWN)
O P E R AT IN G P O W E R
24V
E M ER G EN C Y S TOP
9 7 2 9 92 0 b
31 Doc. #710220125
LS-221-BL Technical Reference
5. BOARD SETUP
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 6b
IR Q 7 JUMPER OPEN
IR Q 1 0 JUMPER CLOSED
IR Q 1 2
IR Q 1 5
9 72 91 0 7b
32 Doc. #710220125
LS-221-BL Technical Reference
C U R R E N T L IM IT JUMPER OPEN
9 72 91 0 8b
FA S T S T O P JUMPER CLOSED
9 72 91 0 9b
33 Doc. #710220125
LS-221-BL Technical Reference
6. APPLICATION NOTES
A97 2900 2
34 Doc. #710220125
LS-221-BL Technical Reference
Start
Form ID number
Yes
Identification OK
End
35 Doc. #710220125
LS-221-BL Technical Reference
Start
Yes
RST == 0 MC1231A is already initialized
No
Initialize MC1231A
Activate SPS
(Set SPS = 0; Set SPS = 1)
Wait 100 mS
End
36 Doc. #710220125
LS-221-BL Technical Reference
Yes
AE == 1 The amplifiers are already enabled End
No
No
SPS == 1 SPS is not activated End
Yes
OPF == 0 No
& Operating Power or Motor Power End
MPF == 0 are missing
Yes
Yes
Moving axis ? One or more axes are moving End
No
Activate AE
(AE=0; AE=1)
Wait 150 mS
Yes
End
37 Doc. #710220125
LS-221-BL Technical Reference
Start
Disable EN ADI
(EN ADI=0)
Deactivate AE
(AE=0)
End
38 Doc. #710220125
LS-221-BL Technical Reference
Start
Yes
AE ==1 Amplifier is enabled End
No
Yes
EMG(L) ==1 Update status: Emergency Stop activated
No
Yes
STP(L) == 1 Update status: Emergency Input activated
Yes
No
No
Yes
OPF(L) == 1 Update status: Operating Power Failure
No
Yes
CL0 == 1 Update status: Amplifier channel #0 overloaded
No
Yes
CL1 == 1 Update status: Amplifier channel #1 overloaded
No
If no hardware Amplifier Disable reasons found,
amplifier disabled by software.
End
39 Doc. #710220125
LOGOSOL
Logosol, Inc.
1155 T asman Driv e
Sunny v ale, CA 94089
USA
Document No 710220125
T el: (408) 744 0974 © 1999 Logosol, Inc.
Fax: (408) 744 0977 Printed in USA
Http://www.logosolinc.com