background image

Functions of the board 

PC104-PLUS1500 

38 

b) Downwards counter  

Function downwards counter: 

The counter starts with the counting value = relaod value and decrements with 
each valid edge. At the result of count 0, the counter is loaded with the reload 
value at the following valid edge. An interrupt can be generated with the 
overflow.  

Software clear: 

Deletes counter (= 0) 

Software trigger: 

Sets counter (= reload value) 

Example downwards counter 

Reload value = 9 
Initialisation on rising edge 
Interrupt is released 

At the current result of count = 0, with the following valid edge the reload value is 
reloaded and the interrupt enabled.  
 

Fig. 8-6: Downwards counter  

 

 

 

 

 

 

 

Summary of Contents for PC104-PLUS1500

Page 1: ...rtified Edition 01 07 05 2008 ADDI DATA GmbH Airpark Business Center Airport Boulevard B210 77836 Rheinmünster Germany Technical support 49 7229 1847 0 Technical description PC104 PLUS1500 Digital I O board optically isolated ...

Page 2: ...mitted unless this right has been granted by the product licence issued Non compliance with this could lead to civil and criminal proceedings ADDI DATA software product licence Please read this licence carefully before using the standard software The customer is only granted the right to use this software if he she agrees with the conditions of this licence The software must only be used to set up...

Page 3: ...afety precautions yellow leaflet If this leaflet is not with the documentation please contact us and ask for it Observe the instructions of the manual Make sure that you do not forget or skip any step We are not liable for damages resulting from a wrong use of the board Used symbols i IMPORTANT designates hints and other useful information WARNING It designates a possibly dangerous situation If th...

Page 4: ...tal outputs 43H13 4 3 5 Timer Watchdog 44H14 4 3 6 Counter 45H14 4 4 Component scheme 46H15 5 INSTALLATION OF THE BOARD 47H17 5 1 First steps 48H17 5 2 Board insertion into a housing system 49H17 5 2 1 Switch off the housing system and all units connected to the housing system 50H18 5 2 2 Fastening the board 51H18 6 SOFTWARE 52H20 6 1 Board registration 53H21 6 1 1 Installation of a new board 54H2...

Page 5: ... functions 62H30 8 3 Digital inputs 63H31 8 4 Digital outputs 64H32 8 5 Interrupt 65H33 8 6 Watchdog timer 66H36 8 6 1 Timer1 Digital watchdog 67H36 8 6 2 Timer2 68H36 8 7 Counter 69H36 9 STANDARD SOFTWARE 70H39 9 1 Software functions 71H39 9 2 Software samples 72H42 10 APPENDIX 73H43 10 1 Glossary 74H43 11 INDEX 75H48 ...

Page 6: ...n of the PC104 PLUS1500 to the relay output board PX 8500 87H28 12HFig 7 3 40 pin header 88H29 13HFig 7 4 Ribbon cable FB104 1500 from pin header to 37 pin male connector 89H29 14HFig 8 1 Block diagram of the PC104 PLUS1500 90H30 15HFig 8 2 Digital input level 91H31 16HFig 8 3 Digital output level 92H33 17HFig 8 4 Example for the OR logic Edge switch interrupt 93H35 18HFig 8 5 Upwards counter 94H3...

Page 7: ...al screw terminal panels is to occur in a closed switch cabinet The screw terminal panel PX901 DG allows the connection of digital signals to the peripheral through the cable ST010 The connection with our standard cable ST010 complies with the following specifications metallized plastic hoods shielded cable cable shield folded back and firmly screwed to the connector housing The use of the board i...

Page 8: ...Definition of Application PC104 PLUS1500 8 Do not remove or alter the identification numbers of the board If you do the guarantee expires ...

Page 9: ...ained in electronics are entitled to perform the following works installation use maintanance 2 2 Personal protection Consider the country specific regulations about the prevention of accidents electrical and mechanical installations radio interference suppression ...

Page 10: ...Handling of the board PC104 PLUS1500 10 3 HANDLING OF THE BOARD Fig 3 1 Correct handling ...

Page 11: ...Set value ESD Discharge by contact air 4 8 kV 4 8 kV Fields 10 V m 10 V m Burst 4 kV 2 kV Conducted radio interferences 10 V 10 V 4 2 Physical set up i IMPORTANT When inserting the board into the system please insert firstly the PCI boards and then additional ISA boards The following figure 103HFig 4 1 shows how the board PC104 PLUS1500 is inserted into a system Furthermore the example show additi...

Page 12: ...0 G WARNING The supply lines must be installed safely against mechanical loads 4 3 Limit values Max altitude 2000 m above sea level Operating temperature 0 to 60 C Storage temperature 25 to 70 C Relative humidity at indoor installation 50 at 40 C 80 at 31 C Minimum PC requirements PCI BIOS from Version 1 0 Bus speed 33 MHz Operating system Windows Vista 32 bit XP 2000 Linux 4 3 1 Energy requiremen...

Page 13: ...er input channel 0 Optical isolation 1000 V through opto coupler Interruptible channels 2 channels channel 3 and 2 Interrupt compare logic OR mode with fixed filter times Input voltage Up to 30 V Nominal voltage Unom 24 V Input current channel 1 15 3 9 mA at 24 V typ Input current channel 0 6 mA at 24 V Input frequency max Channel 0 100 KHz at 24 V Input frequency max Channel 15 1 5 KHz at 24 V Lo...

Page 14: ...135 C Temperature hysteresis 10 C Diagnostics Common diagnostic bit for all 16 Channels at overtemperature of one channel 4 3 5 Timer Watchdog Timer1 with watchdog Number 1 Timer watchdog depth 12 bit Programmability of the timer Programmable as watchdog for the digital outputs Time bases µs ms s Monitoring period 1 to 4095 µs ms s Tolerance 1 µs ms s Timer2 Number 1 Timer depth 12 bit Time bases ...

Page 15: ...PC104 PLUS1500 Technical data 15 4 4 Component scheme Fig 4 2 Component scheme top layer ...

Page 16: ...Technical data PC104 PLUS1500 16 Fig 4 3 Component scheme bottom ...

Page 17: ...board on CPU 2 alternatively 6 PC104 PLUS1500 is the 4 board on CPU 3 alternatively 7 State of delivery Check if the turn switch is set correctly see table above If the setting is correct you can continue with the installation see 106HFig 5 1 Set the turn switch to the correct position with a screw driver Fig 5 1 Setting the turn switch 5 2 Board insertion into a housing system The following secti...

Page 18: ...ual of the manufacturer Follow the instructions of the manufacturer 5 2 2 Fastening the board Select an adequate slot Plug the board onto the respecting slot Fig 5 2 Connector with PCI ISA signals1F 1 1 In the picture a SIMATIC Microbox PC 420 was used i IMPORTANT You must observe the safety instructions in the present manual in the yellow leaflet safety precautions and the instructions of your ho...

Page 19: ...uctions of your housing system manufacturer If you want to insert a further board Plug an extension frame or something similar as described in manual of the manufacturer of the housing system i IMPORTANT Observe the max number of boards that can be inserted into the housing system of the respecting manufacturer If you do not want to insert any further boards Close the housing system as described i...

Page 20: ...program is a 32 bit program for Windows NT 4 0 and Windows XP 2000 98 The user can register all hardware information necessary to operate the ADDI DATA PC boards ADDIDRIVER contains API functions to operate the ADDI DATA boards in 32 bits ADDevice Manager configures the resources of the ADDI DATA virtual board See below ADDI DATA virtual board ADDI DATA software is based on the principle of a virt...

Page 21: ...oard If a new board is recognised the following window is displayed Fig 6 1 New inserted board The boards which have been removed from the PC since the last ADDIREG start are listed in the upper table The new inserted boards are listed in the lower table In case further information is required for the operation of the board click on More Information ADDevice Manager is started ...

Page 22: ...een the resources Analog digital input output watchdog of the virtual board V software and the real board R board The following parameters are listed Module number Number of resources Index The first index line represents the number of the first resource left virtual resource right real board The second index line represents the number of the last resource left virtual resource right real board Ty...

Page 23: ...boards Once you have controlled the registration you can quit the window of ADDevice Manager The board is ready to operate 6 1 2 Changing the registration of a board You can change the current board configuration with ADDIREG Description of the ADDIREG program The program is automatically installed with ADDIPACK Start ADDIREG under Start Programme ADDIPACK ADDIREG i IMPORTANT First quit all the ap...

Page 24: ...nnel or Not available if the board uses no DMA or if the board is no ISA board More information Additional information like the identifier string or the installed COM interfaces It also displays whether the board is programmed with ADDIDRIVER or if a PCI DMA memory is allocated to the board Text boxes Base address name Description of the used base addresses for the board Select a name through the ...

Page 25: ...s available for the virtual board Test registration Controls if there is a conflict between the board and other devices installed in the PC A message indicates the parameter which has generated the conflict If no conflict has occurred Test of device registration OK is displayed Deinstall registration Deinstalls the registrations of all boards listed in the table and deletes the entries of the boar...

Page 26: ...ata de Free downloads of standard software You can download the latest version of the software for the board PC104 PLUS1500 27Hhttp www addi data com i IMPORTANT Before using the board or in case of malfunction during operation check if there is an update of the product technical description driver The current version can be found on the internet or contact us directly ...

Page 27: ...O THE PERIPHERAL You can connect the board to screw terminal panels see 108HFig 7 1 or to a relay output board see 109HFig 7 2 7 1 Connection to the screw terminal panels and relay output board Fig 7 1 Connection of the PC104 PLUS1500 to the PX 901 DG or PX 9000 ...

Page 28: ...Connection to the peripheral PC104 PLUS1500 28 Fig 7 2 Connection of the PC104 PLUS1500 to the relay output board PX 8500 ...

Page 29: ...the peripheral 29 7 2 Connector pin assignment Fig 7 3 40 pin header Fig 7 4 Ribbon cable FB104 15003F 1 from pin header to 37 pin male connector 1 FB104 1500 belongs to the accessories but is not contained in the standard delivery ...

Page 30: ...als in 24 V industry level environments Peripheral and system are optically isolated at the same time Available functions 16 digital inputs Two of them are interruptible 16 digital outputs Short circuit resistance against load Protection against overtemperature Reduced ON resistanc Broad supply voltage range Switching off if the voltage falls under the limit value 7 V typ 2 timers 12 bit Of which ...

Page 31: ... 9 mA for channels 1 15 and at 6 mA for channel 0 at UNominal The maximal input voltage is 30 V Logic 1 Input voltage at the 40 pin header is superior to 19 V Logisch 0 Input voltage at the 40 pin header is inferior to 14 V WARNING If you operate all inputs with the same voltage supply the voltage supply must supply the corresponding current The maximal input voltage is at 30 V Transil diodes Z di...

Page 32: ...t proof against load The output is switched off Protection against overtemperature The power unit is switched off i e each 8 channels 0 to 7 and 8 15 The outputs are switched off if the supply voltage drops Diagnostic report Short circuit overtemperature The outputs allow the switching of ohmic capacitive and inductive loads Transil diodes C filter and opto coupler filter noise from the peripheral...

Page 33: ...et Voltage error external voltage supply is not available Short circuit error overtemperature error The interrupt source information is available for the user program through an interrupt routine Please find further information in the software description Interrupt which is available as a separate PDF file Interruptible inputs IRQ logic It is possible to mask an OR event Event at rising falling ed...

Page 34: ...0 1 1 The OR logic reacts to rising or falling edges An interrupt is triggered if at an interruptible input an edge switch occurs that fulfils the interrupt condition which is set by Mode_1 and Mode_2 Table 8 2 Mode register Complete overview D31 D5 D4 D3 D2 D1 D0 Mode_1 Channel 3 Channel 2 Mode_2 Channel 3 Channel 2 Is not used Table 8 3 Mode register partial overview Channel 3 rising Channel 2 r...

Page 35: ...0 10 10 1 1 0 0 10 10 10 10 0 0 1 0 01 01 1 0 1 0 01 10 01 10 0 1 1 0 10 01 10 01 1 1 1 0 10 01 10 10 01 10 0 0 0 1 01 01 1 0 0 1 01 10 01 10 0 1 0 1 01 10 10 01 1 1 0 1 01 10 10 10 01 10 0 0 1 1 01 01 01 01 1 0 1 1 01 01 10 01 01 10 0 1 1 1 01 10 01 10 01 01 1 1 1 1 01 10 01 10 10 01 01 10 10 Interrupt source The second input channel 3 generated an interrupt 01 Interrupt source The first input ch...

Page 36: ...ls can be used as time bases for the watchdog 8 6 2 Timer2 The 12 bit Timer1 is a downwards counter that can generate an interupt after the run down of the reload value timeout With the timer independently from the PC clock and time base is provided with which e g operations can be synchronized The status of the counter value as well as status and interrupt register can be reread with the software...

Page 37: ... with each valid edge At the result of count reload value 1 with the following valid edge the counter is set on 0 An interrupt can be generated with the overflow Software clear Deletes counter 0 Software trigger Sets counter 0 Example upwards counter Reload value 9 Initialisation on rising edge Interrupt is released At the current result of count 8 reload value 1 with the following valid edge the ...

Page 38: ...s loaded with the reload value at the following valid edge An interrupt can be generated with the overflow Software clear Deletes counter 0 Software trigger Sets counter reload value Example downwards counter Reload value 9 Initialisation on rising edge Interrupt is released At the current result of count 0 with the following valid edge the reload value is reloaded and the interrupt enabled Fig 8 ...

