JS Automation LSI8181 User manual

LSI8181
Quadrature Encoder/Linear Scale
Counter Card
User's Manual (V1.0)
健昇科技股份有限公司
JS AUTOMATION CORP.
新北市汐止區中興路 100 號6樓
6F., No.100, Zhongxing Rd.,
Xizhi Dist., New Taipei City, Taiwan
TEL:+886-2-2647-6936
FAX:+886-2-2647-6940
http://www.automation.com.tw
E-mail:control.card[email protected].tw

1
Correction record
Version
Record
1.0
firmware version 1.0 up

2
Contents
1. Forward...............................................................................................................................................5
2. Features...............................................................................................................................................6
2.1 Main card ....................................................................................................................................6
2.2 DIN rail mounted wiring board...................................................................................................6
3. Specifications......................................................................................................................................7
3.1 LSI8181 Main card .....................................................................................................................7
3.2 DIN rail mounted wiring board...................................................................................................8
4. Layout and dimensions.....................................................................................................................10
4.1 LSI8181 Main card ...................................................................................................................10
4.2 ADP3101DIN DIN rail mounted wiring board.........................................................................11
4.3 ADP3101DDIN DIN rail mounted wiring board......................................................................12
4.4 ADP9201DIN DIN rail mounted wiring board.........................................................................12
4.5 ADP9201DIN(N) DIN rail mounted wiring board...................................................................13
4.6 JS51053 for ADP9201_JM1 20PM DIN rail mounted dummy wiring board ..........................13
4.7 JS51050 for JM1 25PM DIN rail mounted dummy wiring board............................................14
5. Pin definitions for main card connectors..........................................................................................15
5.1 JF1 pin definitions.....................................................................................................................15
5.2 JM1 pin definition.....................................................................................................................16
5.3 ADP9201_JM1 pin definitions .................................................................................................17
6. I/O Interface diagram........................................................................................................................18
6.1 JF1 ADP3101DIN/ADP3101DDIN..........................................................................................18
6.2 JM1 JS51050.............................................................................................................................19
6.3 ADP9201_JM1 ADP9201DIN..................................................................................................20
7. Using wiring board ...........................................................................................................................22
7.1 ADP3101DIN/ADP3101DDIN wiring board...........................................................................22
7.2 ADP9201DIN wiring board......................................................................................................23
8. Main card hardware settings.............................................................................................................24
8.1 Card ID setting..........................................................................................................................24
8.2 JP1 warm reset jumper..............................................................................................................24
9. Applications......................................................................................................................................25
10. Ordering information........................................................................................................................26

3
Notes on hardware installation
Please follow step by step as you are installing the control cards.
Be sure your system is power off.
Be sure your external power supply for the wiring board is power off.
Plug your control card in slot, and make sure the golden fingers are put in right contacts.
Fasten the screw to fix the card.
Connect the cable between the card and wiring board.
Connect the external power supply for the wiring board.
Recheck everything is OK before system power on.
External power on.
Congratulation! You have it
For more detail of step by step installation guide, please refer the file
“..\download\Supplemental_technical_data\Step_by_step_installation_of_Contrl_Card.pdf “ on the CD
come with the product or download the complementary documents from
http://www.automation.com.tw/common/Supplemental_technical_data.htm

4
Warranty
The LSI8181 is warranted against defects in materials and workmanship for a period of two years
from the date of shipment, as evidenced by receipts or serial no. on board. JS automation Corp. will, at
its option, repair or replace product that proves to be defective during the warranty period. This warranty
includes parts, labor and shipping costs of returning.
Except as specified herein, JS automation Corp. makes no warranties, express or implied, and
specifically disclaims any warranty of merchantability or fitness for a particular purpose. Customer’s
right to recover damages caused by fault or negligence on the part of JS automation Corp. shall be
limited to the amount theretofore paid by the customer. JS automation Corp. will not be liable for
damages resulting from loss of data, profits, use of products, or incidental or consequential damages,
even if advised of the possibility thereof. This limitation of the liability of JS automation Corp. will
apply regardless of the form of action, whether in contract or tort, including negligence. Any action
against JS automation Corp. must be brought within one year after the cause of action accrues.
JS automation Corp. shall not be liable for any delay in performance due to causes beyond its reasonable
control. The warranty provided herein does not cover damages, defects, malfunctions, or service failures
caused by owner’s failure to follow the JS automation Corp. installation, operation, or maintenance
instructions; owner’s modification of the product; owner’s abuse, misuse, or negligent acts; and power
failure or surges, fire, flood, accident, actions of third parties, or other events outside reasonable control.
If any defect occurs, you should email to us as the following form to get the fast response:
Detailed Company Information
Company/Organization:
Contact Person:
E-mail:
Address:
Country:
Tel/Fax:
Web Site:
Product information
product model:
serial no.:
Environment to Use: such as CPU board, Operating System, target application...
description of defect: (as detail as possible)

