The information in this document is subject to change without prior
notice in order to improve reliability, design, and function and does
not represent a commitment on the part of the manufacturer.
In no event will the manufacturer be liable for direct, indirect, special, incidental, or consequential damages arising out of the use or
inability to use the product or documentation, even if advised of
the possibility of such damages.
This document contains proprietary information protected by copyright. All rights are reserved. No part of this manual may be reproduced by any mechanical, electronic, or other means in any form
without prior written permission of the manufacturer.
Trademarks
NuDAQ, NuIPC, DAQBench are registered trademarks of ADLINK
TECHNOLOGY INC.
Product names mentioned herein are used for identification purposes only and may be trademarks and/or registered trademarks
of their respective companies.
Getting Service from ADLINK
Customer Satisfaction is top priority for ADLINK Technology Inc.
Please contact us should you require any service or assistance.
ADLINK TECHNOLOGY INC.
Web Site:http://www.adlinktech.com
Sales & Service:Service@adlinktech.com
TEL:+886-2-82265877
FAX:+886-2-82265717
Address:9F, No. 166, Jian Yi Road, Chungho City,
Taipei, 235 Taiwan
Please email or FAX this completed service form for prompt and
satisfactory service.
Company Information
Company/Organization
Contact Person
E-mail Address
Address
Country
TELFAX:
Web Site
Product Information
Product Model
OS:
Environment
M/B: CPU:
Chipset: BIOS:
Please give a detailed description of the problem(s):
Table of Contents
Table of Contents..................................................................... i
List of Tables........................................................................... v
List of Figures ........................................................................ vi
Table 4-3: GPIO Interrupt Source Bit Settings ......................... 83
List of Tables v
List of Figures
Figure 1-1: Block Diagram of the PCI-8158 ................................. 2
Figure 1-2: Flow chart for building an application ........................ 4
Figure 2-1: PCB Layout of the PCI-8158 ................................... 10
viList of Figures
1Introduction
The PCI-8158 is an advanced & high-density 8-axis motion controller card with a PCI interface. It can generate high frequency
pulses (6.55MHz) to drive stepper or servomotors. As a motion
controller, it can provide 8-axis linear and circular interpolation and
continuous interpolation for continuous velocity. Changing position/speed on the fly is also available with a single axis operation.
Multiple PCI-8158 cards can be used in one system. Incremental
encoder interfaces on all eight axes provide the ability to correct
positioning errors generated by inaccurate mechanical transmissions.
The PCI-8158 is a brand new design. The carrier board has 8-axis
pulse train output control channels. For additional functions, such
as high-speed triggering or distributed I/O control, users can add
on daughter boards depending on requirements. The board has a
position compare function. For line scan applications, a motion
controller is needed to generate high speed triggering pulse and
gain the high resolution images. In this situation, adopt a DB-8150
to extend the function on PCI-8158. Not only designed for motion
control, the sensors and actuator are also key elements in
machine automation. Usually, I/O is needed to integrate the sensors and actuators in the controller. ADLINK also provides another
way to connect these devices – distributed I/O. A daughter board
can be used to achieve distributed I/O with the PCI-8158. This
configuration can save the wiring effort and physical controller
size, and is also cost-effective.
Figure 1-1 shows the functional block diagram of the PCI-8158
card. Motion control functions include trapezoidal and S-curve
acceleration/deceleration, linear and circular interpolation between
two axes and continuous motion positioning, and 13 home return
modes. All these functions and complex computations are performed internally by the ASIC, saving CPU loading.
The PCI-8158 also offers three user-friendly functions.
1. Card Index Setting:
PCI-8158 can assign the card index with the DIP switch setting.
The value is within 0 to 15. It is useful for machine makers to
Introduction 1
recognize the card index if the entire control system is very
large.
2. Emergency Input
The emergency input pin can let users wire the emergency bottom to trigger this board to stop sending pulse output once
there is any emergency situation.
3. Software’s Security Protection
For security protection design, users can set the 16-bit value
into EEPROM. Your interface program can use this EEPROM
to secure the software and hardware in order to prevent plagiarist.
Figure 1-1: Block Diagram of the PCI-8158
2Introduction
MotionCreatorPro is a Windows-based application development software package included with the PCI-8158. Motion-CreatorPro is useful for debugging a motion control system
during the design phase of a project. An on-screen display lists
all installed axes information and I/O signal status of the PCI-
8158.
Windows programming libraries are also provided for C++
compiler and Visual Basic. Sample programs are provided to
illustrate the operations of the functions.
Introduction 3
Figure 1-2 illustrates a flow chart of the recommended process
in using this manual in developing an application. Refer to the
related chapters for details of each step.
Figure 1-2: Flow chart for building an application
4Introduction
1.1Features
The following list summarizes the main features of the PCI8158 motion control system.
X 32-bit PCI bus Plug and Play (Universal)
X 8 axes of step and direction pulse output for controlling
stepping or servomotor
X Maximum output frequency of 6.55 MPPS
X Pulse output options: OUT/DIR, CW/CCW
X Programmable acceleration and deceleration time for all
modes
X Trapezoidal and S-curve velocity profiles for all modes
X 2 to 4 axes linear interpolation
X 2 axes circular interpolation
X Continuous interpolation for contour following motion
X Change position and speed on the fly
X 13 home return modes with auto searching
X Hardware backlash compensator and vibration suppression
X 2 software end-limits for each axis
X 28-bit up/down counter for incremental encoder feedback
X Home switch, index signal (EZ), positive, and negative end
limit switches interface on all axes
X 8-axis high speed position latch input
X 8-axis position compare and trigger output (Not for high
speed. For high speed triggering output, users need to buy
DB-8150 for extension.)
X All digital input and output signals are 2500Vrms isolated
X Programmable interrupt sources
X Simultaneous start/stop motion on multiple axes
X Manual pulse input interface
X Card index selection
X Security protection on EERPOM
X Dedicated emergency input pin for wiring
X Software supports a maximum of up to 12 PCI-8158 cards
Introduction 5
operation in one system
X Compact PCB design
X Includes MotionCreatorPro, a Microsoft Windows-based
application development software
X PCI-8158 libraries and utilities for Windows 2000/XP.
1.2Specifications
X Applicable Motors:
Z Stepping motors
Z AC or DC servomotors with pulse train input servo driv-
ers
X Performance:
Z Number of controllable axes: 8
Z Maximum pulse output frequency: 6.55MPPS, linear,
trapezoidal, or S-Curve velocity profile drive
Z Internal reference clock: 19.66 MHz
Z 28-bit up/down counter range: 0-268,435,455 or –
134,217,728 to +134,217,727
Z Position pulse setting range (28-bit): -134,217,728 to
+134,217,728
Z Pulse rate setting range (Pulse Ratio = 1: 65535):
0.1 PPS to 6553.5 PPS. (Multiplier = 0.1)
1 PPS to 65535 PPS. (Multiplier = 1)
6Introduction
100 PPS to 6553500 PPS. (Multiplier = 100)
X I/O Signales:
Z Input/Output signals for each axis
Z All I/O signal are optically isolated with 2500Vrms isola-
tion voltage
Z Command pulse output pins: OUT and DIR
Z Incremental encoder signals input pins: EA and EB
Z Encoder index signal input pin: EZ
Z Mechanical limit/home signal input pins: ±EL, ORG
Z Composite pins: DI / LTC(Latch) / SD(Slow-down) /
Z Servomotor interface I/O pins: INP, ALM, and ERC
Z General-purposed digital output pin: SVON, DO
Z General-purposed digital input pin: RDY, GDI
Z Pulse signal input pin: PA and PB (With Isolation)
Z Simultaneous Start/Stop signal: STA and STP
X General Specifications
Z Connectors: 68-pin SCSI-type connector
Z Operating Temperature: 0°C - 50°C
Z Storage Temperature: -20°C - 80°C
Z Humidity: 5 - 85%, non-condensing
X Power Consumption
Z Slot power supply (input): +5V DC ±5%, 900mA max
Z External power supply (input): +24V DC ±5%, 500mA
max
Z External power supply (output): +5V DC ±5%, 500mA,
max
X PCI-8158 Dimension (PCB size): 185mm(L) X 100 mm(W)
Introduction 7
1.3Supported Software
1.3.1Programming Library
Windows 2000/XP DLLs are provided for the PCI-8158 users.
These function libraries are shipped with the board.
1.3.2MotionCreatorPro
This Windows-based utility is used to setup cards, motors, and
systems. It can also aid in debugging hardware and software
problems. It allows users to set I/O logic parameters to be
loaded in their own program. This product is also bundled with
the card.
Refer to Chapter 5 for more details.
1.4Available Terminal Board
ADLINK provides the servo & steppers use terminal board for
easy connection. For steppers, we provide DIN-100S which is
pin-to-pin terminal board. For servo users, ADLINK offers DIN814M, DIN-814M-J3A, DIN-814Y and DIN-814P-A4. The suitable servos are listed as follows:
Mitsubishi J2 SuperDIN-814M
Mitsubishi J3ADIN-814M-J3A
Yaskawa Sigma IIDIN-814Y
Panasonic MINAS A4 DIN-814P-A4
Table 1-1: Available Terminal Boards
8Introduction
2Installation
This chapter describes how to install the PCI-8158. Please follow
these steps below:
X Check what you have (Section 2.1)
X Check the PCB (Section 2.2)
X Install the hardware (Section 2.3)
X Install the software driver (Section 2.4)
X Understanding the I/O signal connections (Chapter 3) and
their operation (Chapter 4)
X Understanding the connector pin assignments and wiring
the connections (the remaining sections)
2.1Package Contents
In addition to this User’s Guide, the package also includes the following items:
X PCI-8158: advanced 8-axis Servo / Stepper Motion Control
Card
X ADLINK All-in-one Compact Disc
The terminal board is an optional accessory. This would not be
included in PCI-8158 package.
If any of these items are missing or damaged, contact the dealer
from whom you purchased the product. Save the shipping materials and carton to ship or store the product in the future.
Installation 9
2.2PCI-8158 Outline Drawing
Figure 2-1: PCB Layout of the PCI-8158
X P1 / P2: Input / Output Signal Connector (100-pin)
X K1 / K2: Simultaneous Start / Stop Connector
X P3: Manual Pulsar
X S1: DIP switch for card index selection (0-15)
X J1-J16: Pulse output selection jumper (Line Driver / Open
Collector)
2.3PCI-8158 Hardware Installation
2.3.1Hardware configuration
The PCI-8158 is fully Plug and Play compliant. Hence memory
allocation (I/O port locations) and IRQ channel of the PCI card are
assigned by the system BIOS. The address assignment is done
on a board-by-board basis for all PCI cards in the system.
10Installation
2.3.2PCI slot selection
Your computer system may have both PCI and ISA slots. Do not
force the PCI card into a PC/AT slot. The PCI-8158 can be used in
any PCI slot.
2.3.3Installation Procedures
1. Read through this manual and setup the jumper according to your application
2. Turn off your computer. Turn off all accessories (printer,
modem, monitor, etc.) connected to computer. Remove
the cover from your computer.
3. Select a 32-bit PCI expansion slot. PCI slots are shorter
than ISA or EISA slots and are usually white or ivory.
4. Before handling the PCI-8158, discharge any static
buildup on your body by touching the metal case of the
computer. Hold the edge of the card and do not touch
the components.
5. Position the board into the PCI slot you have selected.
6. Secure the card in place at the rear panel of the system
unit using screws removed from the slot.
2.3.4Troubleshooting
If your system doesn’t boot or if you experience erratic operation
with your PCI board in place, it’s most likely caused by an interrupt
conflict (possibly an incorrect ISA setup). In general, the solution,
once determined it is not a simple oversight, is to consult the BIOS
documentation that comes with your system.
Check the control panel of the Windows system if the card is listed
by the system. If not, check the PCI settings in the BIOS or use
another PCI slot.
Installation 11
2.4Software Driver Installation
1. Auto run the ADLINK All-In-One CD. Choose Driver
Installation -> Motion Control -> PCI-8158
2. Follow the procedures of the installer.
3. After setup installation is completed, restart windows.
Note:Please download the latest software from the ADLINK web-
site if necessary.
12Installation
2.5P1/P2 Pin Assignments: Main Connector
P1 / P2 are the main connectors for the motion control I/O signals.
No. Name I/OFunctionNo. Name I/OFunction
1VDDO+5V power supply output51VDDO+5V power supply output
2 EXGND -Ext. power ground52 EXGND -Ext. power ground
3OUT0+ OPulse signal (+)53 OUT2+ OPulse signal (+)
4OUT0-OPulse signal (-)54 OUT2-OPulse signal (-)
5DIR0+ ODir. signal (+)55DIR2+ODir. signal (+)
6DIR0-ODir. signal (-)56DIR2-ODir. signal (-)
7SVON0 OServo On/Off57 SVON2 OServo On/Off
8ERC0ODev. ctr, clr. Signal58ERC2ODev. ctr, clr. signal
9ALM0IAlarm signal59ALM2IAlarm signal
10INP0IIn-position signal60INP2IIn-position signal
11RDY0IMulti-purpose Input signal61RDY2IMulti-purpose Input signal
12 EXGNDExt. power ground62 EXGNDExt. power ground
K1 and K2 are for simultaneous start/stop signals for multiple axes
or multiple cards.
No. NameFunction
1+5VPCI Bus power Output (VCC)
2STASimultaneous start signal input/output
3STPSimultaneous stop signal input/output
4GNDPCI Bus power ground
Table 2-2: K1/K2 Pin Assignments
Note: +5V and GND pins are provided by the PCI Bus power.
14Installation
2.7J1 to J16 Jumper Settings for Pulse Output
J1-J16 are used to set the type of pulse output signals (DIR and
OUT). The output signal type can either be differential line driver
or open collector output. Refer to Section 3.1 for detail jumper settings. The default setting is differential line driver mode. The mapping table is as follows:
JP1 & JP2 Axis 0 JP9 & JP10 Axis 4
JP3 & JP4 Axis 1 JP11 & JP12 Axis 5
JP5 & JP6 Axis 2 JP13 & JP14 Axis 6
JP7 & JP8 Axis 3 JP15 & JP16 Axis 7
Table 2-3: J1 to J16 Jumper Settings
Installation 15
2.8S1 Switch Settings for Card Index
The S1 switch is used to set the card index. For example, if you
turn 1 to ON and others are OFF. It means the card index as 1.
The value is from 0 to 15. Refer to the following table for details.
Card ID Switch Setting (ON=1)
00000
10001
20010
30011
40100
50101
60110
70111
81000
91001
101010
1110 11
121100
131101
141110
151111
Table 2-4: S1 Switch Settings
16Installation
2.9P3 Manual Pulse
The signals on P3 are for manual pulse input.
No. NameFunction (Axis)
1VDDIsolated Power +5V
2PA+Pulse A+ phase signal input
3PA-Pulse A- phase signal input
4PB+Pulse B+ phase signal input
5PB-Pulse B- phase signal input
6EXGNDExternal Ground
7N/ANot Available
8N/ANot Available
9N/ANot Available
Table 2-5: P3 Manual Pulse
Note: The +5V and GND pins are directly given by the PCI-bus
power. Therefore, these signals are not isolated.
Installation 17
18Installation
3Signal Connections
Signal connections of all I/O’s are described in this chapter. Refer
to the contents of this chapter before wiring any cable between the
PCI-8158 and any motor driver.
This chapter contains the following sections:
Section 3.1 Pulse Output Signals OUT and DIR
Section 3.2 Encoder Feedback Signals EA, EB and EZ
Section 3.3 Origin Signal ORG
Section 3.4 End-Limit Signals PEL and MEL
Section 3.5In-position signals INP
Section 3.6 Alarm signal ALM
Section 3.7 Deviation counter clear signal ERC
Section 3.8 general-purposed signals SVON
Section 3.9 General-purposed signal RDY
Section 3.10Multifunction output pin: DO/CMP
Section 3.11 Multifunction input signal DI/LTC/SD/PCS/CLR/EMG
Section 3.12Pulse input signals PA and PB
Section 3.13Simultaneous start/stop signals STA and STP
Section 3.14Termination Board
Signal Connections 19
3.1Pulse Output Signals OUT and DIR
There are 8 axis pulse output signals on the PCI-8158. For each
axis, two pairs of OUT and DIR differential signals are used to
transmit the pulse train and indicate the direction. The OUT and
DIR signals can also be programmed as CW and CCW signal
pairs. Refer to Section 4.1.1 for details of the logical characteristics of the OUT and DIR signals. In this section, the electrical characteristics of the OUT and DIR signals are detailed. Each signal
consists of a pair of differential signals. For example, OUT0 consists of OUT0+ and OUT0- signals. The following table shows all
pulse output signals on P1.
P1 Pin No. Signal NameDescriptionAxis #
3OUT0+Pulse signals (+)0
4OUT0-Pulse signals (-)0
5DIR0+Direction signal (+)0
6DIR0-Direction signal (-)0
21OUT1+Pulse signals (+)1
22OUT1-Pulse signals (-)1
23DIR1+Direction signal (+)1
24DIR1-Direction signal (-)1
53OUT2+Pulse signals (+)2
54OUT2-Pulse signals (-)2
55DIR2+Direction signal (+)2
56DIR2-Direction signal (-)2
71OUT3+Pulse signals (+)3
72OUT3-Pulse signals (-)3
73DIR3+Direction signal (+)3
74DIR3-Direction signal (-)3
Table 3-1: Pulse Output Signals OUT (P1)
20Signal Connections
Loading...
+ 190 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.