6u compactpci single board computer with dual-core intel xeon processor lv/ulv (142 pages)
Summary of Contents for ADLINK Technology DB-8151
Page 1
DB-8151 Modulized Function Board - HSL User’s Manual Manual Rev. 2.00 Revision Date: May 20, 2008 Part No: 50-14009-2000 Advance Technologies; Automate the World.
Page 2
Copyright 2008 ADLINK TECHNOLOGY INC. All Rights Reserved. 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.
Page 3
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,...
Page 6
Dimensions ..............36 Managing Slave Index in an HSL Network ......37 Before you proceed ............37 Examples ..............39 4 HSL LinkMaster Utility for DB-8151......... 43 Software Installation............44 ADLINK HSL LinkMaster Utility.......... 45 Launching the LinkMaster Utility ........45 About the LinkMaster Utility ..........
Serial single axis motion control bus DB-8153 Motionnet Master Controller Does not support I/O func- tion Table 1-1: DB-815x Series The DB-8151 offers an HSL (High Speed Link) system for distrib- uted I/O on the PCI-8154/58. HSL is an innovative distributed I/O Introduction...
Page 10
I/O, and analog I/O. This local network fea- tures rapid response, real-time scanning. Integration of multi-axis operations can also be accomplished with the DB-8151 module as the HSL architecture is ready to use on a parallel multi-axis con- troller.
Page 11
Simpler wiring for remote I/O, including discrete I/O and analog I/O modules A vast number of discrete I/O points (hundreds or more) Real-time and fast scanning High speed data acquisition The block diagram of the DB-8151 is as follows. Introduction...
1.1 Specifications Interface For use with the PCI-8154 and PCI-8158 PCI cards only The DB-8151-RJ45 must also be used when using the DB- 8151 Master Controller HSL ASIC master control 48 MHz external clock Interface RS-485 with transformer isolation Full duplex communication...
1.2 Supported Software Program Library ADLINK provides a Windows WDM driver and DLL function library for the DB-8151. These function libraries are shipped with the board and supports Windows 2000/XP. Introduction...
Installation This chapter describes how to install the DB-8151. Please follow these steps below: Check what you have (Section 2.1, page 7) Check the PCB (Section 2.2, page 8) Install the hardware (Section 2.3, page 10) Install the software driver (Section 2.4, page 12)
2.2 DB-8151 and DB-8151-RJ45 Outline Drawing Figure 2-1: DB-8151 PCB Layout DB-8151: CN1, CN2: Daughter board connectors for the PCI-8154/58 CN3: Main signal connector Installation...
2.3 DB-8151 Hardware Installation 2.3.1 Hardware configuration DB-8151 must be installed on to a PCI-8154 or PCI-8158 only. Please ensure correct orientation of the DB-8151 before it attach- ing it to the PCI-8154 or PCI-8158. 2.3.2 Installation Procedures Please follow installation procedure as follows.
ISA or EISA slots and are usually white or ivory. 6. Before handling the PCI-8154 or PCI-8158 with DB-8151 and DB-8151-RJ45, 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.
2.4 Software Driver Installation Execute the following steps: 1. Auto-run the ADLINK All-In-One CD. 2. Follow the procedures of the installation wizard. 3. After setup installation has completed, reboot the sys- tem. Installation...
2.5 DB-8151 Pin Assignments 2.5.1 CN3 Pin Description CN3 is the main DB-8151 connector linking to DB-8151-RJ45 via a 10-pin flat cable. PIN NO PIN OUT PIN 1 PIN 2 PIN 3 PIN 4 LED Signal PIN 5 RXD1 PIN 6...
2.6 DB-8151-RJ45 Pin Assignments 2.6.1 CN1 Pin Description CN1 is the main DB-8151-RJ45 connector linking to the DB- 8151 through a 10-pin flat cable. PIN NO PIN OUT PIN 1 PIN 2 PIN 3 PIN 4 LED Signal PIN 5...
HSL Slave Module The HSL is a master-slave network system that features an inno- vative distributed architecture that modularizes the communica- tion, I/O functions and signal termination. ADLINK provides a complete line of slave I/O modules and terminal bases including discrete I/O, analog I/O, and motion control to meet your applica- tion requirements.
3.1 Slave I/O Module 3.1.1 Discrete I/O Module ADLINK provides three I/O module series: DB, M and L. DB: Daughterboard form factor M: Daughterboard form factor with aluminum cover U: U-series Discrete Discrete Relay Slave Index Series Model Input Output Output Occupation 2 (Consecutive...
3.1.2 Analog I/O Module ADLINK provides M series analog I/O module. Analog Analog Slave Index Series Model Input Output Occupation HSL-AI16AO2-M-VV 2 (Leap number) HSL-AI16AO2-M-AV 2 (Leap number) HSL-AO4 Below is the selection guide. HSL - AIxAOx Signal Type: X: Input signal type, V means Discrete I/O Type: Series:...
3.1.4 General Specifications Discrete I/O Module 2500 V Photo couple isolation Ω Input impedance 4.7 k Input Voltage +24 V * -10 mA For NPN Input Current +10 mA For PNP Discrete Input ON: 11.4 V (max) For NPN OFF: 14.3 V (min) Operation Voltage (@ 24 V...
Page 29
*Note: The HSL-DI16-UL supports 5 V, 12 V, and 24 V, selected by a jumper for each channel: JDI0 - JDI15 (input voltage setting) 4.7 kΩ (@24 V , 2.74 k (@12 V ), 1.1 k (@5 V Input impedance ON: 14.0 V (max) DI_COM @ 24 V...
3.1.5 DIP Switch Setting: Notes The address (or slave index) 0 is reserved. The HSL-DI32-M, HSL-DO32-M, HSL-DI32-DB, and HSL- DO32-DB require two consecutive addresses starting from an odd number. For example, if the DIP switch is set to 3, it occupies slave index 3 and 4.
3.2 Terminal Base Available terminal bases include: HSL-TB32-U-DIN HSL-TB64-DIN HSL-TB32-M-DIN HSL-TB32-MD Features Field I/O wiring connection for HSL I/O modules Screw- or spring-type terminal for easy field wiring Power and ground connections for each signal channel Interlocking design for installation in rugged environments Power LED indicator DIN rail mounting Onboard terminator resistor...
3.2.2 Jumper Settings Since HSL is a serial transmission system, a terminator must be placed at the end of the cable. Each TB has an onboard jumper selectable terminator. The terminator must be enable only by the last module. HSL Slave Module...
3.3 HSL-HUB/Repeater Available HSL-HUB/Repeater includes: HSL-HUB HSL-Repeater Features Master to HUB, HUB to HUB, HUB to Slave link styles Supports T-bracing connection/Star connection (subsystem concept) Supports up to 2.4 km wiring distance via seven HSL-HUB/ Repeater modules One input port with three output segment ports Jumper configurable 3/6/12 Mbps transmission speed Jumper configurable full and half duplex transmission modes...
3.4 Managing Slave Index in an HSL Network 3.4.1 Before you proceed Before powering on the slave modules, you have to adjust the DIP switch. For more information, refer to section 3.1.6. Take note of the following: 1. A master controller can connect up to 63 slave indexes. For example, the PCI-7852 has two master controllers.
Page 46
Observe the motion control module rule Slave Index Transmission Transmission Module Occupation Mode Speed HSL-4XMO-CG-N/P 4 (Leap) / 4(Con- Full Duplex / Half 3/6/12 Mbps secutive) Duplex Selectable HSL-4XMO-CD-N/P 5. Special rules If you will install only one HSL-AI16AO2-M-VV or HSL- AI16AO2-M-AV and the DIP switch is set to 1 (HSL- AI16AO2-M-VV/AV only supports full duplex mode), the occupied indexes will be 1 and 3.
3.4.2 Examples The following examples are provided for user reference. All mod- ules used are set in full duplex mode. Example 1 Provided you installed two HSL-DI16DO16, two HSL-DI32-M- N, and an HSL-AI16AO2-VV with all slave modules in full duplex mode, you can have two conditions as follows: Condition 1: HSL-AI16AO2-VV operates at 6 Mbps.
Page 48
HSL-AI6AO2-M-VV is assigned as 1. Because of the special rule, users have to assign the “max_slave_No” of HSL_start(…) as 3 or call HSL_auto_start by connect_index #1. The illustration below explains this. HSL-DI16DO16 Consequently, the cycle time of the first master controller is 30.33 µs x 6 and the cycle time of the second master controller is 45.5 µs at 12 Mbps, full duplex mode.
Page 49
Example 2 Provided you installed two HSL-DI16DO16-UJ, one HSL- DI16DO16-M-NN, two HSL-DO32-M-N, one HSL-AI16AO2-VV, and two HSL-4XMO-CG-N with all slave modules in full duplex mode, you can have the following conditions: Condition 1: The HSL-AI16AO2-VV and two HSL-4XMO-CG- N operate in 6 Mbps. We recommended that you use the provided slave index con- figuration.
Page 50
and two HSL-4XMO-CG-N modules connect to another master controller. The management table below is for reference. Group 2 DIP Switch Index Occupation in HSL HSL-4XMO-CG-N #1 1, 3, 5, 7 HSL-4XMO-CG-N #2 2, 4, 6, 8 HSL-AI16AO2-M-VV 9, 11 Refer to the illustration below. The cycle time of the first master controller is 30.33µs x 7, while the cycle time of second master controller is 15.17µs x 11 at 12 Mbps, full duplex mode.
HSL LinkMaster Utility for DB-8151 After installing the HSL master controller and slave modules, install the PCI-8154/58 driver and use the LinkMaster utility to test and debug the system. This utility provides a user-friendly inter- face to easily test I/O status, including read/write the I/O data, cali- bration, and motion control.
2. The follwoing screen will appear. Figure 4-1: PCI-8154/58 Installation Page Follow the instruction to complete installation. 3. After complete the installation processes, you have to restart Windows system so that the PCI-8154/58 drivers could work normally. HSL LinkMaster Utility for DB-8151...
3. Any slave modules may be tested with this utility, includ- ing discrete I/O, analog I/O, thermocouple module, and motion control modules. For motion control utility and manipulation, refer to the HSL-4XMO user’s manual. HSL LinkMaster Utility for DB-8151...
D. Set duplex mode E. Set speed mode F. General slave selection G. Auto scan slave modules H. Show software information I. Show module information J. Test slave module K. Exit LinkMaster L. Version information HSL LinkMaster Utility for DB-8151...
Page 56
Start the test by clicking on the Test button. Press Stop to stop scanning. When you start the test, the utility con- tinuously tests each ID and shows the module type to left-column labels. Right-column labels show the counter for communication error. HSL LinkMaster Utility for DB-8151...
Page 57
Clicking on it will show a window from where you can test and debug the modules. 8. Exit. Click to close the utility. 9. About. Shows the DLL version information. The succeeding sections outline the usage of the slave module utility. HSL LinkMaster Utility for DB-8151...
Bit 4, Bit 5 and Bit 6 bits are for CHK7. When Bit 4, Bit 5, and Bit 6 are all equal to 1, a communication error occurred seven times. HSL LinkMaster Utility for DB-8151...
Bit 4, Bit 5 and Bit 6 bits are for CHK7. When Bit 4, Bit 5, and Bit 6 are all equal to 1, a communication error occurred seven times. HSL LinkMaster Utility for DB-8151...
4.2.6 HSL-DI8/HSL-DO8/HSL-DI4DO4 Utility The HSL-DI8-L, HSL-DO8-L, and HSL-DI4DO4-L series all have the same utility dialog as above. All contents are described as fol- lows. HSL LinkMaster Utility for DB-8151...
Page 61
Bit 4, Bit 5 and Bit 6 bits are for CHK7. When Bit 4, Bit 5, and Bit 6 are all equal to 1, a communication error occurred seven times. HSL LinkMaster Utility for DB-8151...
Bit 4, Bit 5 and Bit 6 bits are for CHK7. When Bit 4, Bit 5, and Bit 6 are all equal to 1, a communication error occurred seven times. HSL LinkMaster Utility for DB-8151...
7. Start Read. Enables the A/D conversion task to read back the analog input values. The values are shown in the 12th block. 8. Stop Read. Disables the A/D conversion task. HSL LinkMaster Utility for DB-8151...
Bit 4, Bit 5 and Bit 6 bits are for CHK7. When Bit 4, Bit 5, and Bit 6 are all equal to 1, a communication error occurred seven times. 4.2.9 HSL-4XMO Utility Refer to the HSL-4XMO user’s manual. HSL LinkMaster Utility for DB-8151...
Function Library: PCI-8154 + DB-8151 This chapter describes the function library for the DB-8151 HSL system. These functions can be used to develop programs in C, C++, or Visual Basic. 5.1 List of Functions This section details all the functions. The function prototypes and some common data types are decelerated in PCI_8154.h.
Page 66
_8154_db51_HSL_M_{action_name}. e.g. _8154_db51_HSL_M_start_tr_move(). As for the motion control library description, please refer to HSL- 4XMO function library manual. This manual only contains the sys- tem level function, discrete I/O control, and analog I/O control. Function Library: PCI-8154 + DB-8151...
Page 67
Stop scanning the connected slave mod- _8154_db51_HSL_stop ules _8154_db51_HSL_set_scan_condition Set scanning conditions _8154_db51_HSL_get_scan_condition Get scanning conditions Get the communication status of the _8154_db51_HSL_connect_status specified slave module Get the module status of the slave mod- _8154_db51_HSL_slave_live Function Library: PCI-8154 + DB-8151...
Page 68
Set the logic of digital output _8154_db51_HSL_D_set_int_renewal_type Set DI renewal check type Set the data bits of DI renewal _8154_db51_HSL_D_set_int_renewal_bit check for each slave _8154_db51_HSL_D_set_int_control Set DI interrupt enable or disable _8154_db51_HSL_D_wait_di_interrupt Wait DI renewal event Function Library: PCI-8154 + DB-8151...
Page 69
Read back the value of analog input _8154_db51_HSL_A_read_input channels _8154_db51_HSL_A_write_output Send out the analog output _8154_db51_HSL_A_read_output Read back the analog output data Read and write the data synchro- _8154_db51_HSL_A_sync_rw nously Get the kernel version of analog I/O _8154_db51_HSL_A_get_version module Function Library: PCI-8154 + DB-8151...
_8154_db51_HSL_stop – Stop scanning the connected slave modules _8154_db51_HSL_set_scan_condition – Set scanning con- ditions _8154_db51_HSL_get_scan_condition – Get scanning con- ditions _8154_db51_HSL_connect_status – Get the communication status of the specified slave module _8154_db51_HSL_slave_live – Get the module status of the slave module Function Library: PCI-8154 + DB-8151...
Page 71
This function is used to stop scanning the connected slave mod- ules. _8154_db51_HSL_set_scan_condition: This function is used to assign the scan rate(3/6/12M) and com- munication types(Full/half duplex). And this function needs to set up between the function _8154_db51_HSL_initial and _8154_db51_HSL_start. Function Library: PCI-8154 + DB-8151...
Page 72
*hub_number); I16 _8154_db51_HSL_connect_status (U16 card_ID, U16 slave_No, U8 *sts_data); I16 _8154_db51_HSL_slave_live (U16 card_ID, U16 slave_No, U8 *live_data); Visual Basic (Windows 98/NT/2K/XP) B_8154_db51_HSL_initial (ByVal card_ID As Integer) As Integer B_8154_db51_HSL_close (ByVal card_ID As Integer) As Integer Function Library: PCI-8154 + DB-8151...
Page 73
The valid value is from 1 to 63. transfer_rate: transfer rate setting 1: 3M 2: 6M 3: 12M hub_number: Cascaded Hub number. If no Hub in the system, the value of hub_number is set to 0. Function Library: PCI-8154 + DB-8151...
Page 74
Bit6 all are 1. It means that there are 7 times communication errors). *live_data: The module status. 1: the module is live 0: the module is die. @ Return Code ERR_No_Error ERR_Open_Driver_Fail ERR_Invalid_Board_Number ERR_Satellite_Number ERR_Connect_Index Function Library: PCI-8154 + DB-8151...
– _8154_db51_HSL_D_set_int_renewal_type renewal check type _8154_db51_HSL_D_set_int_renewal_bit – Set the data bits of DI renewal check for each DI slave module _8154_db51_HSL_D_set_int_control – Set DI interrupt enable or disable _8154_db51_HSL_D_wait_di_interrupt – Wait DI renewal event Function Library: PCI-8154 + DB-8151...
_8154_db51_HSL_D_read_all_slave_input: This function is used to read the digital input values from all slave I/O modules. In this function, all digital input values from all slave I/ O modules can be read at one time. Function Library: PCI-8154 + DB-8151...
Type 1: Generates hardware interrupt when any DI datas transi- tion are detected. Full Duplex Mode DI transition …… ID#1 ID#2 ID#3 ID#4 ID#1 ID#2 Time Driver reset state Figure 5-1: HSL DI Interrupt for Example#1 Function Library: PCI-8154 + DB-8151...
Caution: Scanning is paused while user choice the type3 of renewal type. This pause time depends on the user system perfor- mance. Consequently, when using type3, constancy(always keeping scan cycle constant) will not be maintained between scans. Function Library: PCI-8154 + DB-8151...
// slave id = 1, monitor the states of bit 0 and bit 1 _8154_db51_HSL_D_set_int_renewal_bit(1, 1, 0x003); _8154_db51_HSL_D_set_int_control(1, 1); //enable … // start wait ret =_8154_db51_HSL_D_wait_di_interrupt(1, 10000); if(ret == ERR_No_Error) // DI state trainisted and check which bits change states… }else // time out }… Function Library: PCI-8154 + DB-8151...
Page 81
As Integer, ByVal slave_No As Integer, ByVal output_logic As Integer) As Integer B_8154_db51_HSL_D_set_int_renewal_type(ByVal card_ID As Integer, ByVal type As Integer)As Integer B_8154_db51_HSL_D_set_int_renewal_bit(ByVal card_ID As Integer, ByVal slave_No As Integer, ByVal bitsOfCheck As Long) As Integer Function Library: PCI-8154 + DB-8151...
Page 82
For HSL_D_read_channel_input: The value is digital input data of the specified channel. For HSL_D_all_slave_index: It is a unsigned short array pointer. User have to create an unsigned short array which contain 63 cells. The cell index is corresponding to Function Library: PCI-8154 + DB-8151...
Page 83
The function returns if the interval elapses, even if the interrupt is nonsignaled. If time_out_ms is zero, the function tests the Di state and returns immediately. If time_out_ms is -1, the function's time- out interval never elapses(infinite). Function Library: PCI-8154 + DB-8151...
_8154_db51_HSL_A_write_output – Send out the analog output _8154_db51_HSL_A_read_output – Read back the analog output data _8154_db51_HSL_A_sync_rw – Read and write the data syn- chronously _8154_db51_HSL_A_get_version – Get the kernel version of analog I/O module Function Library: PCI-8154 + DB-8151...
This function is used to get the input range of the specified HSL AI/ O modules. _8154_db51_HSL_A_get_input_mode: This function is used to get the signal input mode of HSL AI/O modules. This is determined by hardware jumper setting. Function Library: PCI-8154 + DB-8151...
HSL AI/O modules with the specified the analog output channel. _8154_db51_HSL_A_sync_rw: This function is used to read AI data and write AO data at the specified channel synchronously of HSL AIO module. It can let users read/write the data at one time. Function Library: PCI-8154 + DB-8151...
Page 89
Integer, ByVal slave_No As Integer, ByVal ai_channel As Integer, ai_data As Double, ByVal ao_channel As Integer, ByVal ao_data As Double) As Integer B_8154_db51_HSL_A_get_version (ByVal card_ID As Integer, ByVal slave_No As Integer, ver As Integer) As Integer Function Library: PCI-8154 + DB-8151...
Page 90
*signal_range: Read back the single range of analog input set- ting. For HSL-AI16AO2-M-VV 0: ± 1.25 V 1: ± 2.5 V 2: ± 5 V 3: ± 10 V For HSL-AI16AO2-M-AV 0: ± 5mA 1: ± 10mA 2: ± 20mA 3: ± 20mA Function Library: PCI-8154 + DB-8151...
Page 91
HSL-AI16AO2-M-VV module and mA for HSL-AI16AO2-M-AV module. ao_data: The AO data of the specified channel in unit of volts. *ver: kernel version number. @ Return Code ERR_No_Error ERR_Invalid_Board_Number ERR_Connect_Index ERR_Time_Out ERR_Memory_Mapping ERR_Satellite_Number ERR_Satellite_Type ERR_Over_Max_Address ERR_AI16AO2_Signal_Range Function Library: PCI-8154 + DB-8151...
Appendix A Scan Time Table A.1 Full Duplex Mode Slave Index Cycle Time Cycle Time Cycle Time Number under 3 Mbps under 6 Mbps under 12 Mbps Base Unit 60.67 µs 30.33 µs 15.17 µs < 3(*) 182.00µs 91.00 µs 45.50 µs 303.33 µs 151.67 µs...
A.2 Half Duplex Mode Slave Index Cycle Time Cycle Time Cycle Time Number under 3 Mbps under 6 Mbps under 12 Mbps Base Unit 118 µs 59 µs 29.5 µs < 3(*) 354 µs 177 µs 88.5 µs 590 µs 295 µs 147.5 µs 1.180 ms...
Appendix B HSL-AI16AO2 Calibration B.1 Before you proceed Before calibrating the HSL-AI16AO2-M-VV and HSL-AI16AO2-M- AV, take note of the following: 1. Make sure that the signal type is single-ended. You may set this via the jumper. 2. Use a precise calibrator that can generate a precise 5 V. 3.
B.2 Calibrating the modules To calibrate the modules: 1. Press the Calibration button from the HSL-AI16AO2 util- ity. A dialog box appears. 2. Connect AI channel 1 to AGND. The AI channel index is from 0 to 15. Take note of the index. After wiring, press the AI Offset Calibration button.
Appendix C HSL-HUB/Repeater Informa- tion C.1 Recommended transfer rates, total extension distance, and number of installed HSL-HUB/Repeater Number of inserted Hubs (Repeater) Transmission Basic rate configuration 3Mbps 300 m 600 m 900 m 1.2 km 1.5 km 1.8 km 2.1 km 2.4 km 6Mbps 200 m 400 m 600 m 800 m...
C.2.2 Full duplex/6 Mbps Slave Index Number Number of inserted Hubs (Repeater) 3 (Min.) 63 (max) Basic configuration (0) 91.00 us 910.00 us 1911.00 us 164.00 us 1640.00 us 3444.00 us 236.00 us 2360.00 us 4956.00 us 308.00 us 3080.00 us 6468.00 us 380.00 us 3800.00 us 7980.00 us 452.00 us 4520.00 us 9492.00 us 524.00 us 5240.00 us 11004.00 us...
Need help?
Do you have a question about the DB-8151 and is the answer not in the manual?
Questions and answers