5
1. Forward
Thank you for your selection of JAC’s product LSI8181 quadrature encoder/linear scale interface
card for industrial PC. In the field of automation, encoder and linear scale as feedback or measuring
element is common used in the microprocessor control system. But for the versatile application in
PC based control, only a few selections you can make.
With the state of the art technology of FPGA chip, photo/magnetic coupler isolation and
experienced functions such as external triggered clear counter, auto increment compare equal or
FIFO pre-programmed compare equal output to trigger external devices. Another important highlight
of this card is the target position offset compare function, this function enables the in-line CCD
camera can catch the separate pictures to sew up the full image without align the CCD center on a
line. Low cost and high performance makes this card a better choice to use in the servo control
feedback and other applications which are concerning quadrature encoder or linear scale.
Other encoder/linear scale interface card:
LSI3101/3101A single axis quadrature encoder/linear scale counter card with FIFO compare
function(PCI bus)
LSI3123A 3 axes quadrature encoder/linear scale counter card
with fast coordinate rebuild function (PCI bus)
LSI3144A 4 axes quadrature encoder/linear scale counter card
with 2 axes FIFO compare and PWM FIFO output mode (PCI bus)
LSI3181 single axis quadrature encoder/linear scale counter card
with 8 position offset on FIFO / auto increment compare mode(PCI bus)
LSI5123 3 axes quadrature encoder counter interface (USB)
LSI5123L 3 axes quadrature encoder counter interface (no external trigger latch mode) (USB)
LSI5123A 3 axes quadrature encoder counter interface (High noise immunity , Accurite linear
scale absolute coordinate mode) (USB)
LSI8101 single axis quadrature encoder/linear scale counter card with FIFO compare
function (PCIe bus)
Any comment is welcome,
please visit our website
http://www.automation.com.tw/
http://www.automation-js.com/ for the up to date information.

6
2. Features
2.1 Main card
2.1.1 PCIe plug and play function with card ID for 16 identical cards
2.1.2 High noise immunity with magnetic/photo-coupler isolation
2.1.3 Supports DIN rail mounted wiring board
2.1.4 32bit timer based on 1us time base
DIO block
2.1.5 8 photo isolated digital input
2.1.6 8 photo isolated digital output
2.1.7 Software programmable debounce for digital input
2.1.8 Software programmable I/O polarity
2.1.9 Interrupt from IN00~IN07
Quadrature counter block
2.1.10 32-bit counter
2.1.11 16 MHz max. Quadrature input rate
2.1.12 Quadrature, pulse/direction and up/down counting
2.1.13 Programmable multiple rate at X1, X2, X4
2.1.14 Software programmable debounce for input signals
2.1.15 Multiple counter reset (homing) modes
2.1.16 Differential or single-end input signal
Counter compare function block
2.1.17 3 compare mode: Single, auto increment and FIFO compare mode
2.1.18 Compare equal output gated control
2.1.19 Programmable duration for Compare output
2.1.20 Interrupt on compare equal, FIFO near end
2.1.21 8 position offset comparator
2.1.22 8 offset compare equal output (differential out)
2.1.23 Programmable duration for position offset compare output
2.2 DIN rail mounted wiring board
2.2.1 LED display for digital I/O
2.2.2 Application specific connectors
2.2.3 Step down s.p.s. for external 5V

7
3. Specifications
3.1 LSI8181 Main card
Counter block
3.1.1 Number of axes: 1
3.1.2 Input : 5 magnetic isolation (A,B,Z,CLEAR,HOME input), TTL level
3.1.3 Output : 1 magnetic isolation (compare out), TTL level
8 differential position offset compare out
3.1.4 Maximum quadrature input frequency : 16MHz x 4
3.1.5 Encoder Type: Single-end or differential
(with ADP3101DIN/ADP3101DDIN wiring board)
3.1.6 Input software programmable debounce:
512k, 1M, 2M, 4M, 8M,10M,16M
3.1.7 Input multiple rate: X1, X2, X4 programmable (quadrature signal only)
3.1.8 Counter length : 32 Bits
3.1.9 Position offset: 16 Bits
3.1.10 Counter Mode : (QUADRATURE),(CLOCK/DIRECTION),
(UP CLOCK/ DOWN CLOCK)
3.1.11 Sample clock frequency: 198MHz
3.1.12 PCIe data width : 32 Bits
3.1.13 FIFO depth : 1023
3.1.14 Compare out one shot duration : 1 ~ 65535 us
Digital block
3.1.15 Input : 8 photo-isolated ,
3.1.16 ON state : 2.8Vdc(max) 4.5mA(min)
3.1.17 OFF state : 8Vdc(min) 3mA(max)
3.1.18 Switching speed : 10KHz max. (limit by photo coupler speed and debounce filter )
3.1.19 Software debounce: 100Hz, 200Hz, 1KHZ,. No debounce (programmable)
3.1.20 Interrupt at IN00 ~ IN07
3.1.21 Output : 8 photo-isolated,
3.1.22 Output range : Open collector 0 ~ 45 Vdc (on card)
3.1.23 Output rating : (With ADP3101DIN/ADP3101DDIN wiring board)
3A @250Vac, 30Vdc (Relay)
1A @ 24Vdc (PMOS)
2A @ 240Vac (SSR)
3.1.24 Sink current : 500mA(peak) per channel (on card)
3.1.25 Switching speed : 20KHz(max)(MOS out only)

8
Timer block
3.1.26 Timer time base: 1us
3.1.27 Timer/counter length: 32 bit
General
3.1.28 Card ID : 4 bits, 16 position
3.1.29 Insulation resistance : 1000Mohm (min) at 1000Vdc
3.1.30 Isolation voltage : 2500Vac 1 min
3.1.31 Connector : one 20 pin SCSI II centronic female connector
two 20 pin flat cable connector
3.1.32 Operation temperature : 0 to +70 degree C
3.1.33 Storage temperature : -20 to +80 degree C
3.1.34 Operation humidity : 5-95% RH, non-condensing
3.1.35 Dimension : 130(W) * 102(H)mm , 5.2(W) * 4.1(H)in
3.2 DIN rail mounted wiring board
ADP3101DIN/ADP3101DDIN DIN rail mounted wiring board
3.2.1 External Supply : DC 24V ± 4V
3.2.2 Single end/ differential signal : jumper select
3.2.3 Connector: SCSI II centronic 20P cable to connect main and wiring board
3.2.4 On board build-in s.p.s. : DC+5V 500mA (max)
3.2.5 Dimension : 86(W) * 103(L) *45(H)mm;
3.4(W)*4.1(L)*1.8(H)in
ADP9201DIN DIN rail mounted wiring board
3.2.6 External Supply : DC 24V ± 4V
3.2.7 Input : 8 with LED indicator
3.2.8 Output : ADP9201DIN(R) : 8 relays (3A @250Vac, 3A @30Vdc) with LED
Indicator
ADP9201DIN(N) : 8 NMOS (Sink 1A @48Vdc) with LED
indicator
ADP9201DIN(P) : 8 PMOS (Source 1A@24Vdc) with LED
indicator
ADP9201DIN(S) : 8 SSR (2A @240Vac) with LED indicator
3.2.9 Connector: One 20-pin male flat-cable connector
3.2.10 Operation Temperature: 0 to +70 degree C
3.2.11 Operation Humidity: RH5~95%, non-condensing

9
3.2.12 Dimension: ADP9201DIN(R) / (N) / (P) : 86(W) * 103(L) *45(H)mm;
3.4(W)*4.1(L)*1.8(H)in
ADP9201DIN(S) : 86(W) * 103(L) *50(H)mm
3.4(W)*4.1(L)*2.0(H)in
JS51053 20PM DIN rail mounted dummy wiring board
3.2.13 Dimension: 86(W)*79(L)*52(H)mm, 3.4(W)*3.2(L)*2.1(H)in
JS51050 for JM1 pulse handler interface
3.2.14 Connection cable ─D-type 25P cable to connect main and wiring board
3.2.15 Dimension ─86(W)*79(L)*52(H)mm, 3.4(W)*3.2(L)*2.1(H)in

10
4. Layout and dimensions
4.1 LSI8181 Main card

11
4.2 ADP3101DIN DIN rail mounted wiring board
ADP3101 V1.1 SV1.1 (to be phase out, not for new design)
ADP3101 V1.2 SV1.2

12
4.3 ADP3101DDIN DIN rail mounted wiring board
4.4 ADP9201DIN DIN rail mounted wiring board

13
4.5 ADP9201DIN(N) DIN rail mounted wiring board
4.6 JS51053 for ADP9201_JM1 20PM DIN rail mounted dummy wiring board

14
4.7 JS51050 for JM1 25PM DIN rail mounted dummy wiring board

15
5. Pin definitions for main card connectors
5.1 JF1 pin definitions
PIN
DESCRIPTIONS
PIN
DESCRIPTIONS
20
NC
10
NC
19
CMP_OUT:
compare equal output
9
NC
18
NC
8
HOME:
home limit switch input
17
NC
7
NC
16
CLR_IN-: clear- input
6
CLR_IN+: clear+ input
15
Z-: phase Z- input
5
Z+: phase Z+ input
14
B-: phase B- input
4
B+: phase B+ input
13
A-: phase A- input
3
A+: phase A+ input
12
EXTG:
common of +5Vin
2
+5Vin:
5V input from wiring board
11
EXTG:
common of +5Vin
1
+5Vin:
5V input from wiring board

16
5.2 JM1 pin definition
PIN
DESCRIPTIONS
PIN
DESCRIPTIONS
13
NC
25
NC
12
NC
24
NC
11
NC
23
EXTG: external ground
10
EXTG: external ground
22
EXTG: external ground
9
EXTG: external ground
21
CMP7_OUT-:
offset7 compare out -
8
CMP7_OUT+:
offset7 compare out +
20
CMP6_OUT-:
offset6 compare out -
7
CMP6_OUT+:
offset6 compare out +
19
CMP5_OUT-:
offset5 compare out -
6
CMP5_OUT+:
offset5 compare out +
18
CMP4_OUT-:
offset4 compare out -
5
CMP4_OUT+:
offset4 compare out +
17
CMP3_OUT-:
offset3 compare out -
4
CMP3_OUT+:
offset3 compare out +
16
CMP2_OUT-:
offset2 compare out -
3
CMP2_OUT+:
offset2 compare out +
15
CMP1_OUT-:
offset1 compare out -
2
CMP1_OUT+:
offset1 compare out +
14
CMP0_OUT-:
offset0 compare out -
1
CMP0_OUT+:
offset0 compare out +

17
5.3 ADP9201_JM1 pin definitions
PIN
Descriptions
PIN
Descriptions
20
+24Ve
19
+24Ve
18
EXTG
17
EXTG
16
EXT_OUT07
15
EXT_IN07
14
EXT_OUT06
13
EXT_IN06
12
EXT_OUT05
11
EXT_IN05
10
EXT_OUT04
9
EXT_IN04
8
EXT_OUT03
7
EXT_IN03
6
EXT_OUT02
5
EXT_IN02
4
EXT_OUT01
3
EXT_IN01
2
EXT_OUT00
1
EXT_IN00
(compare out gate input)

18
6. I/O Interface diagram
6.1 JF1 ADP3101DIN/ADP3101DDIN
6.1.1 Input diagram
Type1 input:
For differential input : A+/A-, B+/B-,
C+/C-, CLR_IN+/CLR_IN-
I/P specification:
VI(input voltage)
VIL ** (max)
0.8V
VIH ** (min)
2V
VIT+ ** (max)
0.2V
VIT- ** (min)
-0.2V
Type2 input:
For input: HOME
I/P specification:
VI(input voltage)
VIH ** (min)
1.2V
VIL ** (max)
0.8V
6.1.2 Output diagram
Type1 output:
For compare equal output: CMP_OUT
O/P specification:
VO(output voltage)
VOH ** (max)
2.8V
VOL ** (max)
0.4V
IO(output current)
Io (max)
4mA

19
6.2 JM1 JS51050
6.2.1 Output diagram
Type1 output:
For position offset compare equal output :
CMP0_OUT ~ CMP7_OUT
O/P specification:
VO(output voltage)
VOL **(max)
0.5V @20mA sink
VOH ** (min)
2.5V @20mA source
This manual suits for next models
2
Table of contents
Other JS Automation Media Converter manuals