ADLINK Technology PCI-8136M Podręcznik Użytkownika Strona 1

Przeglądaj online lub pobierz Podręcznik Użytkownika dla Cyfrowe i analogowe moduły I / O ADLINK Technology PCI-8136M. ADLINK Technology PCI-8136M User`s guide Instrukcja obsługi

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 107
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów

Podsumowanie treści

Strona 1 - User’s Guide

PCI-8136M 6-Axis Motion Controller Card User’s Guide

Strona 2

2 • Introduction Figure 1.1 Block Diagram of PCI-8136M PCI-8136MTMBUSIFSerial IO Remote IO Master #264In/64OutDRSlave #264In/64OutSlave #164In/64O

Strona 3

92 • Motion Library 5.14 2D Interpolation @Name _8136_Start_Move_XY – Start a trapezoidal 2 axes linear interpolation motion _8136_Start_Arc_XY –

Strona 4 - Getting service from ADLINK

Motion Libra • 93 Visual Basic 5.0 or higher B_8136_Start_Move_XY (ByVal CardNo As Integer, AxisArray() As Integer,ByVal PX As Long, ByVal PY As Long

Strona 5 - Table of Contents

94 • Motion Library 5.15 3D Interpolation @Name _8136_Start_Move_XYZ – start a 3 axis linear interpolation with trapezoidal velocity profile _8136_S

Strona 6

Motion Libra • 95 @ Argument CardNo: card number designated to set (Range 0 ~ 3) AxisNo: axis number designated to set (Range 0~5) PX: line x positio

Strona 7 - Table of contents • iii

96 • Motion Library 5.16 Continuous Motion @Name _8136_V_Move – Trapezoidal continuous move for one axis _8136_SV_Move – S-curve continuous move for

Strona 8 - How to Use This Guide

Motion Libra • 97 5.17 Homing @Name _8136_Home_Move – Start to search ORG pin for homing @Description _8136_Home_Move: By giving home search directi

Strona 9 - Introduction

98 • Motion Library 5.18 Motion Function @Name _8136_Motion_Stop – Stop motion for one axis _8136_C_Set_Gain – Tuning closed loop gain for one axis

Strona 10

Product Warranty/Service • 99 Product Warranty/Service ADLINK warrants that equipment furnished will be free from defects in material and workmanship

Strona 11

Introduction • 3 1.1 Functionality of PCI-8136M The PCI-8136M is composed of 6 sets of motion control module. Each control set has its own pulse ge

Strona 12 - 1.2 Features

4 • Introduction 1.2 Features The PCI-8136M gets the following features: • Compact, half size PCB • 32-bit PCI-bus, plug and play • 6 channels 16

Strona 13 - 1.3 Specifications

Introduction • 5 1.3 Specifications 1.3.1 Applicable Motors: • Stepping motors • AC or DC servomotors with pulse train input servo drivers • AC

Strona 14 - 1.3.4 General I/Os

6 • Introduction 1.3.4 General I/Os ♦ Analog Input • 6 differential input channels • Input range: Voltage: ±10V Current: ±20 mA (manually solder

Strona 15

Introduction • 7 150mA/Ch (max.) 500mA/total • Isolated voltage 2500V RMS • Throughput 10KHz(0.1ms) ♦ Pulse Input (Encoder Counter) • 6 different

Strona 16 - 1.4 Software Supporting

8 • Introduction ♦ Power Consumption: • Slot power supply(input): +5V DC ±5%, 900mA max • External power supply(input): +24V DC ±5%, 500mA max •

Strona 17 - Installation

Installation • 9 2 Installation This chapter describes how to install the PCI-8136M hardware and software correctly. Please follow the follow steps.

Strona 18 - 2.1 What You Have

10 • Installation 2.1 What You Have In addition to this User's Guide, the package includes the following items: • PCI-8136M 6-axis Motion Cont

Strona 19 - 2.2 Outline Drawing

Installation • 11 2.2 Outline Drawing Figure 2.2.1 PCB Layout of the PCI-8136M CN1 Pin Assignments: Main Connector CN2 Pi

Strona 21 - 2.4 Software Installation

12 • Installation 2.3 Hardware Installation 2.3.1 Hardware configuration PCI-8136M has plug and play PCI controller on board. The memory usage (I/O

Strona 22 - 14 • Installation

Installation • 13 2.4 Software Installation Please refer to the ADLINK All-in-one Compact Disc Manual to install it.

Strona 23 - Cable Color

14 • Installation 2.5 CN1 PIN ASSIGNMENTS: MAIN CONNECTOR The CN1 is the major connector for the Motion related I/O, including pulse output, encoder

Strona 24

Installation • 15 2.6 CN2 PIN ASSIGNMENTS: EXTERNAL POWER INPUT CN2 Pin No Name Description Cable Color 1 EXGND Grounds of the external power. B

Strona 25 - Signal Connection

16 • Installation 2.7 CN3 PIN ASSIGNMENTS: DB25 CONNECTOR The signals on CN3 are for Analog input and remote serial IO. Remote serial IO #2 Analog

Strona 26

Signal Connection • 17 3 Signal Connection The signal connections of all the I/O signals are described in this chapter. Please refer the contents of

Strona 27

18 • Signal Connection 3.1 Pulse output signals OUT and DIR There are 6-axis pulse output signals on PCI-8136M. For every axis, two pairs of OUT and

Strona 28

Signal Connection • 19 Figure 3.1.1 Pulse output (pulse generator) circuit If the driver side is open collector mode, please use any one of p

Strona 29 - Signal Connection • 21

20 • Signal Connection 3.2 Voltage output signals DAC There are 6 DAC output channels on PCI-8136M. If the closed loop control mode is set for any o

Strona 30

Signal Connection • 21 Notice that the DAC Channel 1~ 3 in CN1 and CN3 are connected inside the PCI-8136M.

Strona 31

©Copyright 2000 ADLink Technology Inc. All Rights Reserved. Manual Rev. 1.00: Oct 20, 2000 The information in this document is subject to change wit

Strona 32

22 • Signal Connection 3.3 Encoder feedback signals EA, EB and EZ The PCI-8136M provides 6 differential pulse inputs with 2500V rms isolation, and e

Strona 33 - 3.4 Analog Input

Signal Connection • 23 The input circuits of the EA, EB, EZ signals are shown as follows. Figure 3.3.1 Pulse input (encoder counter) circuit

Strona 34

24 • Signal Connection Connection to Open Collector Output To connect with open collector output, an external power supply is necessary. Some motor

Strona 35 - 3.5 Origin signal ORG

Signal Connection • 25 3.4 Analog Input The PCI-8136M provides 6 12-bit A/D channels. The analog source is selectable for each channel to be ±10V DC

Strona 36

26 • Signal Connection CN3 Pin No. Signal Name Description 20 ADC1+ ADC channel 1 (+) 7 ADC1- ADC channel 1 (-) 21 ADC2+ ADC channel 2 (+) 8

Strona 37

Signal Connection • 27 3.5 Origin signal ORG The origin signals (ORG1~ORG6) are used as input signals for origin of the mechanism. The following ta

Strona 38 - 3.8 Servo on signal SVON

28 • Signal Connection 3.6 End-Limit signals PEL and MEL There are two end-limit signals PEL and MEL for each axis. PEL indicates end limit signal

Strona 39 - 3.10 VCC Pin

Signal Connection • 29 3.7 Emergency stop signal ESTOP The emergency stop signal ESTOP is used to stop pulse output from all OUT and DIR channels. T

Strona 40 - (no connection)

30 • Signal Connection 3.8 Servo on signal SVON The SVON signals can be used as servo-on control at servo drivers or general-purpose output signals.

Strona 41 - Operation Theorem

Signal Connection • 31 3.9 General purpose output P-RDY There is one general purpose output pin on PCI-8136M. The pin assinment is shown as followin

Strona 42

Getting service from ADLINK Customer Satisfaction is always the most important thing for ADLink Tech Inc. If you need any help or service, please co

Strona 43 - 4.1.2 Voltage Compare

32 • Signal Connection 3.11 Open Loop and Closed Loop Connection All axes in PCI-8136M are free to set as open loop pulse output control or closed l

Strona 44 - 4.2 DA Conversion

Operation Theorem • 33 4 Operation Theorem This chapter describes the detail operation theorem of the PCI-8136M card. Contents of the following secti

Strona 45 - 4.3 Local DIO

34 • Operation Theorem Please refer to the following architecture diagram of PCI-8136M PCI BusPCI BusDeviceDriverI/O MapRegisterFunctionLibraryWindow

Strona 46 - 4.4.1 Pulse Input

Operation Theorem • 35 4.1 AD Conversion and Preloaded Trigger 4.1.1 ADC The PCI-8136M provides 6 Differential ADC channels. Each channel consists

Strona 47

36 • Operation Theorem Relative functions: _8136_A_Set_Compare_Value(), _8136_A_Set_Compare_Volt (), _8136_S_Set_Int_Factor() : please refer to sect

Strona 48 - This function can

Operation Theorem • 37 4.3 Local DIO 4.3.1 Digital Input The PCI-8136M provides 19 digital input channels with 2500rms isolation. The DI channel is

Strona 49 - 4.5 Pulse Output

38 • Operation Theorem 4.4 Pulse Input and Position Compare 4.4.1 Pulse Input The PCI-8136M has 6 32-bit pulse input channels for encoder counter.

Strona 50

Operation Theorem • 39 90° phase difference signals Input Mode(AB phase Mode) In this mode, the EA signal is 90° phase leading or lagging in comparis

Strona 51 - 4.6 Remote Serial IO

40 • Operation Theorem 4.4.3 Position Compare The PCI-8136M provides position compare function for all six pulse input channels. Once the counter v

Strona 52 - 1 2 3 4 5 6

Operation Theorem • 41 4.5 Pulse Output The PCI-8136M provides 6 pulse output channels. They are used to send out constant-frequency pulse trains. W

Strona 53 - 4.8.2 Close-loop control

Table of contents • i Table of Contents Chapter 1 Introduction...1 1.1 Functionality of PCI-8

Strona 54

42 • Operation Theorem Related functions: _8136_P_Initial() : please refer to section 5.2 _8136_P_Set_Output_Type(), _8136_P_Send(), _8

Strona 55 - 4.10 Trapezoidal Motion

Operation Theorem • 43 4.6 Remote Serial IO The PCI-8136M support 2 set of remote serial IO, each set may consist at most 64DI and 64DO. To use remo

Strona 56

44 • Operation Theorem 4.7 Introduction to DDA This section will introduce the DDA operating theorem that creates all those various motion function

Strona 57 - 4.11 S-Curve Profile Motion

Operation Theorem • 45 4.8 Open-loop and close-loop control This section explains the motion control algorithms provided by PCI-8136M. There are two

Strona 58

46 • Operation Theorem 4.9 Constant Velocity Motion This mode is used to operate one axis motor at constant velocity motion. The output pulse acce

Strona 59 - 4.12 2D Interpolation

Operation Theorem • 47 4.10 Trapezoidal Motion This mode is used to move one or more axes to a specified position (or distance) with a trapezoidal

Strona 60 - 100, 10000, 1.0, 2.0)

48 • Operation Theorem Relative Functions: _8136_P_Initial() refer to section 5.2 _8136_Motion_Stop() refer to section 5.18 _8136_Motion_Status() re

Strona 61 - Relative Functions:

Operation Theorem • 49 4.11 S-Curve Profile Motion This mode is used to move one axis motor to a specified position (or distance) with a S-curve vel

Strona 62 - 4.13 3D Interpolation

50 • Operation Theorem The S-curve profile motion functions are designed to always produce smooth motion. If the time for S-Curve acceleration parame

Strona 63 - 4.14 Home Return Mode

Operation Theorem • 51 4.12 2D Interpolation “Interpolation between two axes” means the two axes start simultaneously and reach their ending points

Strona 64

ii • Table of Contents Chapter 4 Operation Theorem...33 4.1 AD Conversion and Preloaded Trigger ...

Strona 65 - 4.16.3 ORG

52 • Operation Theorem The composite speed profile could be trapezoidal or s-curve velocity profile during one interpolation motion. The following gr

Strona 66 - 58 • Operation Theorem

Operation Theorem • 53 Relative Functions: _8136_P_Initial() refer to section 5.2 _8136_Motion_Stop() refer to section 5.18 _8136_Motion_Status() ref

Strona 67 - 4.17 Interrupt Control

54 • Operation Theorem 4.13 3D Interpolation The PCI-8136M supports three axes linear interpolation. Users can choose any three axes from 6 axes to

Strona 68

Operation Theorem • 55 4.14 Home Return Mode In most applications, home point is a very important reference to the coordinate of space. The PCI-8136

Strona 69

56 • Operation Theorem 4.15 Motion Parameters Setting The default setting of output pulse width for PCI-8136M is 2 micro seconds and the control lo

Strona 70 - Motion Library

Operation Theorem • 57 4.16 The Motion IO Interface There are 19 general purpose digital input and 7 digital output channels on PCI-8136M. If users

Strona 71 - 5.1 List of Functions

58 • Operation Theorem Relative Functions: _8136_M_Set_IO_Active(), refer to section 5.11 _8136_M_ORG_Status(), _8136_M_PEL_Status(), _8136_M_MEL_Sta

Strona 72 - 64 • Motion Library

Operation Theorem • 59 4.17 Interrupt Control The PCI-8136M can generate INT signal to host PC according to 8 types of interrupt factors, refer to _

Strona 73 - 5.2 Initialization

60 • Operation Theorem Use Thread to deal with Interrupt under Windows NT/95 In order to detect the interrupt signal from PCI-8136M under Windows NT/

Strona 74

Operation Theorem • 61 4. Start the thread( Use a boolean value to control the thread’s life ) ThreadOn=TRUE; AfxBeginThread(IntThreadProc,GetSafeHw

Strona 75 - 5.3 System Parameters

Table of contents • iii 5.10 Close Loop Initialization ...84 5.11 Motion Parameters ...

Strona 76

62 • Motion Library 5 Motion Library This chapter describes the supporting software for PCI-8136M cards. User can use these functions to develop appl

Strona 77 - 5.4 Card Information

Motion Libra • 63 5.1 List of Functions Initialization Section 5.2 _8136_Initial(*cardno) Interface card initialization _8136_S_Close(cardno) I

Strona 78 - 5.5 Digital I/O

64 • Motion Library _8136_INT_Disable(cardno) Remove int. event handler _8136_S_Set_Int_Factor(cardno, ax,factor,op) Set interrupt factor _8136

Strona 79 - ERR_NoError

Motion Libra • 65 5.2 Initialization @ Name _8136_Initial – Software Initialize for PCI-8136 _8136_S_Close – Software release for PCI-8136 _8136_A_I

Strona 80 - 5.6 Remote I/O

66 • Motion Library B_8136_R_Initial (ByVal CardNo As Integer, ByVal SlaveControl As Integer) As Integer @ Arguments CardNo: card number designated t

Strona 81

Motion Libra • 67 5.3 System Parameters @ Name _8136_R_Set_RIO_Clk -Set Rio clock divider _8136_A_Set_DAC_Clk - Set DAC clock divider _8136_A_Set_

Strona 82 - 5.7 Analog I/O

68 • Motion Library @ Syntax C/C++ (DOS, Windows 95/98/NT/2000) I16 _8136_R_Set_RIO_Clk(I16 CardNo, I16 SlaveNo, I16 Clk_Divider) I16 _8136_A_Set_DAC

Strona 83

Motion Libra • 69 5.4 Card Information @ Name _8136_S_Get_IRQ_Channel - Get I/O card's IRQ _8136_S_Get_Base_Addr - Get I/O card's base add

Strona 84

70 • Motion Library 5.5 Digital I/O @ Name _8136_D_Output - Digital output for one bit _8136_D_Input - Digital input for one bit _8136_D_OutputA

Strona 85 - 5.8 Pulse I/O

Motion Libra • 71 Visual Basic 5.0 or higher B_8136_D_Output(ByVal CardNo As Integer, ByVal Channe As Integer, ByVal Control As Integer) As Integer B

Strona 86

iv • How to Use This Guide How to Use This Guide This manual is designed to help you use the PCI-8136M. The manual describes how to modify various se

Strona 87

72 • Motion Library 5.6 Remote I/O @ Name _8136_R_Status - Check Remote I/O Status _8136_R_Write - Write a word to remote _8136_R_Read - Read a word

Strona 88

Motion Libra • 73 SetNo: I/O range in slave module 0: bit 0~15 1: bit 16~31 2: bit 32~47 3: bit 48~63 SetValue: 16-bit value to write

Strona 89 - 5.9 Interrupt Control

74 • Motion Library 5.7 Analog I/O @ Name _8136_A_Write_Value - Output DAC in value _8136_A_Write_Volt - Output DAC in voltage _8136_A_Read_Value -

Strona 90

Motion Libra • 75 _8136_A_Output_Control Once user wants to stop outputting any voltage from DA channel, he can use this function to close DA channel

Strona 91

76 • Motion Library I16 _8136_A_Set_Trigger_Map(I16 CardNo, I16 Channel, I16 Source) I16 _8136_A_Set_Trigger(I16 CardNo, I16 Channel, I16 Control) I

Strona 92

Motion Libra • 77 5.8 Pulse I/O @ Name _8136_P_Set_Output_Type - Set pulse output mode _8136_P_Set_Input_Type - Set pulse input mode _8136_P_Read -

Strona 93 - 5.11 Motion Parameters

78 • Motion Library _8136_P_Clear This function is for clearing the encoder counter value to zero immediately. _8136_P_Send This function is for send

Strona 94

Motion Libra • 79 I16 _8136_P_Read_Latch_Value(I16 CardNo, I16 EncNo, I32 *Value) I16 _8136_P_Set_Index_Latch(I16 CardNo, I16 WhichIndex, I16 Type);

Strona 95

80 • Motion Library Mul: for A_B type's mutiplier 0 = 0X A_B Phase 1 = 1X A_B Phase 2 = 2X A_B Phase 3 = 4X A_B Phase EncData: r

Strona 96 - 5.12 Motion Status

Motion Libra • 81 5.9 Interrupt Control @ Name _8136_INT_Enable - Set interrupt event handler _8136_INT_Disable - Remove int. event handler _8136_S_

Strona 97

Introduction • 1 1 Introduction The PCI-8136M is a 6 axes motion control card with PCI interface. It supports two kinds of motor driver, Pulse type a

Strona 98 - 5.13 PTP Movement

82 • Motion Library @ Syntax C/C++ (DOS, Windows 95/98/NT/2000) U16_8136_INT_Enable(I16 CardNo, HANDLE *phEvent); (Windows Only) U16 _8136_INT_Disabl

Strona 99

Motion Libra • 83 bit3: Home switch on bit4: Index signal on bit5: Encoder value compared bit6: Timer interrupt bit7: ADC pre-loa

Strona 100 - 5.14 2D Interpolation

84 • Motion Library 5.10 Close Loop Initialization @Name _8136_C_Initial – Closed loop motion control initialize @Description _8136_C_Initial: Ther

Strona 101

Motion Libra • 85 5.11 Motion Parameters @Name _8136_M_Set_System_Param – Set motion cycle time and speed _8136_M_Set_IO_Active – Enable/disable mot

Strona 102 - 5.15 3D Interpolation

86 • Motion Library _8136_M_Set_Feedback When users are using absolute position control motion functions, PCI-8136M will read current position counte

Strona 103 - ERR_NoError

Motion Libra • 87 2 = 128k 3 = 256k 4 = 512k 5 = 1024k CycleTime: select motion cycle time 0 = 1.024ms (for 1024k only) 1 = 2

Strona 104 - 5.16 Continuous Motion

88 • Motion Library 5.12 Motion Status @Name _8136_M_ORG_Status – Check origin point’s high/low _8136_M_PEL_Status – Check positive point’s high/low

Strona 105 - 5.17 Homing

Motion Libra • 89 I16 _8136_M_MEL_Status(I16 CardNo,I16 Channel) I16 _8136_M_ALM_Status(I16 CardNo) I16 _8136_Motion_Status(I16 CardNo,I16 AxisNo) I1

Strona 106 - 5.18 Motion Function

90 • Motion Library 5.13 PTP Movement @Name _8136_Start_TR_Move – Start a trapezoidal relative PTP move _8136_Start_SR_Move – Start a S-curve relati

Strona 107 - Product Warranty/Service

Motion Libra • 91 ByVal MaxVel As Double, ByVal Tacc As Double, ByVal Tdec As Double) B_8136_Start_TA_Move (ByVal CardNo As Integer, ByVal AxisNo As

Komentarze do niniejszej Instrukcji

Brak uwag