Hide thumbs Also See for ADwin-light-16:

Advertisement

Quick Links

ADwin-light-16
Manual
ADwin-light-16 , manual version 2.6, August 2006

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADwin-light-16 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Jäger ADwin-light-16

  • Page 1 ADwin-light-16 Manual ADwin-light-16 , manual version 2.6, August 2006...
  • Page 2 For any questions, please don’t hesitate to contact us: Hotline: +49 6251 96320 Fax: +49 6251 5 68 19 Jäger Computergesteuerte E-Mail: info@ADwin.de Messtechnik GmbH Rheinstraße 2-4 Internet www.ADwin.de D-64653 Lorsch Germany ADwin-light-16 , manual version 2.6, August 2006...
  • Page 3: Table Of Contents

    10 ADwin-light-16-Boot ........
  • Page 4: Typographical Conventions

    Courier New and are printed in color (see also the editor of the ADbasic development environment). Bits in data (here: 16 bit) are referred to as follows: Bit No. … Bit value … Synonym ADwin-light-16 , manual version 2.6, August 2006...
  • Page 5: Information About This Manual

    Information about this manual 1 Information about this manual This manual contains comprehensive information about the operation of the ADwin-light-16 system. Additional information is available in – the manual "ADwin Driver Installation", which describes all interface installations for the ADwin systems.
  • Page 6: System Description

    The familiar, easy-to-learn BASIC instruction syntax has been extended by many more functions, in order to allow direct access to inputs and outputs as well as by functions for process control and communi- cation with the PC. ADwin-light-16 , manual version 2.6, August 2006...
  • Page 7 Windows programs to access the same ADwin system in coordination at the same time. This is of course a great advantage when pro- grams are being developed and installed. Fig. 1 – Concept of the ADwin systems ADwin-light-16 , manual version 2.6, August 2006...
  • Page 8: Adwin-Light-16

    Fig. 2 – Functional diagram (with USB interface) Analog outputs ADwin-light-16 is equipped with 2 analog outputs with 16 bit resolution and an output voltage range of -10 V ... +10 V. The output voltages of all DACs are synchronized and calibrated per software. In order to smooth the output signal, = 700 kHz.
  • Page 9 – Power adapter: a PC slot plate with power supply socket and PC-inter- nal three-pole connecting cable – power supply cable for connection between the slot plate and L16-EXT. ADwin-light-16 is available as basic version with USB connection in several Variants variants.
  • Page 10 Therefore you cannot use the counters of different add-ons at the same time. 2.2.2 Accessories The following equipment for ADwin-light-16 is available as accessory; description see page ADbasic –...
  • Page 11: Operating Environment

    ADwin Operating Environment 3 Operating Environment The board of the ADwin-light-16 may only be operated in a closed casing (already given with L16-EXT variant). According to type and accessories (see chapter 2.2.1f, delivery options / accessories) the system can be operated in 19" enclosures, control cabinets or as a mobile system (e.g.
  • Page 12: Start-Up Of The Hardware

    ADwin Start-up of the Hardware 4 Start-up of the Hardware Do not connect any signal cables to ADwin-light-16 on start-up before taking the following steps: 1. Software installation / hardware installation in the PC or 19“ rack. Follow the instructions in the manual: "ADwin Driver Installation".
  • Page 13: Inputs And Outputs

    All inputs and outputs may only be operated according to the specifications given (see Annex A-1: Technical Data). In case of doubt, ask the manufacturer of the equipment to which you intend to connect the ADwin-light-16 system with. Open inputs can cause errors – above all in an environment which is not free of any interferences.
  • Page 14 ADC 13 INPUT(-) ADC 13 INPUT(-) DAC 2 OUTPUT DAC 2 OUTPUT AGND DAC AGND DAC DAC 1 OUTPUT DAC 1 OUTPUT L16-PCI L16-EURO and L16-EXT Fig. 9 – Pin assignment inputs/outputs (female) ADwin-light-16 , manual version 2.6, August 2006...
  • Page 15: Analog Inputs And Outputs

    From Rev. B the signals of several selected analog inputs can be converted Rev. B with (sequentially) with a single instruction. The inputs are selected with SEQ_INIT, sequential control conversion is started with START_CONV and results are read with SEQ_READ. ADwin-light-16 , manual version 2.6, August 2006...
  • Page 16 (see also ADbasic manual). 5.1.3 Calculation Basis Voltage range The voltage range of the ADwin-light-16 system at the analog inputs and out- puts is –10 V to +10 V (bipolar 10 V). Allocation of digits and...
  • Page 17: Digital Inputs And Outputs

    The ADwin-light-16 system is equipped with an external trigger input Trigger input (EVENT) (EVENT). An external signal (trigger) with rising edge may be used to start pro- cesses, which are processed immediately and completely (see ADbasic man- ual, chapter "Structure of an ADbasic-Program").
  • Page 18: Impulse/Event Counter

    Inputs and Outputs 5.3 Impulse/Event Counter The ADwin-light-16 system is equipped with 2 impulse/event counters, each with 32 bits, which may be configured or read out both together or individually. With the options L16-CO1, L16-DIO1 or L16-DIO2 the counters described here are replaced by other counters.
  • Page 19 With a negative sign, the 31 bits are first inverted, one added, and then inter- preted as numerical value (2’s complement); thus, negative decimal numbers have an absolute value different to the corresponding binary value. Calculate differences only with integer numbers (LONG). ADwin-light-16 , manual version 2.6, August 2006...
  • Page 20: Ls Bus

    -1,073,741,824 Fig. 14 – Circle model for interpretation of counter values 5.4 LS Bus ADwin-light-16 provides an interface for LS bus on a 9-pin DSub connector (female); the pin assignemtn is shown on page The LS bus is a bi-directional serial bus with 5MHz clock rate.
  • Page 21 : result of the conversion read register and start conversion: 20 40 01 00 x x x x x x x x x x ADC#1 Fig. 15 – ADC hardware addresses of the control and data registers ADwin-light-16 , manual version 2.6, August 2006...
  • Page 22 1 1 latch counter value into latch A * * The bits are reset after the function has been executed. All other functions are reset by the opposing function. Fig. 18 – Counter hardware addresses of the control and data registers ADwin-light-16 , manual version 2.6, August 2006...
  • Page 23: Calibration

    Select the device number of the system to be calibrated and confirm by press- ing "OK". You will get a warning, if you haven’t selected an ADwin-light-16 system or if you have selected one with an older firm ware version. You can ignore the warning with "YES"...
  • Page 24 Connect the voltage source (or a AGND DAC and DAC1 or DAC2. DAC output) with the inputs ADC 01 or ADC 03. Please note Fig. 9 – Pin assignment inputs/outputs (female). Select "Next Step >>". ADwin-light-16 , manual version 2.6, August 2006...
  • Page 25 ADC 01 is displayed in the overview window. With Rev. B all settings of this step are done automatically. The calibration for this converter has finished. Select "OK". Repeat step 3 for the other converters if necessary. ADwin-light-16 , manual version 2.6, August 2006...
  • Page 26 On the printout you will also find the calibration settings and the date of print. With Close you return to the overview window. Step 5 The calibration is finished. ADwin-light-16 , manual version 2.6, August 2006...
  • Page 27: Co1 Counter Add-On

    ADC 13 INPUT(-) ADC 13 INPUT(-) DAC 2 OUTPUT DAC 2 OUTPUT AGND DAC AGND DAC DAC 1 OUTPUT DAC 1 OUTPUT L16-PCI L16-EURO and L16-EXT Fig. 20 – Pin assignment of L16-CO1 ADwin-light-16 , manual version 2.6, August 2006...
  • Page 28: Programming

    * The bits are reset after the function has been executed. All other functions are reset by the opposing function. Fig. 22 – CO1 hardware addresses of the control and data registers ADwin-light-16 , manual version 2.6, August 2006...
  • Page 29: Dio1 Add-On

    The pins 15/16 - in the basic version each with double functions - are now solely used as DIGIN-04 and DIGIN-05. The pin assignment of the LS bus interface is shown on page ADwin-light-16 , manual version 2.6, August 2006...
  • Page 30 DIP switches to the counters 1 and 2 (upper half, half at right) and to the CAN interface (lower left corner). The setting of the DIP switches is described in chapter 8.2 "Counters" chapter 8.3 "CAN-Bus". ADwin-light-16 , manual version 2.6, August 2006...
  • Page 31 CNTR #2 3098 XILINX-FPGA XCS20XL CAN- Controller AN82527 CAN-Term. Fig. 25 – Position of the DIP switches on the DIO1 PCB The technical data of the DIO1 add-on is shown in the Annex. ADwin-light-16 , manual version 2.6, August 2006...
  • Page 32: Digital Inputs And Outputs

    DIGIN_WORD1_E ADbasic instruc- DIGOUT_WORD2_E DIGOUT_WORD1_E tions to use: DIGOUT_SET2_E DIGOUT_SET1_E DIGOUT_RESET2_E DIGOUT_RESET1_E Fig. 26 – Configurations with CONF_DIO_E More information about programming of time-critical tasks can be found in chapter 5.5 on page ADwin-light-16 , manual version 2.6, August 2006...
  • Page 33: Counters

    CLR/LATCH from the values in latch A and latch B. • the impulse width and pause time from the values in latch A and latch B. ADwin-light-16 , manual version 2.6, August 2006...
  • Page 34 Please initialize the counters in the following order: 1. disable specified counter (CNT_ENABLE) The instruction CNT_ENABLE always accesses all counters. Even if you want to change the status (disabled/enabled) of only one counter, you ADwin-light-16 , manual version 2.6, August 2006...
  • Page 35 = 1: configure channels as output bit 2: DIO 16...23; bit 3: DIO 24...31 * Function has no effect with inputs Fig. 29 – DIO1 hardware addresses of the control and data register ADwin-light-16 , manual version 2.6, August 2006...
  • Page 36 CLR/LATCH to CLR mode CNT_SET(1) enable counter CNT_INPUTMODE(0) CNT_ENABLE(1) . . . latch current counter value to latch A EVENT: read latch A evaluation in the program CNT_LATCH(1) CNT_READLATCH(1) . . . ADwin-light-16 , manual version 2.6, August 2006...
  • Page 37 CLR/LATCH to CLR mode CNT_SET(0) enable counter CNT_INPUTMODE(0) CNT_ENABLE(1) . . . latch current counter value to latch A EVENT: read latch A evaluation in the program CNT_LATCH(1) CNT_READLATCH(1) . . . ADwin-light-16 , manual version 2.6, August 2006...
  • Page 38 ... with 20 MHz or CNT_SET(0) ... with 5 MHz CNT_SET(1) set input CLR/LATCH to LATCH mode enable counter CNT_INPUTMODE(1) CNT_ENABLE(1) . . . read latch A EVENT: evaluation in the program CNT_READLATCH(1) . . . ADwin-light-16 , manual version 2.6, August 2006...
  • Page 39 ... with 5 MHz CNT_SET(1) set input CLR/LATCH to LATCH mode enable counter CNT_INPUTMODE(1) CNT_ENABLE(1) . . . read latch A read latch B EVENT: evaluation in the program CNT_READLATCH(1) CNT_READFLATCH(1) . . . ADwin-light-16 , manual version 2.6, August 2006...
  • Page 40: Can-Bus

    In ADbasic a message is transferred to a message object using the array can_msg[][], which can receive 8 data bytes plus the amount of data bytes (9 elements). When reading a message from the message object it can also be transferred to the array can_msg[][]. ADwin-light-16 , manual version 2.6, August 2006...
  • Page 41 3...10 of the compared identifiers are identical (= 0) and the bits 0 and 1 are not compared, because they are set to zero in the global mask (= not relevant). ADwin-light-16 , manual version 2.6, August 2006...
  • Page 42 Access to the two timing registers is only possible, when the access has been enabled before. This is done by the CCE-bit in the control register. The bit has to be reset afterwards. ADwin-light-16 , manual version 2.6, August 2006...
  • Page 43 Setting and reading of registers SET_REG, GET_REG Initializing of message objects EN_RECEIVE, EN_TRANSMIT Transmitting and receiving data sets TRANSMIT, READ_MSG Enabling of interrupts EN_INTERRUPT Setting the Baud rate SET_CAN_BAUDRATE Fig. 31 – DIO1 Overview of CAN instructions ADwin-light-16 , manual version 2.6, August 2006...
  • Page 44: Ssi Decoder

    Set decoder clock rate SSI_SET_CLOCK Start reading encoder data SSI_START Return reading status SSI_STATUS The instructions are in the include file <ADWL16.INC>. More information can be found in the ADbasic manual and the online help. ADwin-light-16 , manual version 2.6, August 2006...
  • Page 45: Dio2 / Dio3 Add-On

    CLR/LATCH c) PWM analysis Fig. 33 – Block diagram of L16-DIO2 (with USB interface) The counters of the basic version are replaced by the DIO2 counters. The dig- ital inputs and outputs remain. ADwin-light-16 , manual version 2.6, August 2006...
  • Page 46 DIO-BIT 00 SIGNAL GND RESERVED RESERVED SIGNAL LOW SIGNAL HIGH RESERVED RESERVED Fig. 34 – Overview of the L16-EURO-DIO2 with pin assignments The technical data of the DIO2 add-on are shown in the Annex. ADwin-light-16 , manual version 2.6, August 2006...
  • Page 47: Digital Inputs And Outputs

    DIGOUT_WORD1_E ADbasic instruc- DIGOUT_SET2_E DIGOUT_SET1_E tions to use: DIGOUT_RESET2_E DIGOUT_RESET1_E DIGIN_LONG_E, DIGOUT_LONG_E Fig. 35 – Configurations with CONF_DIO_E More information about programming of time-critical tasks can be found in chapter 5.5 on page ADwin-light-16 , manual version 2.6, August 2006...
  • Page 48: Counters

    CLR/LATCH from the values in latch A and latch B. • the impulse width and pause time from the values in latch A and latch B. ADwin-light-16 , manual version 2.6, August 2006...
  • Page 49 2. set operating mode (CNT_MODE, CNT_SET, CNT_INPUTMODE) Please take into account that the instruction CNT_SET is dependent on the instruction CNT_MODE. 3. clear counter (CNT_CLEAR) 4. enable counter (CNT_ENABLE) ADwin-light-16 , manual version 2.6, August 2006...
  • Page 50 = 1: configure channels as output bit 2: DIO 16...23; bit 3: DIO 24...31 * Function has no effect with inputs Fig. 38 – DIO2 hardware addresses of the control and data register ADwin-light-16 , manual version 2.6, August 2006...
  • Page 51 CLR/LATCH to CLR mode CNT_SET(1) enable counter CNT_INPUTMODE(0) CNT_ENABLE(1) . . . latch current counter value to latch A EVENT: read latch A evaluation in the program CNT_LATCH(1) CNT_READLATCH(1) . . . ADwin-light-16 , manual version 2.6, August 2006...
  • Page 52 CLR/LATCH to CLR mode CNT_SET(0) enable counter CNT_INPUTMODE(0) CNT_ENABLE(1) . . . latch current counter value to latch A EVENT: read latch A evaluation in the program CNT_LATCH(1) CNT_READLATCH(1) . . . ADwin-light-16 , manual version 2.6, August 2006...
  • Page 53 ... with 20 MHz or CNT_SET(0) ... with 5 MHz CNT_SET(1) set input CLR/LATCH to LATCH mode enable counter CNT_INPUTMODE(1) CNT_ENABLE(1) . . . read latch A EVENT: evaluation in the program CNT_READLATCH(1) . . . ADwin-light-16 , manual version 2.6, August 2006...
  • Page 54 ... with 5 MHz CNT_SET(1) set input CLR/LATCH to LATCH mode enable counter CNT_INPUTMODE(1) CNT_ENABLE(1) . . . read latch A read latch B EVENT: evaluation in the program CNT_READLATCH(1) CNT_READFLATCH(1) . . . ADwin-light-16 , manual version 2.6, August 2006...
  • Page 55: Ssi Decoder

    Set decoder clock rate SSI_SET_CLOCK Start reading encoder data SSI_START Return reading status SSI_STATUS The instructions are in the include file <ADWL16.INC>. More information can be found in the ADbasic manual and the online help. ADwin-light-16 , manual version 2.6, August 2006...
  • Page 56: Adwin-Light-16-Boot

    This option is only available in conjunction with the Ethernet interface, that means with the L16-EXT-ENET or the L16-EURO-ENET. After power-up ADwin-light-16-Boot automatically starts an application which has been programmed before. Thus after initializing the application an operation without PC is possible.
  • Page 57: Accessories

    ADwin Accessories 11 Accessories The following accessories are available for the ADwin-light-16 system: – ADbasic: The real-time development environment for prgramming all of the ADwin systems. ADbasic is required to develop processes for ADwin systems, which are loaded and controlled from a development environment (e.g. C#, Visual Basic, Matlab and others).
  • Page 58: Software

    ADwin Software 12 Software You are programming the ADwin-light-16 - all expansions included - with sim- ple ADbasic instructions. All instructions are described in the ADbasic manual (complete instruction list in the appendix) or online help. 12.1 Example Program CAN: Cyclic Read and Send of Messages...
  • Page 59 = 15 'object, where the new message ELSE 'can be found object = object - 2 ENDIF result = READ_MSG(object) 'read out new data REM The data are available in the field CAN_MSG. ADwin-light-16 , manual version 2.6, August 2006...
  • Page 60: Annex

    226 x 109 x 44 width x height x depth w x h x d L16-EXT-ENET 226 x 109 x 74 + CO1 add-on see basic version L16-EURO: width +10 TE + DIO1 add-on L16-EXT: height +30 ADwin-light-16 , manual version 2.6, August 2006...
  • Page 61 2 incremental counters. Counter and latch reso- lution EVENT input Edge recognition, pos. (Low) = 5V 1.65 2.15 Edge recognition, neg. (High) = 5V 0.75 1.25 Switching hysteresis = 2.7V input current µA = 0.4V ADwin-light-16 , manual version 2.6, August 2006...
  • Page 62 Symbol Conditions min. typ. max. Unit type ADSP21062 (SHARC™) manufacturer Analog Devices clock frequency register width internal memory SRAM for the program kByte for data external memory SDRAM Rev. A MByte Rev. B ADwin-light-16 , manual version 2.6, August 2006...
  • Page 63 (Low) = +6mA 0.17 0.33 each DIO line ±35 each logic-output current DIO group (8) ±70 TOTAL via V / GND * see also data sheet SN74 HCT 245 from Texas Instruments ADwin-light-16 , manual version 2.6, August 2006...
  • Page 64: Hardware Addresses - General Overview

    Bit 0: DIO 07:00; Bit 1: DIO 15:08 x = 1: group as output Bit 2: DIO 23:16; Bit 3: DIO 31:24 * after execution the register is automatically reset ** function without any effect at inputs ADwin-light-16 , manual version 2.6, August 2006...
  • Page 65: Hardware-Revisionen

    External memory extended to 16MB. Faster A/D conversion available via instruction L16_MODE. Additional sequence control for conversion of analog inputs. Additional SSI interface for DIO1-add-on, new add-ons DIO2 and DIO3. Aug. 2006 New interface for LS bus ADwin-light-16 , manual version 2.6, August 2006...
  • Page 66: Table Of Figures

    Fig. 4 – Types of the ADwin-light-16 basic version ....5 Fig. 5 – Connectors ADwin-light-16 ....... 9 Fig.
  • Page 67: List Of Abbreviations

    Digital Signal Processor Transistor-Transistor Logic End Of Conversion Voltage collector-collector Electro-Magnectic Compati- bility Voltage emitter-emitter Electro-Static Discharge FPGA Field Programmable Gate Array Full Scale Range GrouND Manufacturer Analog Devices Burr-Brown Linear Technology Texas Instruments ADwin-light-16 , manual version 2.6, August 2006...

Table of Contents