background image

Initialization of the Hardware

ADwin

8

ADwin-Gold II

 , Manual February 2013

4 Initialization of the Hardware

If you start initializing do not connect any cables to the 

ADwin-Gold II

 before you have

executed the following steps: 

Carry out completely the installation of the drivers and the power supply at the 
computer or notebook (see manual: "

ADwin

 Driver Installation").

connect the 

ADwin-Gold II

 only with the computer or notebook (s.b.). 

Read chapter 5 "Inputs and Outputs" in this manual.

Begin now with the connection of the inputs and outputs.

Please take into account that there is a galvanic isolation between the 

ADwin-Gold II

system and the computer via power supply cable, USB and Ethernet lines (see

chapter 3

, section "

Galvanic connection

").

Providing the power supply

Please pay attention that reliable power source is supplied.
This concerns the computer (standard delivery). Otherwise also the external power
supply, if operated in a car, the battery voltage.

Power supply

The power supply connection of the 

ADwin-Gold II

 with 12V (see Annex, 

Technical

Data

) is made via the built-in connector, at left next to the power switch or above the

GND plug (see Fig. 3). Connect the 3-pin subminiature connector there. For the pin
assignment see the following picture:

Fig. 3 – Power supply connector (male)

For using the system with an external power supply unit you need the subminiature con-
nector described above. The connector is provided by the following manufacturer under
the article number 712 299-0406-00-03 (Series 712):

Franz Binder GmbH + Co. elektrische Bauelemente KG
Rötelstrasse 27
74172 Neckarsulm,
Phone: ++49-7132 / 325-0
www.binder-connector.de

When using the system with a notebook, power has to be supplied by a separate power
supply, (see 

chapter 2.2.2 on page 6

). Please pay attention to the fact that it is suffi-

ciently dimensioned.

If using current-limiting power supplies, please pay attention to the fact, that after
power-up the current demand can be a multiple of the idle current. More detailed infor-
mation can be found in the Technical Data (Annex).

In case of a power failure all data which have not been saved are lost. Not-defined data
(values) can under unfavorable circumstances cause damages to other equipment.

Connection

If you have completed the installation of the 

ADwin

 drivers and the configurations in the

ADbasic

 menu "Options\Compiler", then connect the USB or Ethernet data transfer

cables and the power supply cable. Then start the computer.

Power-up

In order to avoid switching off the system inadvertently, the switch is equipped with a
blocking device. Pull the switch a little bit, then pull it into the direction "Power". Now the
device is switched on and the LED lights up in red for a moment and then in green.

+10...35V

PE

GND

1

2

3

Содержание ADwin-Gold II

Страница 1: ...ADwin Gold II Manual ADwin Gold II Manual February 2013...

Страница 2: ...y 2013 For any questions please don t hesitate to contact us Hotline 49 6251 96320 Fax 49 6251 5 68 19 E Mail info ADwin de Internet www ADwin de J ger Com putergesteuerte Messtechnik GmbH Rheinstra e...

Страница 3: ...5 4 LS Bus 17 5 5 Time Critical Tasks 17 6 DA Add On 19 7 CNT Add On 20 7 1 Counter Hardware 20 7 2 Counter Software 22 7 3 Using Event Counter 24 7 4 Using PWM Counter 26 7 5 SSI decoder 28 7 6 PWM...

Страница 4: ...t interface 177 15 11 EtherCAT interface 182 15 12 Real time clock 186 15 13 Storage media ADbasic 189 15 14 Storage media TiCoBasic 196 Annex A 1 A 1 Technical Data A 1 A 2 Hardware Addresses A 6 A 3...

Страница 5: ...ADwin Gold II Manual February 2013 V ADwin...

Страница 6: ...ion Information refers to further information in this documentation or to other sources such as manuals data sheets literature etc C ADwin File names and paths are placed in angle brackets and charact...

Страница 7: ...program parameters must be performed only by appropriately qualified personnel Qualified personnel are persons who due to their education experience and trai ning as well as their knowledge of applica...

Страница 8: ...r of the ADwin sys tem executes all tasks which require real time processing concurrently Real time operating system The operating system for the DSP of the ADwin system has been optimized to achieve...

Страница 9: ...er sends data to the PC without request The data transfer to the PC is always a response to an instruction coming from the PC Thus embedding the ADwin system into various programming languages and sta...

Страница 10: ...o processor can access all inputs and out puts and therefore perform special tasks as conversion communication protocol SPI signal generator loop control etc According to the task the TiCo processor c...

Страница 11: ...ely processed after wards see ADbasic manual chapter Structure of the ADbasic Program Watchdog The operation of ADwin Gold II can be controlled with a watchdog counter If a pro grammed signal is missi...

Страница 12: ...d for period width measurement as impulse counters or as up down counters with clock direction or four edge evaluation for quadrature encoders 4 decoders for use with incremental encoders with SSI int...

Страница 13: ...arth the shielding on its way to the machine the better the shielding will be Use cables with shielding on both ends for signal lines Here too you should reduce the bleeding off of interferences via t...

Страница 14: ...connector male For using the system with an external power supply unit you need the subminiature con nector described above The connector is provided by the following manufacturer under the article n...

Страница 15: ...the status line ADwin is booted show that the operating system has been loaded and ADbasic can connect the ADwin system If not please check the connectors first Programs with ADbasic Programming the A...

Страница 16: ...mA applies to all pins together The inputs and outputs of the ADwin Gold II basic version is described on the following pages 16 analog inputs via 2 multiplexers page 11 2 analog outputs page 13 32 di...

Страница 17: ...quire to do so See also ADbasic manual 5 1 1 Analog Inputs 2 Multiplexers The system has 16 analog inputs IN1 IN16 The inputs with odd numbers 1 3 15 are allocated to multiplexer 1 those with even num...

Страница 18: ...ol ADwin Gold II provides a sequential control for each ADC which can consecutively read measurement values of several or all input channels of an ADC Thus the proces sor can be discharged a lot and o...

Страница 19: ...e output number If it is not in the value range the maximum or minimum values are output 5 1 3 Calculation Basis Voltage range The voltage range of the ADwin Gold II at the analog inputs and outputs i...

Страница 20: ...l ULSB is the smallest digitally displayable voltage difference and is equivalent to the voltage of the least significant bit LSB The measured value of the 18 bit ADC can be returned with 16 bit or wi...

Страница 21: ...t input can start processes being completely and immediately processed see also ADbasic manual chapter Program Structure The event input has an internal pull down resistance 4 7k In addition to the ex...

Страница 22: ...table shows how the inputs and outputs IN OUT are configured when you use the value of the first column as instruction argument 5 3 Watchdog The correct operation of ADwin Gold II can be controlled wi...

Страница 23: ...directional serial bus with 5MHz clock rate Low Speed The bus is a in house design to access external modules The first module available is HSM 24V which can process 24 Volt signals on 32 digital cha...

Страница 24: ...he waiting times caused by the standard instructions for other purposes If you apply these instructions skillfully you may be able to execute faster measurements It is important to set the Start_Conv...

Страница 25: ...OUT1 OUT8 as to the 37 pin D SUB socket ANALOG OUT see figure Fig 12 Pin assignment ANALOG OUT of DA add on Programming You program the additional DACs like the DAC 1 and DAC 2 see chapter 5 1 and ch...

Страница 26: ...ta of the evaluating units are provided in latches be read out Up down counter external clock input With event counting incrementing decrementing of the counter is caused by external square wave signa...

Страница 27: ...sig nal can be read The counters are controlled by ADbasic instructions via control register instructions see below At the inputs A CLK B DIR and CLR LATCH TTL alike signals are necessary In any case...

Страница 28: ...lear counter Cnt_Clear 4 Enable counter Cnt_Enable For further processing of the values in the ADbasic program transfer the values into the latch register and read them out there If you disable or ena...

Страница 29: ...or down can reliably be derived from the Sign of the difference new counter value minus old counter value and not from the comparison of the counter values Overflow For programming please remember th...

Страница 30: ...ignal can be static for a fixed count direction or dynamic for changing directions The signals at the inputs A CLK and B DIR can be individually inverted with Cnt_ Mode Programming example Include ADw...

Страница 31: ...re not incremented Changing the phase shift will have an effect on the maximum input frequency If it differs from 90 degrees the maximum input frequency of 5 0 MHz decreases for instance to 45 degrees...

Страница 32: ...n There are several registers assigned to each PWM counter being described below If like in the example above PWM counters are evaluated with standard instructions Cnt_Get_PW and Cnt_Get_PW_HL no furt...

Страница 33: ...ters with Cnt_Sync_Latch and then evaluated The calculation depends on the set reference edge Gold II Bus CLR LATCH 1 0k Latch 1 pos Latch 2 pos Latch 2 neg SW Latch G 100MHz Latch 1 neg 32 Bit PWM Co...

Страница 34: ...ade with the routine below which you have programmed in the ADbasic process REM Par_1 Gray value To be converted REM Par_2 Flag indicating a new Gray value REM Par_9 Result of the Gray To binary conve...

Страница 35: ...ctions description see chapter 15 starting from page 136 The instructions The instructions are in the include file ADwinGoldII INC More information can be found in the online help 8 7 6 5 4 3 2 1 15 1...

Страница 36: ...31 Depending on your requirements you can order both interfaces either as high speed or low speed version Switching in operation is not possible The inputs of the CAN interfaces are located on the con...

Страница 37: ...nstructions which are directly accessing the controller s registers Message Messages sent via CAN bus are data telegrams with up to 8 bytes which are charac terized by so called identifiers The CAN co...

Страница 38: ...he data faster than you are receiving them A data loss is indicated by a flag The message object 15 has an additional buffer so that 2 messages can be stored there Assigning messages The allocation of...

Страница 39: ...ncoming messages without having to control the message input polling You can enable the interrupts of several message objects Which object has caused the interrupt can be seen in the interrupt registe...

Страница 40: ...s are described more detailed Handshake Handshake The interface is operated in 4 modes 1 RS232 without handshake 2 RS232 with software handshake Xon Xoff 3 RS232 hardware handshake RTS CTS The signals...

Страница 41: ...gramming of the interface depend on this controller The controller is easily programmed with ADbasic instructions The instructions are in the include file ADwinGoldII INC More information can be found...

Страница 42: ...nterfaces with each other REM befor starting the program Include adwpext inc Dim DATA_1 1000 As Long Transmitted data Dim DATA_2 1000 As Long Received data Dim lauf As Long Control variable Init For r...

Страница 43: ...until it receives the value 55 Now the interface REM becomes active and sends the value 44 Include ADwgcan inc Dim ret_val val As Long Init RS_Reset REM Initialization of the interfaces REM 38400 Bau...

Страница 44: ...e status ST Fig 24 Profibus Meaning of LEDs Projecting the Profibus You are projecting the Profibus with a configuration tool suitable for the bus master The following process description uses a Profi...

Страница 45: ...n tool master Configure the outputs as seen from the master first and then the inputs If there are inputs initialized in ADbasic you have to configure outputs as correspondent in the configuration too...

Страница 46: ...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 Operatin...

Страница 47: ...he DeviceNet network status NP and module status MS module stands for the node here Fig 26 DeviceNet Meaning of LEDs Projecting the DeviceNet You are projecting the DeviceNet with a configuration tool...

Страница 48: ...page 178 or in the online help Initialization must be run with low priority since it takes some seconds if it were a pro cess with high priority the PC interrupts the communication after a time time...

Страница 49: ...communication errors ERR Fig 27 EtherCAT Meaning of LEDs If both LEDs RUN and ERR turn red a serious error has occurred in the interface Please inform the support of J ger Messtechnik you find the add...

Страница 50: ...bus member to the EtherCAT bus Using TwinCAT System Manager you mark the EtherCAT master and select the menu entry Scan boxes from the context menu right mouse click A list of all current bus members...

Страница 51: ...out For the same reason reading and writing data should be run with low priority Specifications The fieldbus node is in agreement with the international standard IEC 61158 and IEC 61784 2 More inform...

Страница 52: ...rating mode Behavior Init The EtherCAT slave is being initialized by the bus master PreOp The interface is part of the data exchange inputs and outputs are not active SafeOp The interface can receive...

Страница 53: ...ached with erased memory card after running Media_Erase Real time clock The add on provides a real time clock which can be used to assign a specified time to measurements With simple instructions date...

Страница 54: ...d powering up anew the boot loader option is enabled again By programming the Flash EEPROM without processes and only with the file ADwin11 btl the system will only be booted after power up but no pro...

Страница 55: ...mounting kits for enclosures ADwin Gold II pow On the secondary side ADwin Gold II pow provides 12 Volt at a maximum load of 2 Ampere The power supply unit is rated for the highest load and maximum ex...

Страница 56: ...les like HSM24V are described in a separate man ual or in the online help The TiCo processor of the ADwin Gold II system can also access the inputs outputs and interfaces The description of ADbasic in...

Страница 57: ...This section describes the following instructions Event_Config page 52 Event_Enable page 53 Set_LED page 54 Watchdog_Init page 55 Watchdog_Reset page 56 Watchdog_Standby_Value page 57 Watchdog_Status...

Страница 58: ...the appropriate include file for ADbasic TiCoBasic INCLUDE ADwinGoldII inc GoldIITiCo inc Init Rem Configure event input for Rem minimum time 15 ns neg edge event signal after 4 edges Event_Config 0...

Страница 59: ...used in parallel because both instructions set the used event source See also Event_Config En_CAN_Interrupt Valid for Gold II Example INCLUDE ADwinGoldII inc Init Rem Set CAN interface 2 as event sou...

Страница 60: ...D is normally switched on and off by process 15 To use Set_ LED the process should therefore be stopped See also Valid for Gold II Example Rem Select the appropriate include file for ADbasic TiCoBasic...

Страница 61: ...hdog counting TTL level low watchdog stopped counter value 0 is reached If bit 2 is not set or the watchdog counter is disabled the output Watch dog Out can be set with Watchdog_Standby_Value See also...

Страница 62: ...d and executes the functions being set by Watchdog_Init Set the active watchdog timer at least once to the start value see Watchdog_Init within the counting time in order to keep your system working I...

Страница 63: ...does not set the output or is disabled see Watchdog_Init After power up the output Watchdog Out is set to TTL level Low See also Watchdog_Init Watchdog_Reset Watchdog_Status Valid for Gold II Example...

Страница 64: ...the sy stem assumes a malfunction and and executes the functions being set by Watchdog_Init If the watchdog counter is disabled bit 0 0 bit 1 has no function See also Watchdog_Init Watchdog_Reset Wat...

Страница 65: ...ts on ADwin Gold II DAC page 60 Start_DAC page 61 Write_DAC page 62 ADC page 63 ADC24 page 65 Read_ADC page 67 Read_ADC24 page 68 Set_Mux1 page 69 Set_Mux2 page 71 Start_Conv page 73 Wait_EOC page 74...

Страница 66: ...C Write_DAC Valid for Gold II Gold II DA4 Gold II DA8 Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc Rem Digital P controller Dim set_to...

Страница 67: ...old II Gold II DA4 Gold II DA8 Example REM Simultaneous output of two different signal waveforms REM on outputs DAC 1 and 2 Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwi...

Страница 68: ...ogram from the PC Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc Dim i As Long Declaration Dim Data_1 1000 Data_2 1000 Data_3 1000 As Long Dim D...

Страница 69: ...you indicate a non existing input channel the measurement result will be undefined In the following examples the instructions Set_Mux1 2 Start_Conv Wait_EOC and Read_ADC should be used instead of ADC...

Страница 70: ...lease select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc for ADbasic Rem Include GoldIITiCo inc for TiCoBasic Dim iw As Long Declaration Event Measure analog input 1 iw ADC 1...

Страница 71: ...tling time and conversion time are given on page 17 If you indicate a non existing input channel the measurement result will be undefined In the following examples you should use the instructions Set_...

Страница 72: ...lease select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc for ADbasic Rem Include GoldIITiCo inc for TiCoBasic Dim iw As Long Declaration Event Measure analog input 1 iw ADC24...

Страница 73: ...e include for ADbasic TiCoBasic Include ADwinGoldII inc for ADbasic Rem Include GoldIITiCo inc for TiCoBasic Event Set multiplexer ADC1 to channel 3 ADC2 to channel 4 Set_Mux1 001b Set_Mux2 001b Rem i...

Страница 74: ...TiCoBasic Include ADwinGoldII inc for ADbasic Rem Include GoldIITiCo inc for TiCoBasic Dim val1 val2 As Long Event Set multiplexer ADC12 1 to channel 3 ADC12 2 to channel 4 Set_Mux1 001b Set_Mux2 001b...

Страница 75: ...page 17 It is preferable to use a binary code suffix b for the bit pattern This will make it easier to display the bit pattern than if you use a decimal or hexadecimal representation although it is st...

Страница 76: ...clude for ADbasic TiCoBasic Include ADwinGoldII inc for ADbasic Rem Include GoldIITiCo inc for TiCoBasic Dim val As Long Event Set_Mux1 11010b Set multiplexer 1 channel and gain Rem interrupt IO acces...

Страница 77: ...page 17 It is preferable to use a binary code suffix b for the bit pattern This will make it easier to display the bit pattern than if you use a decimal or hexadecimal representation although it is st...

Страница 78: ...lude for ADbasic TiCoBasic Include ADwinGoldII inc for ADbasic Rem Include GoldIITiCo inc for TiCoBasic Dim val As Long Event Set_Mux2 01100b Set multiplexer 2 channel and gain Rem interrupt IO access...

Страница 79: ..._EOC Valid for Gold II Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc for ADbasic Rem Include GoldIITiCo inc for TiCoBasic Dim val1 As Long Event Set_M...

Страница 80: ...DwinGoldII inc for ADbasic Rem Include GoldIITiCo inc for TiCoBasic Dim val As Long Event Set_Mux2 001b Set MUX 2 to channel 4 Rem interrupt IO access for MUX settling time IO_Sleep 200 Rem use waitin...

Страница 81: ...id for Gold II T11 TiCo adc_no Number 1 2 of the ADC LONG mode Operating mode of the sequential control 0 Single conversion default no sequential con trol 1 Mode single shot single conversion cycle 2...

Страница 82: ...or sequential control of ADC 2 Seq_Mode 2 2 continuous mode Seq_Set_Delay 2 125 waiting time 4 5 s 125 20ns 2 s Seq_Set_Gain 2 0 gain factor 1 Rem select all channels selection is valid only for activ...

Страница 83: ...rt Seq_Status Valid for Gold II Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc Dim Data_1 16 As Long At DM_Local Dim i As Long Init Rem...

Страница 84: ..._Set_Gain Seq_Select Seq_Start Seq_Status Valid for Gold II Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc Dim Data_1 16 As Long At DM_L...

Страница 85: ...in Seq_Select Seq_Start Seq_Status Valid for Gold II Example Include ADwinGoldII inc Dim Data_1 16 As Long At DM_Local Init Rem settings for sequential controls Seq_Mode 1 2 Seq_Mode 2 2 continuous mo...

Страница 86: ...too short for an accurate measure ment You can change the waiting time until the next conversion with the parameter mux_time Setting the waiting time influences the accuracy of the measurement at a h...

Страница 87: ...s for sequential control of ADC 2 Seq_Mode 2 2 continuous mode Seq_Set_Delay 2 125 waiting time 4 5 s 125 20ns 2 s Seq_Set_Gain 2 0 gain factor 1 Rem select all channels selection is valid only for ac...

Страница 88: ...Dim Data_1 16 As Long At DM_Local Dim i As Long Init Rem settings for sequential control of ADC 2 Seq_Mode 2 2 continuous mode Seq_Set_Delay 2 125 waiting time 4 5 s 125 20ns 2 s Seq_Set_Gain 2 0 gain...

Страница 89: ...ugh the input channels are selected together with Seq_ Select the sequential controls of the ADCs work independently ADC 1 converts inputs with odd numbers only ADC 2 inputs with even num ber The chan...

Страница 90: ...for sequential control of ADC 2 Seq_Mode 2 2 continuous mode Seq_Set_Delay 2 125 waiting time 4 5 s 125 20ns 2 s Seq_Set_Gain 2 0 gain factor 1 Rem select all channels selection is valid only for acti...

Страница 91: ...iate include for ADbasic TiCoBasic Include ADwinGoldII inc for ADbasic Rem Include GoldIITiCo inc for TiCoBasic Dim Data_1 1600 As Long At DM_Local Dim i As Long Init Rem settings for sequential contr...

Страница 92: ...I inc GoldIITiCo inc Dim Data_1 16 As Long At DM_Local Dim i As Long Init Rem settings for sequential control of ADC 1 Seq_Mode 1 1 single shot mode Seq_Set_Delay 1 125 waiting time 4 5 s 125 20ns 2 s...

Страница 93: ...gin_Edge page 90 Digin_FIFO_Clear page 91 Digin_FIFO_Enable page 92 Digin_FIFO_Full page 94 Digin_FIFO_Read page 95 Digin_FIFO_Read_Timer page 96 Digin_Long page 97 Digin_Word1 page 98 Digin_Word2 pag...

Страница 94: ...at you use the binary representation suffix b It shows the allocation of bits to channel groups more clearly than decimal or hexadecimal representations which can still be used if desired See also Dig...

Страница 95: ...ts in groups of 8 See also Conf_DIO Digin_Edge Digin_Long Digin_Word1 Digin_Word2 Di gout Valid for Gold II Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII...

Страница 96: ...O_Full Digin_ FIFO_Read Digin_FIFO_Read_Timer Valid for Gold II Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc Init Conf_DIO 1100b chann...

Страница 97: ...d II Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc Dim Data_1 10000 Data_2 10000 As Long Dim num i index As Long Init Conf_DIO 1100b ch...

Страница 98: ...a level has been changed If an edge has occurred a pair of values is copied into an internal FIFO array Value 1 contains the level status of all channels as bit pattern Value 2 contains a time stamp w...

Страница 99: ...000 Data_2 10000 As Long Dim i num index As Long Init Conf_DIO 1100b channels 0 15 as inputs Digin_FIFO_Enable 0 edge control off Digin_FIFO_Clear clear FIFO Digin_FIFO_Enable 10011b control channels...

Страница 100: ...IFO_Clear Digin_FIFO_Enable Digin_FIFO_Read Digin_ FIFO_Read_Timer Digin_Edge Valid for Gold II Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITi...

Страница 101: ...Digin_FIFO_Enable Digin_FIFO_Full Digin_ FIFO_Read_Timer Digin_Edge Valid for Gold II Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc Di...

Страница 102: ...ach the original timer value after about 43 seconds 10ns 232 For compa rison of time this overflow must be considered so the timer value must be queried regularly in the program before a overflow has...

Страница 103: ...s and DIO16 DIO31 as outputs It is preferable to use a binary code suffix b for the bit pattern This will make it easier to display the bit pattern than if you use a decimal or hexadecimal representat...

Страница 104: ...d DIO16 DIO31 as outputs It is preferable to use a binary code suffix b for the bit pattern This will make it easier to display the bit pattern than if you use a decimal or hexadecimal representation...

Страница 105: ...nd DIO16 DIO31 as outputs It is preferable to use a binary code suffix b for the bit pattern This will make it easier to display the bit pattern than if you use a decimal or hexadecimal representation...

Страница 106: ...onf_DIO Digin Digout_Bits Digout_Long Digout_Word1 Digout_ Word2 Valid for Gold II Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc Dim va...

Страница 107: ..._Long Valid for Gold II Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc Dim value As Long Init REM Configure inputs and outputs Conf_DIO...

Страница 108: ...also Conf_DIO Digin_Long Digout Digout_Bits Digout_Word1 Digout_ Word2 Get_Digout_Long Valid for Gold II Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII in...

Страница 109: ...Digout_Bits Digout_Long Get_Digout_ Long Digout_Set Valid for Gold II Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc DIM value As Long I...

Страница 110: ...Bits Digout_Long Get_Digout_ Long Digout_Reset Valid for Gold II Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc DIM value As Long Init R...

Страница 111: ..._Bits See also Conf_DIO Digin_Word1 Digout Digout_Bits Digout_Long Digout_ Word2 Get_Digout_Word1 Valid for Gold II Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwi...

Страница 112: ...Bits See also Conf_DIO Digin_Word2 Digout Digout_Bits Digout_Long Digout_ Word1 Get_Digout_Word2 Valid for Gold II Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwin...

Страница 113: ..._Digout_Long will re turn an undefined value Conf_DIO configures digital channels as in puts or outputs in groups of 8 See also Conf_DIO Digin_Long Digout_Bits Digout_Long Get_Digout_Word1 Get_Digout_...

Страница 114: ...ll re turn an undefined value Conf_DIO configures digital channels as in puts or outputs in groups of 8 See also Conf_DIO Digin_Word1 Digout_Bits Digout_Word1 Get_Digout_ Long Get_Digout_Word1 Get_Dig...

Страница 115: ...ll re turn an undefined value Conf_DIO configures digital channels as in puts or outputs in groups of 8 See also Conf_DIO Digin_Word1 Digout_Bits Digout_Word2 Get_Digout_ Long Get_Digout_Word1 Get_Dig...

Страница 116: ...counter inputs of ADwin Gold II Cnt_Clear page 111 Cnt_Enable page 113 Cnt_Get_Status page 114 Cnt_Get_PW page 115 Cnt_Get_PW_HL page 116 Cnt_Latch page 117 Cnt_Mode page 119 Cnt_PW_Latch page 121 Cnt...

Страница 117: ...so the counters start counting from 0 Please pay attention to set Cnt_Mode parameter pattern to bit 1 0 for the appropriate counters Else with bit 1 1 the counter inputs A B have also to be set to TTL...

Страница 118: ...rs 1 2 diff 3 4 single ended Rem Counter 1 Mode clock direction enable CLR input Cnt_Mode 1 10000b Cnt_Mode 2 0 Set all counters to external clock Cnt_Clear 11b reset counters 1 2 to 0 Rem start count...

Страница 119: ...iCoBasic Dim old_1 new_1 As Long Dim old_2 new_2 As Long Init old_1 0 initialize old_2 0 Cnt_SE_Diff 0011b counters 1 2 diff 3 4 single ended Rem Counter 1 Mode clock direction enable CLR input Cnt_Mo...

Страница 120: ...lso Cnt_Clear Cnt_Enable Cnt_Get_PW Cnt_Get_PW_HL Cnt_Latch Cnt_Mode Cnt_PW_Latch Cnt_Read Cnt_Read_Latch Cnt_SE_Diff Valid for Gold II CNT Example T11 TiCo counter_ no Counter number 1 4 LONG ret_val...

Страница 121: ...Latch Cnt_SE_ Diff Valid for Gold II CNT Example Include ADwinGoldII Inc Init Cnt_SE_Diff 0 all counters single ended TTL Cnt_Mode 1 0 Counter 1 PWM at input A Cnt_Mode 2 0 Counter 2 PWM at input A Cn...

Страница 122: ...iCoBasic Include ADwinGoldII inc for ADbasic Rem Include GoldIITiCo inc for TiCoBasic Dim old_1 new_1 As Long Dim old_2 new_2 As Long Init old_1 0 initialize old_2 0 Cnt_SE_Diff 0 all counters single...

Страница 123: ...attern Parameters Notes After Cnt_Latch has been executed the bit pattern is automatically re set to 0 zero Latch A is read out into a variable with Cnt_Read_Latch command Valid for Gold II CNT See al...

Страница 124: ...rs 1 2 diff 3 4 single ended Rem Counter 1 Mode clock direction enable CLR input Cnt_Mode 1 10000b Cnt_Mode 2 0 Set all counters to external clock Cnt_Clear 11b reset counters 1 2 to 0 Rem start count...

Страница 125: ...4 LONG pattern Bit pattern to set the operating mode of a counter LONG Bit no Meaning Bit 0 Counter mode Bit 0 mode clock direction Bit 1 mode A B Bit 1 Clear mode Signal condition which clears the c...

Страница 126: ...old_2 new_2 As Long Init old_1 0 initialize old_2 0 Cnt_SE_Diff 0011b counters 1 2 diff 3 4 single ended Rem Counter 1 Mode clock direction enable CLR input Cnt_Mode 1 10000b Cnt_Mode 2 0 Set all coun...

Страница 127: ...for ADbasic TiCoBasic Include ADwinGoldII inc for ADbasic Rem Include GoldIITiCo inc for TiCoBasic Dim old_1 new_1 As Long Dim old_2 new_2 As Long Init old_1 0 initialize old_2 0 Cnt_SE_Diff 0 all co...

Страница 128: ...c Include ADwinGoldII inc for ADbasic Rem Include GoldIITiCo inc for TiCoBasic Dim old_1 new_1 As Long Dim old_2 new_2 As Long Init old_1 0 initialize old_2 0 Cnt_SE_Diff 0011b counters 1 2 diff 3 4 s...

Страница 129: ...LONG ret_val Content of the counter register LONG reg_no Register 0 Latch 1 for positive edges 1 Latch 2 for positive edges 2 Latch 3 for positive edges 3 Latch 1 for negative edges 4 Latch 2 for neg...

Страница 130: ...or ADbasic Rem Include GoldIITiCo inc for TiCoBasic Dim old_1 new_1 As Long Dim old_2 new_2 As Long Init old_1 0 initialize old_2 0 Cnt_SE_Diff 0011b counters 1 2 diff 3 4 single ended Rem Counter 1 M...

Страница 131: ...inc Cnt_SE_Diff pattern Parameter Notes After start up counter inputs are set to input mode single ended See also Cnt_Clear Cnt_Enable Cnt_Get_Status Cnt_Latch Cnt_Mode Cnt_ Read Cnt_Read_Latch Valid...

Страница 132: ...tion Cnt_Clear 0001b set counter 1 to 0 Cnt_Enable 0001b start counter 1 old_1 0 initialize old_2 0 error 0 reset error flag Event Par_1 Cnt_Read 1 read counter 1 Rem read status register and mask out...

Страница 133: ...both a VR counter and a PWM counter For each set bit both counter contents copied simultaneously The instruction therefore has the same function as Cnt_Latch and Cnt_PW_Latch to gether The buffers can...

Страница 134: ...able 0001b Cnt_Mode 1 0b mode clock dir Cnt_Clear 0Fh Cnt_Enable 0F0Fh enable standard and PWM counters Cnt_PW_Latch 0Fh copy PWM counter values oldpw 0 oldcnt 0 frequency 0 Event REM latch values of...

Страница 135: ...9 SSI interface ADwin 15 5 SSI interface This section describes instructions to access SSI decoders of ADwin Gold II SSI_Mode page 130 SSI_Read page 131 SSI_Set_Bits page 132 SSI_Set_Clock page 133 SS...

Страница 136: ...Status Valid for Gold II CNT Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc Rem Decoder 1 runs with 2 5 MHz Decoder 2 with 1 0 MHz Init...

Страница 137: ...oldIITiCo inc Rem Decoder 1 runs with 500 kHz Dim m n y As Long Init SSI_Set_Clock 1 50 clock rate for decoder 1 SSI_Mode 1 Set continuous mode encoder 1 SSI_Set_Bits 1 23 23 encoder bits for encoder...

Страница 138: ...Gold II CNT Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc Rem Decoder 1 runs with 2 5 MHz Decoder 2 with 1 0 MHz Init SSI_Set_Clock 1 1...

Страница 139: ...horter the cable length See also SSI_Mode SSI_Read SSI_Set_Bits SSI_Start SSI_Status Valid for Gold II CNT Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII i...

Страница 140: ...ect the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc Rem Both decoders run with 100 kHz Init SSI_Set_Clock 1 250 clock rate for decoder 1 SSI_Set_Clock 2 250 clock...

Страница 141: ...with 100 kHz Init SSI_Set_Clock 1 250 clock rate for decoder 1 SSI_Set_Clock 2 250 clock rate for decoder 2 SSI_Mode 0 Set single shot mode all counters SSI_Set_Bits 1 23 23 encoder bits for encoder 1...

Страница 142: ...y 2013 15 6 PWM Outputs This section describes instructions to access PWM outputs of ADwin Gold II PWM_Enable page 137 PWM_Get_Status page 138 PWM_Init page 139 PWM_Latch page 141 PWM_Reset page 142 P...

Страница 143: ...e PWM outputs are disabled at once or after the next end of period depends on the setting which was done with PWM_Init parameter mode See also PWM_Get_Status PWM_Init PWM_Latch PWM_Reset PWM_ Standby_...

Страница 144: ...de ADwinGoldII inc GoldIITiCo inc ret_val PWM_Get_Status Parameters Notes See also PWM_Enable PWM_Init PWM_Latch PWM_Reset PWM_Standby_ Value PWM_Write_Latch Valid for Gold II CNT Example T11 TiCo ret...

Страница 145: ...in See also PWM_Enable PWM_Get_Status PWM_Latch PWM_Reset PWM_ Standby_Value PWM_Write_Latch Valid for Gold II CNT T11 TiCo pwm_ output Number 1 6 of PWM output LONG startdela y Start delay in units o...

Страница 146: ...fine freq1 FPar_1 Define freq2 FPar_2 Define pw1 FPar_3 Define pw2 FPar_4 Dim channel As Long Init freq1 1000 1000 Hz freq2 2000 2000 Hz pw1 50 50 pw2 70 70 PWM_Reset 011b stop channels 1 und 2 For ch...

Страница 147: ...when PWM_Latch is processed the latch values are started to be output The time when the output of the new values starts at once or after the next end of period depends on the setting which was done wi...

Страница 148: ...rn Parameters Notes The output will be stopped immediately even when PWM_Init has set a different stop mode See also PWM_Enable PWM_Get_Status PWM_Init PWM_Latch PWM_ Standby_Value PWM_Write_Latch Val...

Страница 149: ...TL outputs If a PWM output is disabled with PWM_Enable the output is set to de fault level from pattern The default level will also be set after the PWM output has stopped After power up the outputs a...

Страница 150: ...n the setting of the parameter startvalue from the instruction PWM_Init startvalue 1 Set dutycycle to the value of the duty cycle startvalue 0 Set dutycycle to the inverse duty cycle dutycycle 100 dut...

Страница 151: ...escribes instructions to access CAN interfaces of ADwin Gold II CAN_Msg page 146 En_CAN_Interrupt page 148 En_Receive page 149 En_Transmit page 150 Get_CAN_Reg page 151 Init_CAN page 152 Read_Msg page...

Страница 152: ...llowing functions Enter the data bytes to be transferred and their number into the field CAN_Msg before transferring them with Transmit See also En_CAN_Interrupt En_Receive En_Transmit Get_CAN_Reg Ini...

Страница 153: ...g Define pi 3 14159265 Dim i As Long Init Init_CAN 1 Initialize CAN controller 1 REM Enable message object 6 REM for sending with the identifier 40 11 bit En_Transmit 1 6 40 0 REM Create bit pattern o...

Страница 154: ...See also CAN_Msg En_Receive En_Transmit Valid for Gold II CAN Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc Init Init_CAN 1 Initialize...

Страница 155: ...ages with the identifier you have specified See also CAN_Msg En_Transmit Get_CAN_Reg Valid for Gold II CAN Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII i...

Страница 156: ...et_CAN_Reg Valid for Gold II CAN Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc Init Init_CAN 1 Initialize CAN Controller 1 Rem Initiali...

Страница 157: ...ter list of the CAN controller in the Intel AN82527 datasheet See also Set_CAN_Baudrate Set_CAN_Reg Valid for Gold II CAN Example Rem Please select the appropriate include for ADbasic TiCoBasic Includ...

Страница 158: ...gister Bus Configuration is set to 0 The transfer rate for the CAN bus is set to 1 MBit s All message objects are disabled You have to execute this instruction before you access the CAN control ler wi...

Страница 159: ...Parameters Notes To receive a message you have to follow the correct order Once Enable the message object with En_Receive for receiving As often as needed Check for a received message and save to CAN_...

Страница 160: ...1 1 40 0 Initialize the message object 1 to receive CAN messages with identifier 40 Event REM If the message is changed read out the received data REM from object 1 and transfer the identifier to para...

Страница 161: ...kes sure the message is consistent If a new message arrives while reading an old message the re is no mixture of old and new message To receive a message follow these steps Enable the message object f...

Страница 162: ...1 1 40 0 Initialize the message object 1 to receive CAN messages with identifier 40 Event REM If the message is changed read out the received data REM from object 1 and transfer the identifier to para...

Страница 163: ...ng mode to 0 One sample per bit Select the settings in such a way that the sample point is always between 60 and 72 of the total bit length Set the jump width for synchroniziation to 1 In special case...

Страница 164: ...troller can be found in the Intel AN82527 datasheet See also Set_CAN_Baudrate Get_CAN_Reg Valid for Gold II CAN Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGol...

Страница 165: ...Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc REM Send a 32 Bit FLOAT value here Pi as sequence of REM 4 bytes in a message object REM Receivi...

Страница 166: ...2013 15 8 RSxxx interface This section describes instructions to access RSxxx interfaces of ADwin Gold II Check_Shift_Reg page 161 Get_RS page 162 Read_FIFO page 163 RS485_Send page 164 RS_Init page 1...

Страница 167: ...r you have more experi ence about how the controller operates data sheet of the manufacturer Texas Instruments For more common applications more comfortable instructions are availabe in the include fi...

Страница 168: ...use this instruction only after you have more experi ence about how the controller operates data sheet of the manufacturer Texas Instruments For more common applications more comfortable instructions...

Страница 169: ...II CAN Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc Init RS_Reset RS_Init 1 9600 0 8 0 1 Initialization of RSxxx interface 1 with 960...

Страница 170: ...r The RSxxx interface transfers data to the bus which are read by other devices Sender receiver The RSxxx interface can transfer data to the bus and back at the same time Thus the sent data can be che...

Страница 171: ...after you have executed a hardware reset with RS_Reset If transfer protocol RS485 is set the transfer direction must be set too with RS485_Send You find a list of standard baud rates on page 35 fig 23...

Страница 172: ...Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc Init RS_Reset Reset RSxxx controller RS_Init 1 9600 0 8 0 1 Initialization of RSxxx interface 1...

Страница 173: ...described to which values the registers have been set after the hardware reset After a hardware reset an initialization with RS_Init must follow in or der to initialize the controller and to set the i...

Страница 174: ...d to use this instruction only after you have more experi ence about how the controller operates data sheet of the manufacturer TL16C754 from Texas Instruments For more common applications more comfor...

Страница 175: ...Init RS_Reset RS485_Send Valid for Gold II CAN Example Rem Please select the appropriate include for ADbasic TiCoBasic Include ADwinGoldII inc GoldIITiCo inc Dim val As Long Init RS_Reset RS_Init 1 96...

Страница 176: ...inGoldII inc GoldIITiCo inc ret_val Write_Fifo_Full interface Parameters Notes The return value is the same as with Write_Fifo See also Check_Shift_Reg Get_RS Read_FIFO RS_Init RS_Reset RS485_Send Set...

Страница 177: ...me As Long Init Rem reset and initialize interface RS_Reset rs_adr RS_Init rs_adr 1 9600 0 8 0 0 Fifo_Clear 1 Fifo_Clear 2 green_led 0 red_led 0 Event Rem sending If Fifo_Full 1 0 Then any data presen...

Страница 178: ...s_adr rs_channel red_led And 1 Or Shift_Left green_led And 1 1 If red_led 0 Or green_led 0 Then If Read_Timer led_time 20000000 Then If red_led 0 Then Inc red_led If green_led 0 Then Inc green_led led...

Страница 179: ...ld II Manual February 2013 173 Profibus interface ADwin 15 9 Profibus interface This section describes instructions to access a Profibus interface of ADwin Gold I Init_Profibus page 174 Run_Profibus p...

Страница 180: ...ofibus LONG in_mod_ cnt Number 0 76 of input areas in the Profibus Slave The max number depends on in_mod_ type LONG in_mod_ type Key number 1 3 16 for the length of input areas 1 1 Byte max value for...

Страница 181: ...Dim i As Long Dim error As Long LowInit Processdelay 3000000 set to 100 Hz For i 1 To 10 initialize info array info i 0 Next i Rem initialize profibus interface 38 input data areas of 2 byte Rem and 7...

Страница 182: ...byte length are stored in 5 4 20 ar ray elements Valid for Gold II Profibus See also Init_Profibus Example see Init_Profibus T11 out_pd_ arr Array from which the Profibus Slave reads data and writes t...

Страница 183: ...II Manual February 2013 177 DeviceNet interface ADwin 15 10DeviceNet interface This section describes instructions to access a DeviceNet interface of ADwin Gold II Init_DeviceNet page 178 Run_DeviceNe...

Страница 184: ...max number depends on in_mod_ type LONG in_mod_ type Key number 1 3 16 for the length of input areas 1 1 Byte max value for in_mod_cnt 255 2 2 Byte max value for in_mod_cnt 127 3 4 Byte max value for...

Страница 185: ...ine in_arr DATA_3 Dim out_arr 255 As Long At DM_Local Dim in_arr 254 As Long At DM_Local Dim conf_arr 200 As Long At DM_Local Dim info 10 As Long At DM_Local Dim i As Long Dim error As Long LowInit Pr...

Страница 186: ...ta areas of 4 byte length are stored in 5 4 20 ar ray elements Valid for Gold II DeviceNet See also Init_DeviceNet Example see Init_DeviceNet T11 out_pd_ arr Array from which the DeviceNet Slave reads...

Страница 187: ...ADwin Gold II Manual February 2013 181 DeviceNet interface Run_DeviceNet ADwin...

Страница 188: ...CAT interface ADwin 182 ADwin Gold II Manual February 2013 15 11EtherCAT interface This section describes instructions to access an EtherCAT interface of ADwin Gold II ECAT_Init page 183 ECAT_Run page...

Страница 189: ...f input areas in the EtherCAT interface The max number depends on in_mod_ type LONG in_mod_ type Key number 1 3 16 for the length of input areas 1 1 Byte max value for in_mod_cnt 254 2 2 Byte max valu...

Страница 190: ...error As Long Init Processdelay 3000000 set to 100 Hz For i 1 To 10 initialize info array info i 0 Next i Rem initialize EtherCAT interface 38 input data areas of 2 byte Rem and 76 output data bytes o...

Страница 191: ...ray elements Valid for Gold II EtherCAT See also ECAT_Init Example see ECAT_Init T11 in_pd_ arr Array from which the EtherCAT interface reads data and writes them to the EtherCAT bus ARRAY LONG in_pd_...

Страница 192: ...l time clock ADwin 186 ADwin Gold II Manual February 2013 15 12Real time clock This section describes instructions to access real time clock interfaces of ADwin Gold II RTC_Get page 187 RTC_Set page 1...

Страница 193: ...ters are return values thus you have to use variables as pa rameters See also RTC_Set Valid for Gold II Storage Example Include ADwinGoldII inc Dim year mon day h m s As Long Init Rem read real time c...

Страница 194: ...iority See also RTC_Get Valid for Gold II Storage Example Include ADwinGoldII inc LowInit REM Set real time clock to July 4th 2003 9 17 30 Par_1 RTC_Set 3 7 4 9 17 30 T11 year Year 0 99 corresponds to...

Страница 195: ...ry 2013 189 Storage media ADbasic ADwin 15 13Storage media ADbasic This section describes instructions to access the memory card of ADwin Gold II Media_Init page 190 Media_Erase page 191 Media_Write p...

Страница 196: ...error message timeout The instruction Media_Init is only available in ADbasic but not in Ti CoBasic See also Media_Erase Media_Write Media_Read Valid for Gold II Storage 16 Example Include ADwinGoldII...

Страница 197: ...y process Erasing the memory card may increase the data transfer rate for read and write See also Media_Init Media_Write Media_Read Valid for Gold II Storage 16 Example Include ADwinGoldII inc Dim err...

Страница 198: ...to an error message timeout The data transfer speed per data block increases with the number of transferred data blocks The array dest_array must be dimensioned with at least count_ blocks128 128 ele...

Страница 199: ..._array must equal the data type of the prviously stored values on the memory card If not the values will be wrongly interpreted Values stored on the memory card always have 32 bit length even if the d...

Страница 200: ...o an error message timeout The data transfer speed per data block increases with the number of transferred data blocks The array source_array must be dimensioned with at least count_blocks128 128 elem...

Страница 201: ...cks Par_52 number of medium data blocks Define val_per_block 128 values per medium data block Define media_info Data_197 array with media information Define sine Data_1 array for sine values Define nd...

Страница 202: ...ic ADwin 196 ADwin Gold II Manual February 2013 15 14Storage media TiCoBasic This section describes instructions to access the memory card of ADwin Gold II with the TiCo processor Media_Read page 197...

Страница 203: ...block increases with the number of transferred data blocks The array dest_array must be dimensioned with at least count_ blocks128 128 elements See also Media_Write Valid for Gold II Storage 16 Exampl...

Страница 204: ...ta block increases with the number of transferred data blocks The array source_array must be dimensioned with at least count_blocks128 128 elements See also Media_Read Valid for Gold II Storage 16 TiC...

Страница 205: ...CoBasic Rem Rem Part 2 TiCoBasic program Rem store measurement values Include GoldIITiCo inc Define val_per_blk 128 values per medium data block Define blk_group 40 number of blocks to write Define bl...

Страница 206: ...Power up current Ipower on Ub 12V 3 Valid operation ranges Temperature Tchassis 5 60 C Relative humidity Frel no condensation 0 80 Storage Temperature T 20 70 C Humidity RH no condensation or aggressi...

Страница 207: ...69 6 654 54 2 126 IN 1 IN 3 IN 5 IN 7 IN 9 IN 11 IN 13 IN 15 IN 2 IN 4 IN 6 IN 8 IN 10 IN 12 IN 14 IN 16 OUT 1 OUT 3 OUT 5 OUT 7 OUT 2 OUT 4 OUT 6 OUT 8 ANALOG OUT ANALOG IN 1 8 ANALOG IN 9 16 ENET GN...

Страница 208: ...IO per DIO line 35 mA ITOTAL all DIGIN or all DIGOUT via VCC GND 70 EVENT Input Edge recognition pos VT Low VCC 5V 1 65 1 9 2 15 V Switching hysteresis VT VT 0 4 0 9 Input current IIH VI 2 7V 1 1 mA I...

Страница 209: ...rity INL 2 LSB Differential non linearity DNL 1 Offset Drifta 1 ppm K Error Adjustable Gain Drifta 3 ppm K Error Adjustable a refers to the total voltage range FSR b Full Scale Range Processor Paramet...

Страница 210: ...quency fref 100 MHz Accuracy and Drift 20 ppm Counter inputs differentiala a see also data sheet MAX3098 from MAXIM Differential input thresh old voltage VTH 10V VCM 13 2V 200 200 mV Input hysteresis...

Страница 211: ...b Cadmium Cd Hexavalent chromium Cr VI Polybrominated biphenyls PBB Polybrominated diphenyl ethers PBDE Mercury Hg The product line ADwin Gold II complies with the requirements of the RoHS directive i...

Страница 212: ...50000 0000 49689 4410 49382 7160 48484 8485 47619 0476 47337 2781 47058 8235 46783 6257 45714 2857 45454 5455 44444 4444 43956 0440 43478 2609 42780 7487 42328 0423 42105 2632 41666 6667 41025 6410 40...

Страница 213: ...07 6923 12288 7865 12195 1220 12158 0547 12121 2121 12066 3650 12030 0752 12012 0120 11994 0030 11922 5037 11904 7619 11851 8519 11834 3195 11764 7059 11730 2053 11695 9064 11661 8076 11627 9070 11611...

Страница 214: ...7 7017 5439 6993 0070 6956 5217 6944 4444 6926 4069 6902 5022 6896 5517 6861 0635 6820 1194 6808 5106 6802 7211 6791 1715 6779 6610 6734 0067 6688 9632 6683 3751 6666 6667 6611 5702 6578 9474 6568 144...

Страница 215: ...16 Fig 12 Pin assignment ANALOG OUT of DA add on 19 Fig 13 Block diagram of a counter block 20 Fig 14 Pin assignment of CNT add on 21 Fig 15 Instructions of Gold II CNT counter add on 22 Fig 16 Circle...

Страница 216: ...47 RSxxx 34 SSI decoder 28 ADwin system boot 9 ADwin system concept 2 analog in outputs ADC measure a channel 63 ADC24 measure a channel 65 read converted value 16 bit 67 24 bit 68 set multiplexer 1 6...

Страница 217: ...ADwin Gold II Manual February 2013 A 12 Annex ADwin B Baud rates for CAN bus 7 block diagram 5 Boot automatical 48 from ADbasic 9 boot an ADwin system 9 Bootloader 48...

Страница 218: ...eck_Shift_Reg 161 CLK DIR counter 24 clock and direction 24 CNT add on 20 Cnt_ 111 127 Cnt_Clear 111 Cnt_Enable 113 Cnt_Get_PW 115 Cnt_Get_PW_HL 116 Cnt_Get_Status 114 Cnt_Latch 117 Cnt_Mode 119 Cnt_P...

Страница 219: ...e 14 digital channels edge detection unit 15 event input 15 overview 15 digital In outputs clear selected outputs 103 configure 88 read all inputs 97 read back all outputs 107 read back outputs 0 15 1...

Страница 220: ...rdware addresses TiCo processor 6 input resistor 15 instructions 52 event counter 24 Event_Config 52 Event_Config 52 Event_Enable 53 Event_Enable 53 F four edge evaluation 25 G Gain factor kV 14 Get_C...

Страница 221: ...counter 110 digital channels 87 EtherCAT 182 Profibus 173 177 real time clock 186 RSxxx interface 160 SSI interface 129 storage media ADbasic 189 storage media TiCoBasic 196 system functions event in...

Страница 222: ...DC 67 Read_ADC 67 Read_ADC24 68 Read_ADC24 68 Read_FIFO 163 Read_FIFO 163 Read_Msg 153 Read_Msg 153 Read_Msg_Con 155 Read_Msg_Con 155 real time clock 47 resistance internal of signal source 12 revisio...

Страница 223: ...8 Set_LED 54 Set_LED 54 Set_Mux1 69 Set_Mux1 69 Set_Mux2 71 Set_Mux2 71 Set_RS 168 Set_RS 168 settling time see multiplexer shielding 7 Software 50 SSI decoder 28 SSI_ 130 135 SSI_Mode 130 SSI_Read 13...

Страница 224: ...ruary 2013 W Wait_EOC 74 Wait_EOC 74 watchdog 16 Watchdog_ 55 58 Watchdog_Init 55 Watchdog_Reset 56 Watchdog_Standby_Value 57 Watchdog_Status 58 Write_DAC 62 Write_DAC 62 Write_FIFO 169 Write_FIFO 169...

Отзывы: