Contec DIO-48DX-USB Скачать руководство пользователя страница 40

 

5. Function 

 

 

 

DIO-48DX-USB 

35

 

Interrupt Control Function

 

This product can use all of the input signals as interrupt request signals. 

This product can generate an interrupt request signal to the PC when the input signal change from High 

to Low or from Low to High. 

When the digital filter (described above) is used, interrupt requests are generated by input signals that 

have passed through the filter.

 

Disabling/enabling Interrupts 

Interrupt mask bits can be used to disable or enable the individual bits for interruptions. 

Once a certain bit has been interrupt-disabled, no interrupt occurs even when the corresponding input 

signal changes its level. 

To let interrupts occur, enable the corresponding interrupt mask bit for interruptions. 

CAUTION

 

 

 

All of the interrupt mask bits are interrupt-disabled when the power is turned on. 

 

Selecting the Edge of input signals, at which to generate an 

interrupt 

The input signal edge selection bit can be used to set the input logic for interruption bit by bit. 

If you set an input signal edge selection bit to 0, an interrupt occurs when the input value to the 

corresponding bit changes from 0 to 1 (at the fall of the input signal from High to Low). 

If you set an input signal edge selection bit to 1, an interrupt occurs when the input value to the 

corresponding bit changes from 1 to 0 (at the rise of the input signal from Low to High). 

CAUTION

 

 

 

All of the input signal edge selection bits are set to 0 when the power is turned on. 

 

Clearing the Interrupt Status and Interrupt Signal 

Interrupt status bits are used to identify the input signal bit being used for requesting an interrupt. 

When an interrupt status is input, the interrupt request signal and the interrupt status are cleared 

automatically. 

CAUTION

 

 

All of the interrupt status bits are set to 0 when the power is turned on. 

If an interrupt mask bit has been set to disable interrupts, the interrupt status bit is not set even 

when the input signal changes its level. 

 
 

Содержание DIO-48DX-USB

Страница 1: ...PC HELPER Bi Directional Digital I O Unit for USB DIO 48DX USB User s Guide CONTEC CO LTD...

Страница 2: ...r 125VAC 1 USB cable 1 8m 1 USB cable attachment on the main unit s side For Mini B connector side 1 Clamps for prevention of cable on the main unit s side 1 CD ROM 1 API USBP WDM 1 First step guide 1...

Страница 3: ...notice All relevant issues have been considered in the preparation of this document Should you notice an omission or any questionable item in this document please feel free to notify CONTEC CO LTD Re...

Страница 4: ...onment 8 Inspection 8 Storage 8 Disposal 8 2 SETUP 9 What is Setup 9 Installing the driver 9 Step 1 Setting the Hardware 10 Name of each parts 10 Step 2 Initializing the Software 11 Illustration of Me...

Страница 5: ...rogram 28 Distributing Developed Application 28 Returning to Initial State 29 5 FUNCTION 31 Data I O Function 31 I O setup of the port 31 Data I O 33 Digital Filter 34 Digital Filter Function Principl...

Страница 6: ...es This product can be used to TTL level input output 48 points bi directional digital corresponding to the equivalence to the i8255 mode 0 This product has up to 48 unisolated TTL level input output...

Страница 7: ...98 PC it is required to replace it with API DIO WDM Windows compatible driver libraries are attached Using the attached digital I O driver API DIO WDM makes it possible to create applications of Wind...

Страница 8: ...ify the operation of hardware using Diagnostic programs Operating environment OS Windows 7 Server 2008 Vista XP Server 2003 2000 Me 98 Adaptation language Visual Basic Visual C Visual C Delphi C Build...

Страница 9: ...erminal Unit M3 5 x 96P EPD 96 1 Terminal Unit for Cables M3 x 96P DTP 64A 1 Terminal Unit for Cables M2 5 x 96P DTP 64 PC 1 USB I O Unit Bracket for X Series BRK USB X AC adapter input 90 264VAC outp...

Страница 10: ...hen this device is returned freight prepaid with a copy of the original invoice and a Return Merchandise Authorization to the distributor or the CONTEC group office from which it was purchased This wa...

Страница 11: ...terminals edge connector with your hands Otherwise this may malfunction overheat or cause a failure If the terminals are touched by someone s hands clean the terminals with industrial alcohol Do not c...

Страница 12: ...on is subject to the following two conditions 1 this device may not cause harmful interference and 2 this device must accept any interference received including interference that may cause undesired o...

Страница 13: ...duct periodically as follows to use it safely POWER Storage When storing this product keep it in its original packing form 1 Put this product in the storage bag 2 Wrap it in the packing material and t...

Страница 14: ...ware and hardware by operating in accordance with each step in this chapter using the bundled CD ROM Taking the following steps sets up the software and hardware You can use the diagnosis program late...

Страница 15: ...nnect it to a PC Name of each parts LED indicator The above figure has installed the USB cable attachment Figure 2 1 Name of each parts Front side POWER Status Interface connector USB TypeA Interface...

Страница 16: ...llustration of Menu Screen Points Please set up the supplied CD ROM if it has not been set up The menu starts automatically If the menu do not start launch X AUTORUN EXE X CD ROM drive from Run in Sta...

Страница 17: ...e program in all language in order to use API function 1 Clicking on Install Development or Execution Environment API USBP WDM Installer dialog box displays 2 Selecting Advanced Digital I O driver 3 C...

Страница 18: ...rt it to the power connector before firmly securing it using a screw Figure 2 3 Connecting the AC Adapter POA200 20 2 Beside the AC adapter a power supply for installation on a DIN rail is also availa...

Страница 19: ...USB hub of this product Figure 2 4 Connecting the PC 3 USB cable can be attached firmly to the main unit by using a USB cable attachment Figure 2 5 Attaching a USB Attachment CAUTION The USB cable att...

Страница 20: ...the USB cable through the USB hub of this product it can be made easily not to come off by using clamps for prevention of cable on the main unit s side Appended goods Figure 2 6 Usage of clamps for pr...

Страница 21: ...l from a list or specific location then click on the Next button Detect setup information from supplied CD automatically for installing USB driver Point Please specify the path for supplied CD as foll...

Страница 22: ...Device Manager and set properties 1 Starting Device Manager From Start menu click on Settings Control Panel System and then click on Device Manager button in Hardware tab In the case of Windows 98 Me...

Страница 23: ...tings must be performed 3 Clicking on OK button Device name is set by clicking OK button Points When the application developed by users is running on another PC please perform foregoing operation on t...

Страница 24: ...ram diagnoses the states of the product and driver software It can also be used as a simple checker when an external device is actually connected Using the Diagnosis Report feature reports the driver...

Страница 25: ...nput values bit by bit at fixed time intervals Output Port Mouse operation allows the data to output or display To use the function execution time measurement feature click on the Measurement Time but...

Страница 26: ...Diagnosis Program performs product presence absence check driver file test board setting test and so on CAUTION Before executing diagnosis report output unplug the cable from the product 2 A diagnosi...

Страница 27: ...2 Setup 22 DIO 48DX USB...

Страница 28: ...g to a Connector To connect an external device to this product plug the cable from the device into the interface connector CN1 of unit shown below Please refer to chapter 1 for more information on the...

Страница 29: ...ND B30 2 PB6 A30 1 PB6 B29 GND A29 GND B28 2 PB5 A28 1 PB5 B27 GND A27 GND B26 2 PB4 A26 1 PB4 B25 GND A25 GND B24 2 PB3 A24 1 PB3 B23 GND A23 GND B22 2 PB2 A22 1 PB2 B21 GND A21 GND B20 2 PB1 A20 1 P...

Страница 30: ...1 1 PB2 10 1 PB1 9 1 PB0 8 I O Logical Ports 2 1 PC7 23 1 PC6 22 1 PC5 21 1 PC4 20 1 PC3 19 1 PC2 18 1 PC1 17 1 PC0 16 I O Logical Ports 3 2 PA7 31 2 PA6 30 2 PA5 29 2 PA4 28 2 PA3 27 2 PA2 26 2 PA1 2...

Страница 31: ...ositive logic I O Circuit Figure 3 3 I O Circuit Example of Connection When switch is ON the corresponding bit is 0 When switch is OFF in contrast the corresponding bit is 1 When 1 is output to a rele...

Страница 32: ...ment such as function reference is provided in API USBP WDM Help Detailed introduction to search method for help should be found from How to navigate Help in the help Printing Function Reference Click...

Страница 33: ...a sample program click on Programs CONTEC API USBP WDM DIO Sample Name from Start menu Distributing Developed Application Please distribute the developed application with USB driver in supplied CD ROM...

Страница 34: ...installation again when the operation is losing stabilization 1 Deleting Device form Device Manager 2 Drawing 5VDC power supply the attached AC adapter from unit 3 Drawing USB cable from a PC 4 Unins...

Страница 35: ...4 Application Development 30 DIO 48DX USB...

Страница 36: ...capable of input output of up to 48 TTL level active high signals I O setup of the port The I O function of the port must be set properly before the board can input output data correctly Writing a con...

Страница 37: ...1 0 0 0 0 0 0 1 81 OUTPUT OUTPUT OUTPUT INPUT 1 0 0 0 0 0 1 0 82 OUTPUT OUTPUT INPUT OUTPUT 1 0 0 0 0 0 1 1 83 OUTPUT OUTPUT INPUT INPUT 1 0 0 0 1 0 0 0 88 OUTPUT INPUT OUTPUT OUTPUT 1 0 0 0 1 0 0 1...

Страница 38: ...ut data is low level 0 is input to the corresponding bit When input data is high level 1 is input to the corresponding bit Output When 0 is output to the corresponding bit low level is output to the e...

Страница 39: ...to 0 20 14h Setting the digital filter time to 0 disables digital filtering It is set to 0 when the power is turned on Figure 5 4 shows the relationships between digital filter time settings and the...

Страница 40: ...te an interrupt The input signal edge selection bit can be used to set the input logic for interruption bit by bit If you set an input signal edge selection bit to 0 an interrupt occurs when the input...

Страница 41: ...5 Function 36 DIO 48DX USB...

Страница 42: ...used at the same time 127 terminals Max 3 Dielectric strength 250Vrms Current consumption Max 5VDC 550mA Operating conditions 4 5 0 50 C 10 90 RH No condensation Allowable distance of signal extensio...

Страница 43: ...ing temperature 0 40 C Operating humidity 20 80 RH No condensation Life expectancy 4 years at the ambient temperature 40 C When 100VAC is input and 1 3A is output Allowable time of short interruption...

Страница 44: ...6 About Hardware DIO 48DX USB 39 Physical dimensions Figure 6 1 Physical dimensions Figure 6 2 Physical dimensions of attached AC adapter POA200 20 2...

Страница 45: ...6 About Hardware 40 DIO 48DX USB Block Diagram Figure 6 3 Block Diagram...

Страница 46: ...8D2 PCI Current consumption Max 5VDC 550mA 3 3VDC 1000mA 5VDC 600mA Bus specification USB Specification 2 0 1 1 standard PCI Express Base Specification Rev 1 0a x1 PCI 32bit 33MHz Universal key shapes...

Страница 47: ...5 0025 Japan Japanese http www contec co jp English http www contec com Chinese http www contec com cn No part of this document may be copied or reproduced in any form by any means without prior writt...

Отзывы: