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-Pro hardware, manual version 2.4, December 2004...
Depending on applications, the different enclosures can be equipped with ADwin-Pro modules. When the ADwin-Pro system was developed great attention was paid to the electromagnetic compatibility. The ADwin-Pro system and all available input and output modules have the CE sign and can therefore be configured differ- ently later if necessary.
The instructions for the real-time development tool ADbasic are described in the manual ADbasic as well as in the online help. The instructions for access- ing an ADwin-Pro system with ADbasic are provided in special include files, which you have to include in your ADbasic program.
For the slot area (including power supply slot) the following dimensions apply: 1 HP = 1/5 inch = 5.08mm 1 U = 5/3 inch = 42.3mm The slots have a width of 5 HP = 1 inch. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 8
ADwin ADwin-Pro 3.1 ADwin-Pro Pro with 16 slots The standard enclosure for the ADwin-Pro systems. The backplane of the enclosure connects the processor module with the ADwin-Pro modules. POWER 10 11 12 13 14 Fig. 1 – Enclosure ADwin-Pro The system fuse is located in a slot in the power supply unit above the socket for the power supply cable (rear of the enclosure).
Page 9
ADwin ADwin-Pro-DC 3.2 ADwin-Pro-DC The ADwin-Pro-DC enclosure is similar to the standard enclosure ADwin-Pro, Pro-DC but is equipped with a DC power supply. with 16 slots If a current-limited power supply unit is used, it should be able to supply a mul- tiple of the idle current during power-up to maintain proper performance of the system.
Page 10
In the version "backmounted" of the standard enclosure, the modules are plugged-in at the rear of the enclosure. The revisions are similar to those of the ADwin-Pro enclosure. The system fuse is located in a slot in the power supply unit above the socket for the power supply cable (rear of the enclosure).
3.4 ADwin-Pro-light Pro-light with 7 slots POWER Fig. 7 – Enclosure ADwin-Pro-light The ADwin-Pro-light enclosure. The backplane of the enclosure connects the processor module with the ADwin-Pro modules. Number of Slots Main dimensions (l x w x h) 336mm × 234mm × 146mm Slot area (w x h) 42 HP ×...
3.5 ADwin-Pro-mini Pro-mini with 5 slots Fig. 9 – Enclosure ADwin-Pro-mini The ADwin-Pro-light enclosure is available in 3 versions, each of which works with a different power supply voltage. In any case an external power supply unit is required. The required power of the external power supply unit depends on the type and number of the used modules;...
ADwin ADwin-Pro Modules 4 ADwin-Pro Modules An ADwin-Pro module needs one slot (5 HP) in an ADwin-Pro system, some modules need 2 slots. All technical data of the module refer to a device which is powered-up. 4.1 Setting the module’s addresses The ADwin-Pro modules are divided into 5 groups according to their function: –...
ADwin Processor modules 4.2 Processor modules For each ADwin-Pro system a processor module is required. This processor module does all the communication with the PC or laptop and all other ADwin-Pro modules. Furthermore it runs the user defined processes. The data connection to the PC is established via USB or Ethernet.
Page 16
LINK OUT (-) /ANALYSE /ERROE LINK IN (+) LINK IN (-) Fig. 16 – Pro-CPU-T9: Pin assignment CPU-T9 19DSPIF01 ADwin-Pro LINK ADSP-21062 FPGA EVENT IN DC-DC-converter Fig. 17 – Pro-CPU-T9: Board and front panel ADwin-Pro hardware, manual version 2.4, December 2004...
Page 17
AT17LV010 24MHz 40MHz Fig. 20 – Pro-CPU-T9-USB: Board and front panel The module may have an additional input Digin 0 (ordering option). The input Digin 0 is for use with TTL signals only. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 18
AN2135 21160 FPGA DIG IN 0 40MHz EVENT IN Xilinx SPARTAN XC2S50 AT17LV010 24MHz Fig. 22 – Pro-CPU-T10-ENET: Board and front panel The input Digin 0 is for use with TTL signals only. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 19
If you use the boot loader, an application, which you have written with a pro- gram for visualization of measurement data, must not reboot the ADwin sys- tem. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 20
You can monitor your processor module with a watchdog (T9, T10). The watch- dog generates a reset, when a signal, generated by a program code, does unexpectedly not arrive (see also "ADwin-Pro System Specifications - Pro- gramming in ADbasic"). This reset sets the digital and analog outputs to those values, which correspond to the configuration after power-up, normally digital 0 or 0 Volt.
ADwin Analog Input Modules 4.3 Analog Input Modules ADwin-Pro hardware, manual version 2.4, December 2004...
Page 22
You can avoid open-ended inputs this way: – Separate unused inputs from open-ended lines. – Apply a specified level (for instance GND) to unused inputs. Make the connection as close to the socket as possible. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 23
±1 LSB Input resistance 100kΩ, ±2% Input over-voltage ±35V Offset error adjustable Offset drift ±30 ppm/ºC of full scale range Connector 8 LEMO sockets optional: 37-pin DSub socket Fig. 25 – Pro-AIn-8/12-D REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 24
±10V bipolar (default) Offset (bipolar setting) 0...10V unipolar Offset (unipolar setting) not allowed Fig. 29 – Pro-AIn-8/12 REVA: Function of the potentiometers Fig. 28 – Pro-AIn-8/12 REVA: Jumper positions for the input voltage range ADwin-Pro hardware, manual version 2.4, December 2004...
Page 26
The individual steps are described in the chapter 5.3.1 "Calibration per Software", page 176. Voltage range DIL1 DIL2 ±10V bipolar (default) 0…10V unipolar not allowed not allowed Fig. 34 – Pro-AIn-8/12: DIL switch settings for the input voltage range ADwin-Pro hardware, manual version 2.4, December 2004...
Page 27
0.05% of the measured voltage (by the 500Ω shunt). Input resistance 330kΩ, ±2% Input over-voltage ±35V Offset error adjustable Offset drift ±30 ppm/ºC Connector 8 LEMO sockets optional: 37-pin DSub socket Fig. 36 – Pro-AIn-8/14 REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 28
IN 5V OUT ±15V / ±65mA IN 5V OUT ±5V / ±250mA 8Kanal 16Bit 40MHz XILINX ® XC2S200 7S08 19AD0202 A0 A1 A2 A3 A4 A5 A6 A7 Abb. 38 – Pro-AIn-8/14 REVA: Board and front panel ADwin-Pro hardware, manual version 2.4, December 2004...
Page 29
±1 LSB Input resistance 100kΩ, ±2% Input over-voltage ±25V (peak ±35V) Offset error adjustable Offset drift ±30 ppm/ºC of full scale range Connector 37-pin DSub socket Fig. 40 – Pro-AIn-32/12 REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 30
Please ask our sup- port to get the correct jumper positions. For the accurate adjustment of offset and gain the potentiometers UPO (uni- polar) or BPO (bipolar) as well as GAIN are available (fig. 45). ADwin-Pro hardware, manual version 2.4, December 2004...
Page 31
Gain Gain factor ±10V bipolar (default) Offset (bipolar setting) 0...10V unipolar Offset (unipolar setting) not allowed Fig. 45 – Pro-AIn-32/12 REVA: Function of (0…20V) the potentiometers Fig. 44 – Pro-AIn-32/12 REVA: Jumper positions ADwin-Pro hardware, manual version 2.4, December 2004...
Page 33
The individual steps are described in the chapter 5.3.1 "Calibration per Software", page 176. Voltage range DIL1 DIL2 ±10V bipolar (default) 0…10V unipolar not allowed not allowed Fig. 51 – Pro-AIn-32/12 REVB: DIL switch settings for the input voltage range ADwin-Pro hardware, manual version 2.4, December 2004...
Page 34
0.05% of the measured voltage (by the 500Ω shunt). Input resistance 330kΩ, ±2% Input over-voltage ±35V Offset error adjustable Offset drift ±30 ppm/ºC Connector 37-pin DSub socket Fig. 53 – Pro-AIn-32/14 REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 35
IN 5V OUT ±15V / ±65mA IN 5V OUT ±5V / ±250mA 8Kanal 16Bit 40MHz ® XILINX XC2S200 7S08 19AD0202 A0 A1 A2 A3 A4 A5 A6 A7 Abb. 56 – Pro-AIn-32/14 REVA: Board and front panel ADwin-Pro hardware, manual version 2.4, December 2004...
Page 36
+3, -2 LSB Input resistance 100kΩ, ±2% Input over-voltage ±35V Offset error adjustable Offset drift ±30 ppm/ºC of full scale range Connector 8 LEMO sockets optional: 37-pin DSub socket Fig. 58 – Pro-AIn-8/16 REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 37
0...10V unipolar 10V 10V UNI Offset (unipolar set- not allowed 20V 20V UNI ting) (0…20V) Fig. 62 – Pro-AIn-8/16 REVA: Fig. 61 – Pro-AIn-8/16 REVA: Jumper Function of the potentiometers settings for the input voltage range ADwin-Pro hardware, manual version 2.4, December 2004...
Page 45
DC/DC CONVERTER DC/DC CONVERTER IN 5V OUT ±15V / ±65mA IN 5V OUT ±5V / ±300mA A0 A1 A2 A3 A4 A5 A6 A7 Fig. 80 – Pro-AIn-32/16 REVC: Board and front panel ADwin-Pro hardware, manual version 2.4, December 2004...
Page 46
±0.3 LSB, max. ±1 LSB Input resistance 100kΩ, ±2% Input over-voltage ±35V Offset error adjustable Offset drift ±30 ppm/ºC of full scale range Connector 4 LEMO sockets optional: 37-pin DSub socket Fig. 82 – Pro-AIn-F-4/12 REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 47
ANALOG ANALOG 19AD976A INPUT INPUT LS19 DC/DC-converter DC/DC-converter 1 2 3 4 5 6 7 8 A0 A1 A2 A3 A4 A5 A6 A7 Fig. 84 – Pro-AIn-F-4/12 REVA: Board and front panel ADwin-Pro hardware, manual version 2.4, December 2004...
Page 48
±0.3 LSB, max. ±1 LSB Input resistance 100kΩ, ±2% Input over-voltage ±35V Offset error adjustable Offset drift ±30 ppm/ºC of full scale range Connector 8 LEMO sockets optional: 37-pin DSub socket Fig. 86 – Pro-AIn-F-8/12 REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 49
The calibration of the ADC is described in the chapter 5 "Calibration". Potentiometer Adjustment of Gain factor Offset Fig. 89 – Pro-AIn-F-8/12 REVA: Function of the potentiometers ADwin-Pro hardware, manual version 2.4, December 2004...
Page 50
Only after end of the measurement sequence will you be able to read out the stored measurement values from the burst memory and process them. During an individual measurement the processor of the ADwin-Pro system is checking the sequence of each individual measurement, whereas during a burst measurement it is the module which is checking the measurement sequence.
Page 51
IN 4.5-9V OUT ±15V / ±100mA IN 4.5-9V OUT ±5V / ±250mA 40MHz XILINX ® XC2S200 AT17 LV020 19ADF0801 A0 A1 A2 A3 A4 A5 A6 A7 Fig. 93 – Pro-AIn-F-4/14 REVB: Board and front panel ADwin-Pro hardware, manual version 2.4, December 2004...
Page 52
Only after end of the measurement sequence will you be able to read out the stored measurement values from the burst memory and process them. During a single measurement the processor of the ADwin-Pro system is checking the sequence of each individual measurement, whereas during a burst measurement it is the input module which is checking the measurement sequence.
Page 53
IN 4.5-9V OUT ±15V / ±100mA IN 4.5-9V OUT ±5V / ±250mA 40MHz XILINX ® XC2S200 AT17 LV020 19ADF0801 A0 A1 A2 A3 A4 A5 A6 A7 Fig. 97 – Pro-AIn-F-8/14 REVB: Board and front panel ADwin-Pro hardware, manual version 2.4, December 2004...
Page 54
±1 LSB Input resistance 100kΩ, ±2% Input over-voltage ±35V Offset error adjustable Offset drift ±30 ppm/ºC of full scale range Connector 4 LEMO sockets optional: 37-pin DSub socket Fig. 99 – Pro-AIn-F-4/16 REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 55
ANALOG ANALOG 19AD976A INPUT INPUT LS19 DC/DC-converter DC/DC-converter 1 2 3 4 5 6 7 8 A0 A1 A2 A3 A4 A5 A6 A7 Fig. 101 – Pro-AIn-F-4/16 REVA: Board and front panel ADwin-Pro hardware, manual version 2.4, December 2004...
Page 56
±1 LSB Input resistance 100kΩ, ±2% Input over-voltage ±35V Offset error adjustable Offset drift ±30 ppm/ºC of full scale range Connector 8 LEMO sockets optional: 37-pin DSub socket Fig. 103 – Pro-AIn-F-8/16 REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 57
ANALOG 19AD976B 19AD976A INPUT INPUT LS19 DC/DC-converter DC/DC-converter 1 2 3 4 5 6 7 8 A0 A1 A2 A3 A4 A5 A6 A7 Fig. 105 – Pro-AIn-F-8/16 REVA: Board and front panel ADwin-Pro hardware, manual version 2.4, December 2004...
Page 58
ADwin Analog Input Modules Pro-AIn-F-8/16 REVA ADwin-Pro hardware, manual version 2.4, December 2004...
Channels sng. end. Voltage range ±5V – – ±10V 0...5V – – 0…10V – – add. memory (option) – – – – – – Calibration page a. SW: per software, TR: with trimmers ADwin-Pro hardware, manual version 2.4, December 2004...
Page 60
37-pin DSub socket Fig. 107 – Pro-AOut-4/16 REVA: Specification ANALOG OUT 1 ANALOG OUT 2 ANALOG OUT 3 ANALOG OUT 4 AGND RESERVED RESERVED DGND Fig. 108 – Pro-AOut-4/16-D REVA: Pin assignment differential ADwin-Pro hardware, manual version 2.4, December 2004...
Page 62
ANALOG OUT 2 ANALOG OUT 3 ANALOG OUT 4 AGND ANALOG OUT 5 ANALOG OUT 6 ANALOG OUT 7 ANALOG OUT 8 RESERVED RESERVED DGND Fig. 112 – Pro-AOut-8/16-D REVA: Pin assignment differential ADwin-Pro hardware, manual version 2.4, December 2004...
Page 63
(default) Offset (bipolar setting) 0…10V unipo- Offset (unipolar setting) Fig. 115 – Pro-AOut-8/16 REVA: not allowed Function of the potentiometers (0…20V) Fig. 114 – Pro-AOut-8/16 REVA: Jumper positions for the output voltage range ADwin-Pro hardware, manual version 2.4, December 2004...
Page 65
ANALOG 19DA0101 OUTPUT OUTPUT 1867 1867 1867 1867 Actel 1867 1867 1867 1867 A42MX16 DC/DC-converter 74LS19 A0 A1 A2 A3 A4 A5 A6 A7 Fig. 121 – Pro-AOut-8/16 REVB: Board and front panel ADwin-Pro hardware, manual version 2.4, December 2004...
Page 66
ADC, in order to assure good measurement results. Voltage range DILx1 DILx2 ±5V bipolar ±10V bipolar (default) 0…5V unipolar 0…10V unipolar Fig. 122 – Pro-AOut-8/16 REVB: DIL switch settings for the output voltage range ADwin-Pro hardware, manual version 2.4, December 2004...
Page 67
±1 LSB typical Offset error adjustable Gain error adjustable Offset drift ±10 µV/ºC Addition memory for the func- tion generator (optional) Connectors 4 LEMO sockets optional: 37-pin D-SUB socket Fig. 124 – Pro-AOut-4/16 REVC: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
ANALOG IN 13 ANALOG IN 6 ANALOG IN 14 ANALOG IN 7 ANALOG IN 15 ANALOG IN 8 ANALOG IN 16 AGND AGND RESERVED RESERVED DGND Fig. 132 – Pro-AO-16/8-12 REVA: Pin assignment ADwin-Pro hardware, manual version 2.4, December 2004...
Page 72
ADS774 DC/DC-converter 1 2 3 4 5 6 7 8 A0 A1 A2 A3 A4 A5 A6 A7 Jumpers for inputs Potentiometers for inputs Fig. 134 – Pro-AO-16/8-12 REVA: Board and front panel ADwin-Pro hardware, manual version 2.4, December 2004...
Page 73
±5V bipolar G5-8 O1-4 Offset ±10V O5-8 (default) Fig. 138 – Pro-AO-16/8-12 REVA: 0…10V Function of the potentiometers for the outputs Fig. 137 – Pro-AO-16/8-12 REVA: Jumper settings for the output voltage range ADwin-Pro hardware, manual version 2.4, December 2004...
Page 74
ADwin Analog Input and Output Modules Pro-AO-16/8-12 REVA ADwin-Pro hardware, manual version 2.4, December 2004...
5 diff. – CO4-D 2 SSI RS485 – PWM-4 – 5...30 PWM-4-I a. UD: Up / Down counter; I = Incremental counter; PWM: PWM analysis; U: Universal counter = VR + I + PWM ADwin-Pro hardware, manual version 2.4, December 2004...
Page 76
DIGITAL I/O 19DIO01 TTL COMP. FPGA FPGA LS19 1 2 3 4 5 6 7 8 A0 A1 A2 A3 A4 A5 A6 A7 Fig. 141 – Pro-DIO-32 REVA: Board and front panel ADwin-Pro hardware, manual version 2.4, December 2004...
Page 77
-0.5V … +5.5V Output current max. 6mA per channel (outputs are short-circuit proof) Event input TTL logic Power up status All channels as inputs Connector 37-pin DSub socket Fig. 142 – Pro-DIO-32 REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 78
DIG I/O, BIT 27 DIG I/O, BIT 28 DIG I/O, BIT 29 DIG I/O, BIT 30 DIG I/O, BIT 31 DGND DGND +5V, <100mA (fused) EVENT IN DGND Fig. 144 – Pro-DIO-32 REVB: Pin assignment ADwin-Pro hardware, manual version 2.4, December 2004...
Page 79
±35mA per channel, max. ±70mA per block (8 channels) via V or GND Event input TTL logic Power up status All channels as inputs Connector 37-pin DSub socket Fig. 146 – Pro-DIO-32 REVB: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 80
DIG IN, BIT 14 (+) DIG IN, BIT 14 (-) DIG IN, BIT 15 (+) DIG IN, BIT 15 (-) DGND DGND RESERVED EVENT IN (+) EVENT IN (-) Fig. 148 – Pro-OPT-16 REVA: Pin assignment ADwin-Pro hardware, manual version 2.4, December 2004...
Page 82
Relais Relais Relais Relais Relais FPGA Relais Relais Relais Relais HCPL-2631 74LS19 A0 A1 A2 A3 A4 A5 A6 A7 Jumpers für Event Fig. 153 – Pro-REL-16 REVA, REVB: Board and front panel ADwin-Pro hardware, manual version 2.4, December 2004...
Page 83
5V, 12V, 24V Event input voltage (selectable via jumpers) Power up status (normally open contact: open / normally closed contact: closed) Connector 37-pin DSub socket Fig. 154 – Pro-REL-16 REVA, REVB: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 84
CNY 17 1N4004 1 2 3 4 5 6 7 8 74LS19 1N4004 A0 A1 A2 A3 A4 A5 A6 A7 Jumpers für Event Fig. 157 – Pro-TRA-16 REVA: Board and front panel ADwin-Pro hardware, manual version 2.4, December 2004...
Page 85
500V channel – channel / channel – GND Event input voltage 5V, 12V, 24V (selectable via jumpers) Power up status low (GND external) Connector 37-pin DSub socket Fig. 158 – Pro-TRA-16 REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 86
The modules Pro-CNT-VR4 REVA and Pro-CNT-VR4-L REVA are equipped with 4 times the components shown in the block diagram; exception: the event input and the control register, which can only be found once on the modules. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 87
Pull down resistor 10kΩ min. 2.4V max. 0.8V max. 0.55mA max. 0.01mA Voltage range, absolute -0.3V … 7V Connector 37-pin DSub socket Isolation No (see page 84) Fig. 164 – Pro-CNT-VR4 REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 88
The modules Pro-CNT-VR4-I and Pro-CNT-VR4-L-I are equipped with 4 times the components shown in the block diagram; exception: the event input and the control register, which can only be found once on the modules. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 102
2 UD-counter is related to the 1 and 2 counter of the module CNT-VR4 and the 1 and 2 PW-counter is related to the 3 and 4 counter of the module CNT-PW4. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 104
20µA max. -50µA Voltage range -0.3V … 7V Event input Input resistance 10kΩ Connector 37-pin DSub socket Isolation No (see page 101) Power consumption approx. 120mA Fig. 201 – Pro-CNT-PW4 REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 105
Fig. 203 – Pro-CNT-PW4-I REVA: Pin assignment The module Pro-CNT-PW4-I is equipped with 4 times the components shown in the block diagram; exception: the event input and the control register which can only be found once on the modules. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 106
20 … 24V 560 Ω Series resistor 2kΩ 4.3kΩ Input over-voltage Negative voltage -5V for all ranges Switching time 200ns Isolation 500V channel-channel / channel-GND Connector 37-pin DSub socket Fig. 206 – Pro-CNT-PW4-I REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 107
CLK and DIR signals. For this you have to program the inputs correspondingly (A- and B-signals) (see "ADwin-Pro System Description, Programming in ADbasic"). Since every edge of the a and B signals generates a count impulse, the reso- lution is increased by factor 4. If the encoder has a reference signal, it can be used to clear or latch the counter (after release of the CLR or LATCH input).
Page 108
Clock frequency four edge evaluation 5MHz max. (at 90° phase-shift of the signals) Clock frequency up/down counter 20MHz max. Reference frequency PWM analysis 40MHz Connector 37-pin DSub socket Power consumption approx. 150mA Isolation No (see page 105) Fig. 210 – Pro-CO4-T REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 110
200mA Fig. 214 – Pro-CO4-I REVA: Specification 1. A low/high signal will reliably be recognized in the indicated voltage ranges. But the switch- ing process can also be effected outside these voltage ranges. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 111
FOR n=1 TO 32 'go through all 32 bits m=(SHIFT_RIGHT(PAR_1,(32-n)) AND 1) XORm PAR_9=(SHIFT_LEFT(m,(32-n))) OR PAR_9 NEXT n PAR_2=0 'enable next conversion ENDIF Fig. 216 – Listing: Conversion from gray code into binary code ADwin-Pro hardware, manual version 2.4, December 2004...
Page 112
Counter DIP switch Input counter# position A/CLK/PWM CNTR-#1 CNTR-#2 CNTR-#3 CNTR-#4 Fig. 218 – Pro-CO4-D REVA: Allocation of Input to Counter with DIP switches ADwin-Pro hardware, manual version 2.4, December 2004...
Page 113
Clock frequency up/down counter 20MHz max. Reference frequency PWM analysis 40MHz Clock frequency SSI decoder (CLK) 1MHz max. Connector 37-pin DSub socket Power consumption approx. 200mA Fig. 220 – Pro-CO4-D REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 115
Positive TTL Connector 37-pin DSub socket Isolation No (see page 112) Fig. 224 – Pro-PWM-4 REVA: Specification Information about programming and programming examples can be found after the description of the module Pro-PWM-4-I REVA. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 116
The module Pro-PWM-4-I REVA is equipped with 4 times the components shown in the block diagram; exception: the event input and the 5MHz refer- ence oscillator, which can only be found once on each module. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 117
Voltage drop 0.5V max. Switching time 10µs Event input Event input voltage 5V, 12V, 24V (selectable via jumpers) Connector 37-pin DSub socket Isolation 500V channel-channel / channel-GND Fig. 228 – Pro-PWM-4-I REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 118
Programming the Module Pro-PWM-4(-I) 4.6.22 Programming the Module Pro-PWM-4(-I) Programming the four PWM outputs on the ADwin-Pro module PWM-4 is made by using the PWM commands which are available when the file <ADWPDIO.INC> has been included into the ADbasic source code.
Page 119
PAR_8. – The division factor (prescaler) for the frequency of 5MHz, which will be generated by the crystal oscillator on the ADwin-Pro module PWM-4: PAR_9 … PAR_12. – The enabling of the 16-bit counters (only the internal counter and not the PWM outputs!) : PAR_13.
Page 120
ADwin Digital-I/O- and Counter Modules Programming the Module Pro-PWM-4(-I) ADwin-Pro hardware, manual version 2.4, December 2004...
Page 122
Comparators with individually selectable switching thresholds Input resistor 10kΩ Input voltage range -2V ... +8.23V Sampling rate typ. 20Msps Resolution 10-bit Accuracy ±4 digits Connectors 37-pin D-SUB socket Fig. 232 – Pro-Comp-16 REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 123
3. During the writing process the file end must not be exceeded. 4. The data has to absolutely remain in its physical position. If the rules are not kept, the data will be overwritten or destroyed. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 124
The module is equipped with a real-time clock from Epson RTC-4553AA. With simple ADbasic instructions, date and time are set and read out, so that a spec- ified time can be assigned to measurements. Time and glue-logic work auton- omously. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 125
The clock is battery-backed and can remain up to 2 years without any external power supply (when the Pro-system is turned off). Replace the buffer battery after 2 years by a 3V Lithium cell, type CR1632. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 126
To remove the storage medium press the lever under the storage medium up medium to the stop contact and remove it. After the storage medium has been removed the left, lower red LED flashes for a short moment. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 127
After program start this window appears: After program start – Insert a storage medium into the Pro-Storage module. – Select the device no. of the ADwin-Pro system and press the button "boot ADwin-System and scan Pro-Storage". ADwin-Pro hardware, manual version 2.4, December 2004...
Page 128
– If necessary adapt for each file the name and size (except for FILEINFO.DAT). The file name must correspond to the DOS conven- tion (8+3), and the file size is indicated in kB (= 1.024 byte). ADwin-Pro hardware, manual version 2.4, December 2004...
Page 129
If the contents of the storage medium is displayed by using a reading device (e.g. Explorer), all files are displayed with their file size (this is the information of the FAT). ADwin-Pro hardware, manual version 2.4, December 2004...
Page 130
(see below) works with this pointer. When clicking the Copy to Harddisk menu item, a file saving dialog opens. Enter a file name and confirm by clicking on Save. The data is stored into the selected file. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 131
Select the tag "Real-Time Clock" at the top of the window. If you use the dou- ble-headed arrow in the middle, date and time of your PC are transferred to the real-time clock of the Pro-Storage module. After data is transferred, the real-time clock continues running independently. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 132
• Write mode "Append" or "New": Upon restart the SP may either overwrite the destination file or ap- pend the data to the end of file. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 133
We assume that both processes are already on the ADwin system, but have not yet been started. The process started first determines the basic parameters. Either the first process or the PC start the second process. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 134
If the MP setting the parameter f_cmd[9] the SP is not stopped at once, but at the moment when there is no data left in the FIFO array. Thus, the SP continues working as long as the MP writes data into the FIFO array. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 135
If the cycle time of the SP is short so that calling the SP requires a longer period of time than processing it, an endless loop will be the result. Ths standard saving process is now integrated in your measurement program. Use the storage medium ADwin-Pro hardware, manual version 2.4, December 2004...
Page 136
For data exchange between data process and measurement process as well as for the exchange of control and status information, we recommend that you use a programm design similar to the standard saving process. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 137
(options on request) Channels Page Module MB-8 (-D) Revision Function Passive carrier module for insertion of input modules of the type 5B oder MB. Page Fig. 235 – Overview signal conditioning modules ADwin-Pro hardware, manual version 2.4, December 2004...
Page 138
RS-485-2 RS-232-4 RS-485-4 Revision Type RSxxx interface RSxxx version RS232 RS485 RS232 RS485 Interfaces Data exchange rate 0.035… 0.035… 0.035… 0.035… [kBaud] 115.2 2304 115,2 2304 Page Abb. 236 – Overview interface modules ADwin-Pro hardware, manual version 2.4, December 2004...
Page 139
ELEMENT 14 (-) Decoder ELEMENT 15 (+) ELEMENT 15 (-) ELEMENT 16 (+) ice-point ELEMENT 16 (-) comp. RESERVED RESERVED Fig. 241 – Pro-TC-16 REVA: Block diagram Fig. 242 – Pro-TC-4-16-D REVA: Pin assignment differential ADwin-Pro hardware, manual version 2.4, December 2004...
Page 142
Fig. 248 – Pro-PT100-x: Specification A conversion table is available for the conversion of the temperature values into the corresponding integer values. You will find the conversion table in the ADbasic online help, topic "hardware information". ADwin-Pro hardware, manual version 2.4, December 2004...
Page 145
For a 3 wire measurement the following connections have to be made: • LEMO connector: Connect "source +", pin 4 with "sensor +", pin 1. • Set the jumper on the PCB to the position "3L", in order to activate the second voltage source. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 146
OFFSET 8 2/4L 132U 132U 118U 132U 1 2 3 4 5 6 7 8 19PT02 A0 A1 A2 A3 A4 A5 A6 A7 Fig. 259 – Pro-PT100-x: Position of jumpers and potentiometers ADwin-Pro hardware, manual version 2.4, December 2004...
Page 147
(other frequencies on request) Cut-off frequency error ±5% Sample & Hold drift 1.5mV/s Linearity ±1 LSB (12 bit) Connector 4 / 8 LEMO sockets (optional: 37-pin DSub socket) Fig. 261 – Pro-LPSH-4/8-FI REVA: Specification ADwin-Pro hardware, manual version 2.4, December 2004...
Page 148
5B orMB module is directly connected with the back plane PC bus of the ADwin-Pro system. Pin 22 (READ EN) und 23 (WRITE EN) are connected with GND. Therefore the output of the 5B orMB modules is always enabled.
Page 149
ADwin Signal Conditioning and Interface Modules Carrier module Pro-MB-8 (-D) ADwin-Pro hardware, manual version 2.4, December 2004...
Page 150
ADwin Signal Conditioning and Interface Modules Carrier module Pro-MB-8 (-D) ADwin-Pro hardware, manual version 2.4, December 2004...
Page 151
– Interrupt / Event – Module revisions – Programming Hardware design 1 CAN interface Data CAN- CAN- Trans- controller ceiver (intel 82527) (82C250) EVENT Fig. 266 – Pro-CAN-1: Block diagram for 1 interface ADwin-Pro hardware, manual version 2.4, December 2004...
Page 152
The connections of the CAN bus interface are on the 9-pin D-SUB connector; the pin assignment is shown below. On the CAN-1 and CAN-1-LS modules both D-SUB connectors are internally connected with each other. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 153
– Send the message (instruction TRANSMIT). The message in the array can_msg[] is transferred to the message object. As soon as the bus is ready, the message is sent (with the identifier of the message object). ADwin-Pro hardware, manual version 2.4, December 2004...
Page 154
"Bit Timing Register 0 (BTR0, address 3Fh) and in the "Bit Timing Register 1" (BTR1, address 4Fh) have to be changed. Just use the instruction for setting a large quantity of bus frequen- SET_CAN_BAUDRATE cies. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 155
If the interrupt flag (new message flag) is reset in the message object, the interrupt register will be updated. If there is no interrupt the register is set to 0. If another interrupt ADwin-Pro hardware, manual version 2.4, December 2004...
Page 156
Initialization of message objects EN_RECEIVE, EN_TRANSMIT Sending and receiving of data sets TRANSMIT, READ_MSG Enabling interrupts EN_INTERRUPT Setting the Baud rate SET_CAN_BAUDRATE The instructions are described in the Pro software manual or the online help. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 157
The control area consists of two registers, which enable the handshake to Control register access the DP-RAM, and of registers, from which information about the mod- ule and its configuration can be read out. The content of the individual areas ADwin-Pro hardware, manual version 2.4, December 2004...
Page 158
When the DP-RAM is accessed it must be assured that only one side has access to the memory. In order to ensure that this happens, there is a hand- shake process between the two sides fieldbus and program. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 159
273 explains the data flow in the fieldbus module. Dual- Bus- Glue- Port- Controller Logic (µC) Fig. 273 – Pro-Fieldbus-SL: Data flow in the module ADwin-Pro hardware, manual version 2.4, December 2004...
Page 160
Before the exchange, the data is checked if it has been modified and only then will it be read out and transferred again. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 161
'Read data '(40 bytes) ENDIF REQUEST_RELEASE_ACCESS(0,6)'Release access rights par_14 ENDIF (par_14 = 3) THEN par_1 = CHECK_ACCESS(0) 'Has the bus access rights 'again? (par_1 = 0) THEN par_11 'Count access cycles par_14 ENDIF ENDIF ADwin-Pro hardware, manual version 2.4, December 2004...
Page 162
On the front panel of the PROFI-DP-SL module there are four LEDs. 3 of them show the status of the module, (see table). The ON-L OFF-L DIAG graphic shows the position of the LED. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 163
Therefore you have to add the memory sizes of all memory modules - sepa- rated in input and output areas - and compare the result with the configuration you made during initialization. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 164
The module is in agreement with the European Standard EN 50170, Volume 2. This norm is provided by the Profibus user organization: Profibus Nutzerorganisation e.V. Haid-und-Neu-Str. 7 76131 Karlsruhe, Germany Phone: +49-72196-58590 Fax : +49-72196-58589 Order number: 0.042 ADwin-Pro hardware, manual version 2.4, December 2004...
Page 165
Clear The inputs are updated and the outputs are set to zero. Stop The slave is no longer part of the bus communication. Fig. 280 – Pro-PROFI-DP-SL: Supported operating modes ADwin-Pro hardware, manual version 2.4, December 2004...
Page 166
PCP communication. After reading the bus configuration the communication can be started immediately. More- over, the master identifies the participants (DIO, PC, AIN, ...). ADwin-Pro hardware, manual version 2.4, December 2004...
Page 167
The time needed for transmitting the parameter data is evalu- ated by the product of the bus cycle time and the number of the words to be transmitted in the parameter data set. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 169
19RS232A RS-xxx #1 36.864 FPGA TL16C754 RS-xxx #2 LS19 RS232-4 RS-232-2 RS485-4 RS-485-2 SERIAL PORT SERIAL PORT SERIAL PORT SERIAL PORT Fig. 287 – Pro-RSxxx: Printed circuit board and front panels ADwin-Pro hardware, manual version 2.4, December 2004...
Page 171
Receiving and transmitting of data RS485_SEND, READ_FIFO, WRITE_FIFO Write and read access to the controller GET_RS, SET_RS register The instructions are described more detailed in the Pro software manual or the online help. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 172
PAR_2 = WRITE_FIFO(1,1,DATA_1[PAR_1]) (PAR_2 = 0) THEN INC PAR_1 ENDIF PAR_3 = READ_FIFO(1,2) 'Read data (PAR_3 <> -1) THEN DATA_2[PAR_4] = PAR_3 PAR_4 ENDIF (PAR_4 > 1000) THEN END 'All data are transmitted ADwin-Pro hardware, manual version 2.4, December 2004...
Page 173
REM quit when max. string length is reached > str_len) THEN END FINISH: 'send end marker "#" PAR_11 = ASC(s_endchar) 'get ascii code PAR_12 = WRITE_FIFO(rs_adr, rs_no, PAR_11) 'send code UNTIL (PAR_12 = 0) ADwin-Pro hardware, manual version 2.4, December 2004...
Page 174
THEN 'get char from ascii value CHR(PAR_21,s_temp) 'increase receive pointer REM end marker received or string full? endflag = STRCOMP(s_temp, s_endchar) ((endflag=0) (rp>str_len)) THEN END s_receive s_receive s_temp 'save char to string ENDIF ADwin-Pro hardware, manual version 2.4, December 2004...
Page 175
AS LONG AS LONG INIT: RS_RESET(rs_adr) RS_INIT(rs_adr,2,38400,0,8,0,3)'Initialize channel 2 RS485_SEND(rs_adr,2,0) 'channel 2 = receiving EVENT: = READ_FIFO(rs_adr,2) 'Read data (val = 55) THEN RS485_SEND(rs_adr,2,1) 'channel 2 = sending ret_val = WRITE_FIFO(rs_adr,2,44) 'Write data ENDIF ADwin-Pro hardware, manual version 2.4, December 2004...
Page 176
ADwin Signal Conditioning and Interface Modules Pro-RSxxx Rev. A ADwin-Pro hardware, manual version 2.4, December 2004...
– connecting cables from the input/outputs to the reference voltage and to the measurement device – adapter board with a connector according to DIN 41612 with 96 pins – insulated adjusting tools 2. only for modules with trimmers for calibration ADwin-Pro hardware, manual version 2.4, December 2004...
The standard voltage range of the analog inputs/outputs of the ADwin systems is -10V … +10V (bipolar 20 Volt). The voltage ranges of the ADwin-Pro system can additionally be set to -5V…+5V (bipolar 10 Volt) and 0V…+10V (unipolar 10 Volt) by jumper.
Page 179
– The integral non-linearity (INL) defines the deviation from the ideal wave form covering the whole input voltage range. – The differential non-linearity (DNL) defines the deviation from the ideal value of the quantization level. ADwin-Pro hardware, manual version 2.4, December 2004...
If you change the system you can adapt the settings under "ADwin-ADpro\File\Option" in the window "Connection". Select the "TST" button in the "ADwin-ADpro" window for the module to be calibrated, then select the "Calibrate" button in the "Dialog" window. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 181
Please note the general information in chapter 5.1. Caution: Risk of electric shock. ADwin-Pro systems have a power supply device, which gives access to high-voltage lines and connectors if the system is open. The ventilation slots are wide enough to pass through an align- ment tool of 2.5 mm (=0.1inch).
Page 182
"Calibration with ADbasic Pro- grams", even if you work with different test values. ADwin-Pro hardware, manual version 2.4, December 2004...
Calibration with Trimmers 5.4 Calibration with ADbasic Programs In the annex of this chapter you will find ADbasic programs for fast and easy calibration of the different ADwin-Pro modules. Please proceed according to the following order: – AOut-4/16, AOut-8/16 (bipolar and unipolar) AOut-4/16, AOut-8/16 1.
Page 184
Enter the digital max. test value for PAR_8 in the parameter [RETURN] window and confirm with "Send" or by pressing • Set the voltage value with the corresponding gain trimming potentiometer. 3. Check: • Check all 3 test values from fig. 291. ADwin-Pro hardware, manual version 2.4, December 2004...
<C:\ADwin\Tools\Calibration\…> with standard installation from the ADwin CDROM (beginning with version 3.00.30xx). 5.5.1 Pro AOut 4/16 und 8/16 (DAC) 'Process for the ADwin-Pro in order to 'output voltage with an AOUT module. 'Last modification on July 18, 2000 ur...
Page 186
Programs for calibration Pro AIn 8/16 Rev. A (ADC) 5.5.2 Pro AIn 8/16 Rev. A (ADC) 'Process for the ADwin-Pro in order to 'read voltage with an AIN-8/16 module. 'The mean value is calculated in FPAR_1. 'Last modification on August 08, 2000 ur...
Page 187
Pro AIn 8/12 (ADC), -Pro AIn 32/12 (ADC) 5.5.3 Pro AIn 8/12 (ADC), -Pro AIn 32/12 (ADC) 'Process for the ADwin-Pro in order to read a voltage 'with an AIN-8/12 or AIN-32/12 module. 'A mean value is calculated in FPAR_1.
Page 188
Pro AIn F-4/16 und 8/16 (ADC) , Pro AIn F-4/12 und 8/12 (ADC) 5.5.4 Pro AIn F-4/16 und 8/16 (ADC) , Pro AIn F-4/12 und 8/12 (ADC) 'Process for the ADwin-Pro in order to read a voltage 'with an AIN-F module.
• Cable connector: Type FFS • Built-in socket: Type ERN – Pt100 modules: Male connectors / sockets of series 0B: • Cable connector: Type FGG • Built-in socket: Type EGG Prior to changes. ADwin-Pro hardware, manual version 2.4, December 2004...
Page 192
Pro-AIn-F-8/16 REVA: Specification ......47 ADwin-Pro hardware, manual version 2.4, December 2004...
Page 193
Pro-OPT-16 REVA: Pin assignment ......70 Pro-OPT-16 REVA: Board and front panel ......71 ADwin-Pro hardware, manual version 2.4, December 2004...
Page 194
Pro-CNT-PW4 REVA: Allocation of the latches ..... . 94 Pro-CNT-PW4 REVA: Board and front panel......94 ADwin-Pro hardware, manual version 2.4, December 2004...
Page 195
Pro-PT100-8 REVA: Board and front panel ..... . . 129 Pro-PT100-4 REVA: Board and front panel ..... . . 130 ADwin-Pro hardware, manual version 2.4, December 2004...
Page 196
Bit allocation of 12 bit-ADC and 16 bit-ADC......161 Assignment of digits to voltage at the inputs/outputs dependent on the configuration of ADC and DAC ... 164 ADwin-Pro hardware, manual version 2.4, December 2004...
Need help?
Do you have a question about the ADwin-Pro and is the answer not in the manual?
Questions and answers