Page 39: ...tRoutine i_ADDIDATA_GetLastError Error i_ADDIDATA_GetLastErrorAndSource b_ADDIDATA_EnableErrorMessage b_ADDIDATA_DisableErrorMessage b_ADDIDATA_FormatErrorMessage b_ADDIDATA_GetNumberOfDigitalInputs Digital b_ADDIDATA_GetDigitalInputInformation inputs b_ADDIDATA_Read1DigitalInput b_ADDIDATA_Read2DigitalInputs b_ADDIDATA_Read4DigitalInputs b_ADDIDATA_Read8DigitalInputs b_ADDIDATA_Read16DigitalInput...

Page 40: ...talOutputStatus b_ADDIDATA_Get2DigitalOutputStatus b_ADDIDATA_Get4DigitalOutputStatus b_ADDIDATA_Get8DigitalOutputStatus b_ADDIDATA_Get16DigitalOutputStatus b_ADDIDATA_Get32DigitalOutputStatus b_ADDIDATA_InitDigitalOutputInterrupt b_ADDIDATA_EnableDisableDigitalOutputInterrupt b_ADDIDATA_ReleaseDigitalOutputInterrupt Watchdog b_ADDIDATA_GetNumberOfWatchdogs b_ADDIDATA_GetWatchdogInformation b_ADDI...

Page 41: ...ATA_GetCounterInformation b_ADDIDATA_GetCounterInformationEx b_ADDIDATA_InitCounter b_ADDIDATA_SetCounterDirection b_ADDIDATA_EnableDisableCounterInterrupt Counter b_ADDIDATA_StartCounter b_ADDIDATA_StartAllCounters b_ADDIDATA_ClearCounter b_ADDIDATA_TriggerCounter b_ADDIDATA_TriggerAllCounters b_ADDIDATA_StopCounter b_ADDIDATA_StopAllCounters b_ADDIDATA_ReleaseCounter b_ADDIDATA_ReadCounterValue ...

Page 42: ...Test the interrupt of all digital outputs short circuit ϑ diagnostics or VB ccB diagnostics Watchdog SAMPLE01 b_ADDIDATA_GetWatchdogInformation is used Initialise and release the software trigger by keypress Start 1 watchdog Read the status when the watchdog has run down reset the watchdog and quit the program SAMPLE05 b_ADDIDATA_GetWatchdogInformationEx is used Initialise and release the software...

Page 43: ... clock pulses for the synchronisation of the conversion Creeping distance In order to avoid the danger of the effects of electrical voltages and currents for electrical mechanical components it is required to keep minimum isolation distances The creeping distance is the shortest distance alongside of an isolation surface between two reference points contact elements D A converter DAC A device that...

Page 44: ...is the inductivity and I is the current If the current is switched on fast the voltage over the load can become very highly for a short time Input impedance The measured resistance and capacitance between the high and low inputs of a circuit Input level The input level is the logarithmic relation of two electric units of the same type voltage current or power at the signal input of any receive dev...

Page 45: ...als Noise immunity Noise immunity is the ability of a device to work during an electromagnetic interference without reduced functions Noise suppression The suppression of undesirable electrical interferences to a signal Sources of noise include the ac power line motors generators transformers fluorescent lights CRT displays computers electrical storms welders radio transmitters and others Operatin...

Page 46: ...eld of control and regulation all voltages are measured against a reference voltage Reference voltage Reference voltages are stable voltages that are used as reference unit From them voltages can be derived that are required for example in current supplies and in other electronic circuitries Resolution The smallest significant number to which a measurement can be determined For example a converter...

Page 47: ...roughput rate The maximum repetitive rate at which data conversion system can operate with a specified accuracy It is determined by summing the various times required for each part of the system and then by taking the inverse of this time Timer The timer allows the adaptation of program processes between processor and peripheral devices It usually contains from each other independent counters and ...

Page 48: ...igital inputs board functions 30 Limit values 13 Digital outputs Board functions 31 Limt values 13 Digital watchdog 35 Downloads on the internet 26 downwards counter 37 Downwards counter 37 E Electromagnetic compatibility EMC Technical data 11 Energy requirements 12 G General description of the board 7 Glossary 42 I Installation of the board First steps 17 Fixing 18 Intended use 7 Interrupt Board ...

Page 49: ...US1500 Index 49 Limit values 14 Timer2 Downwards counter 35 Turn switch 17 U Update 26 upwards counter 36 Upwards counter 36 Usage restrictions 7 V virtual board 20 W Watchdog Board functions 35 Limit values 14 ...

Reviews: