Negative-common opto-isolated digital i/o for pci express 16 ch type, 32 ch type (61 pages)
Summary of Contents for Contec F&eIT Series
Page 1
F&eIT Series Isolated Digital Input/Output Module DIO-16/16(FIT)GY Isolated Digital Input Module DI-32(FIT)GY Isolated Digital Output Module DO-32(FIT)GY User’s Manual CONTEC CO.,LTD.
Page 2
Check Your Package Thank you for purchasing the CONTEC product. The product consists of the items listed below. Check, with the following list, that your package is complete. If you discover damaged or missing items, contact your retailer. Product Configuration List - Module (One of the following) ...1...
No part of this document may be copied or reproduced in any form by any means without prior written consent of CONTEC CO., LTD. CONTEC CO., LTD. makes no commitment to update or keep current the information contained in this document. The information in this document is subject to change without notice.
Table of Contents Check Your Package..........................i Copyright ............................ii Trademarks ............................ii Table of Contents..........................iii Before Using the Product About the Module ..........................1 Features ............................1 Functions............................2 Functions and control method by controller connected .............. 3 Customer Support ..........................
Page 5
Specifications Common to F&eIT Products..................29 Product Information ........................29 Interrupt Control Function ......................31 Digital Filter (Hardware) ........................35 Digital Filter Operation Principle ....................35 Data I/O Operations that Directly Access an I/O Port ..............37 Data Input........................... 37 Data Output ..........................
1. Before Using the Product 1. Before Using the Product This chapter provides information you should know before using the product. About the Module This product is an expansion module (device module) that adds digital signal I/O interfaces to one of various types of controllers.
1. Before Using the Product Functions Generic I/O functions (data I/O operations that directly access the I/O ports) Input The Module transmits a maximum of 32 points (< DI-32(FIT)GY >) or 16 points (< DIO-16/16(FIT)GY >) of externally supplied digital signals to a controller module that is connected to it.
1. Before Using the Product Functions and control method by controller connected The DIO-16/16(FIT)GY, DI-32(FIT)GY, and DO-32(FIT)GY can be connected to a variety of controllers. Supported controllers BOX-PC : BX-300-DC5xxx Microcontroller Unit : CPU-SBxx(FIT)GY I/O Controller Module : CPU-CAxx(FIT)GY Monitoring & Control Server Unit : SVR-MMF2(FIT) Check each controller to which the module can be connected as well as the method of controlling the module when connected to that controller.
Page 9
1. Before Using the Product Control method by controller connected Control using the I/O address map Control using the memory address map Control via the Windows driver * FIT Protocol API-CAP(W32) API-SBP(W32) API-USBP(WDM) Control over the web (as set from within the browser) * The API-SBP(W32) is included in the development kit [DTK-SBxx(FIT)GY];...
You can download updated driver software and differential files as well as sample programs available in several languages. Note! For product information Contact your retailer if you have any technical question about a CONTEC product or need its price, delivery time, or estimate information. Limited One-Year Warranty CONTEC F&eIT products are warranted by CONTEC CO., LTD.
Handling Precautions CAUTION Do not modify the module. CONTEC will bear no responsibility for any problems, etc., resulting from modifying this module. Do not use or store the module in a hot or cold place, or in a place that is subject to severe temperature changes.
Page 12
1. Before Using the Product The module contains switches that need to be properly set. Before using the module, please check its switch settings. To avoid malfunction, please do not change the module switch settings in an unauthorized manner. Do not connect the device module to the controller module already energized. To avoid malfunction, please be sure to turn off the control module before connecting the device module to it.
Page 13
1. Before Using the Product FCC PART 15 Class A Notice NOTE This equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in commercial environment.
1. Before Using the Product Environment Use this product in the following environment. If used in an unauthorized environment, the module may overheat, malfunction, or cause a failure. Operating temperature 0 - 50°C Operating humidity 10 - 90%RH (No condensation) Corrosive gases None Floating dust particles...
Page 15
1. Before Using the Product DIO-16/16(FIT)GY, DI-32(FIT)GY, DO-32(FIT)GY...
2. Module Nomenclature and Settings 2. Module Nomenclature and Settings Nomenclature of Module Components Figure 2.1 shows the names of module components. In the figure, the indicated switch settings represent factory settings. DIO-16/16(FIT)GY DI-32(FIT)GY Device ID Device ID Device Device Input Output Input...
2. Module Nomenclature and Settings Setting a Device ID The controller module distinguishes and keeps track of the modules that are connected to it by assigning device IDs to them. Each module, therefore, should be assigned a unique ID. A Device ID can be assigned in a 0 - 7 range, so that a maximum of eight modules can be distinguished. The factory setting for the Device ID is [0].
3. Connecting to an External Device 3. Connecting to an External Device Interface Connector How to Connect an Interface Connector When connecting the Module to an external device, you can use the supplied connector plug. When wiring the Module, strip off approximately 9 - 10mm of the covering for the cable, and insert the bare wire by pressing the orange button on the connector plug.
3. Connecting to an External Device Signal Layout on the Interface Connector The Module can be connected to an external device using two 18-pin connectors that is provided on the Module face. DIO-16/16(FIT)GY Signal Signal Pin No. Meaning Pin No. Meaning name name...
Page 20
3. Connecting to an External Device DI-32(FIT)GY Signal Signal Pin No. Meaning Pin No. Meaning name name Connmon for Connmon for Input+0, +1 Input+2, +3 group group N.C. Unconnected N.C. Unconnected IN00 IN20 IN01 IN21 IN02 IN22 IN03 IN23 Input+0 group Input+2 group IN04 IN24...
Page 21
3. Connecting to an External Device DO-32(FIT)GY Signal Signal Pin No. Meaning Pin No. Meaning name name Plus connmon Plus connmon for COM(+) for Output+0, COM(+) Output+2, +3 +1 group group Minus connmon Minus connmon COM(-) for Output+0, COM(-) for Output+2, +3 +1 group group OUT00...
3. Connecting to an External Device External I/O Circuits Input section < DIO-16/16(FIT)GY >, < DI-32(FIT)GY > Figure 3.5 shows the input equivalent circuit for the interface section of the < DIO-16/16(FIT)GY > and < DI-32(FIT)GY >. The signal input section consists of an opto-isolated input (compatible with both current sink output and current source output).
Page 23
3. Connecting to an External Device Module External circuit 3kΩ common External power supply Input Optocoupler Current source output Figure 3.7. Example of a Connection to Current Source Output < DIO-16/16(FIT)GY >, < DI-32(FIT)GY > Output section Figure 3.8 shows the output circuit for the interface section of the < DIO-16/16(FIT)GY > and <...
Page 24
3. Connecting to an External Device Connection example: Input plus common (e.g., connector COM0) External power supply 12V - 24VDC Input pin (e.g., connector X0) Figure 3.9. Using Inputs X0 < DIO-16/16(FIT)GY >, < DI-32(FIT)GY > External power supply Load 12V - 48VDC Output plus common Output pin (e.g., connector Y01)
3. Connecting to an External Device Surge Voltage Countermeasures When a load that generates surge voltages and inrush currents, such as an induction load (relay coil) or an incandescent light bulb, is connected to the digital output, appropriate protection must be provided in order to prevent damage to the output stage or a malfunction due to noise.
4. Using the I/O Address Map 4. Using the I/O Address Map Starting I/O Address When connected to a BX-300-DC5xxx or a CPU-SBxx(FIT)GY, the Module can directly receive I/O commands from the controller module. Depending on how the Device ID is set, the I/O addresses indicated below will be used exclusively by the Module.
4. Using the I/O Address Map List of I/O Address Maps DIO-16/16(FIT)GY Starting address Products Category Rivision Data Input Rivision Rivision Rivision Rivision (00h) Data 3 Data 2 Data 1 Data 0 Products ID Number (01h) Interrupt Status Enable Status IRQ 9 IRQ 7 IRQ 5...
Page 28
4. Using the I/O Address Map Starting address (1Ah) Reserved (1Bh) Interrupt Edge Setting Data 0 IN 07 IN 06 IN 05 IN 04 IN 03 IN 02 IN 01 IN 00 Edge Edge Edge Edge Edge Edge Edge Edge (1Ch) Interrupt Edge Setting Data 1 IN 17...
Page 29
4. Using the I/O Address Map Starting address Output +0 (00h) (01h) Interrupt Status (02h) Enable IRQ 9 IRQ 7 IRQ 5 Digital Filter (03h) (04h) (13h) Output Group +0 (14h) OUT 07 OUT 06 OUT 05 OUT 04 OUT 03 OUT 02 OUT 01 OUT 00...
Page 30
4. Using the I/O Address Map DI-32(FIT)GY Starting address Input Products Category Rivision Data Rivision Rivision Rivision Rivision (00h) Data 3 Data 2 Data 1 Data 0 Products ID Number (01h) Interrupt Status Enable Status IRQ 9 IRQ 7 IRQ 5 (02h) Digital Filter (03h)
Page 31
4. Using the I/O Address Map Starting address Output +0 (00h) (01h) Interrupt Status Enable IRQ 9 IRQ 7 IRQ 5 (02h) Digital Filter (03h) (04h) (17h) Interrupt Mask 0 IN 07 IN 06 IN 05 IN 04 IN 03 IN 02 IN 01 IN 00...
Page 32
4. Using the I/O Address Map DO-32(FIT)GY Starting address Input Products Category Rivision Data Rivision Rivision Rivision Rivision (00h) Data 3 Data 2 Data 1 Data 0 Products ID Number (01h) (02h) Reserved (13h) Output Group +0 (14h) OUT 07 OUT 06 OUT05 OUT 04...
Page 33
4. Using the I/O Address Map Starting address Output (13h) Output Group +0 (14h) OUT 07 OUT 06 OUT 05 OUT 04 OUT 03 OUT 02 OUT 01 OUT 00 Output Group +1 (15h) OUT 17 OUT 16 OUT 15 OUT 14 OUT 13 OUT 12...
Figure 4.7. Product Information Revision Data [D3 - D0]: This is product update information, subject to change without notice, that is managed by CONTEC. Product Category [D7 - D4]: This is a module function classification code. For the DIO-16/16(FIT)GY, DI-32(FIT)GY and DO-32(FIT)GY, the code is "1h".
Page 35
4. Using the I/O Address Map Interrupt status This is a common port on which the interrupt status requested by the Module can be verified. Information on interrupt sources varies from module to module. Starting address Input Interruput Status Enable Status IRQ 9 IRQ 7...
4. Using the I/O Address Map Interrupt Control Function All of the input signals can be used as interrupt request signals. (DIO-16/16(FIT)GY: 16 points, DI-32(FIT)GY: 32 points) When an input signal goes OFF from ON or vice versa, an interrupt request signal can be generated to the controller.
Page 37
4. Using the I/O Address Map Intput Port < DI-32(FIT)GY > Starting address Interrupt Status 0 IN 07 IN 06 IN 05 IN 04 IN 03 IN 02 IN 01 IN 00 (18h) Status Status Status Status Status Status Status Status Interrupt Status 1 IN 17...
Page 38
4. Using the I/O Address Map Output Port < DI-32(FIT)GY > Starting address Interrupt Mask 0 IN 07 IN 06 IN 05 IN 04 IN 03 IN 02 IN 01 IN 00 (18h) Mask Mask Mask Mask Mask Mask Mask Mask Interrupt Mask 1 IN 17...
Page 39
4. Using the I/O Address Map Selecting an interrupt trigger edge Interrupt input logic is set by using the interrupt edge select port. If you set an interrupt edge select bit to “0”, an interrupt occurs when the input signal of the corresponding bit falls from ON to OFF (upon “0”...
4. Using the I/O Address Map Digital Filter (Hardware) Using this feature, this product can apply a digital filter to every input pin, thereby preventing the input signal from being affected by noise or chattering. Digital Filter Operation Principle The digital filter checks the input signal level during the sampling time of 1/4 cycles of digital filter setting time.
Page 41
4. Using the I/O Address Map Set Digital Filter Time Output setting data "ST4 - ST0" to the "time setting" output port to set the digital filter time. Table 4.3. Digital Filter Time and Setting Data The table below lists the relationships between digital filter time and setting data. Digital Filter Time [sec] = 2 / (8 x 10 n: Setting Data (0 - 20)
4. Using the I/O Address Map Data I/O Operations that Directly Access an I/O Port Data Input DIO-16/16(FIT)GY Starting address Input Input Group +0 IN 07 IN 06 IN 05 IN 04 IN 03 IN 02 IN 01 IN 00 (10h) Input Group +1 IN 17...
4. Using the I/O Address Map Data Output DIO-16/16(FIT)GY Starting address Output Output Group +0 OUT 07 OUT 06 OUT 05 OUT 04 OUT 03 OUT 02 OUT 01 OUT 00 (14h) Output Group +1 OUT 17 OUT 16 OUT 15 OUT 14 OUT 13 OUT 12...
4. Using the I/O Address Map Monitoring the Output Data In the < DIO-16/16(FIT)GY > or < DO-32(FIT)GY >, this function allows you to read the status of the current output data without affecting the output data itself. DIO-16/16(FIT)GY Starting address Input Output Group +0...
4. Using the I/O Address Map Examples Software Mode Flowchart Following is a description of an example where the DIO-16/16(FIT)GY is installed at device ID: 0. Start Read input data Address: Reading the address "base I/O address + 10h" obtains digital input data. Address: Data can be output by writing the digital output data to the address "base I/O address + 14h".
5. Using the Memory Address Map 5. Using the Memory Address Map When connected to a CPU-CAxx(FIT)GY, the DIO-16/16(FIT)GY, DI-32(FIT)GY and DO-32(FIT)GY can be accessed by a host computer through a network. In addition, the Module can be allocated to the memory controlled by the Controller Module according to a given Device ID.
5. Using the Memory Address Map DIO-16/16(FIT)GY Module Information Area A module information area, which is a 128-byte (80h) area beginning with address 301000h and corresponding to a given Device ID, is where the settings for the given device are read and written. The starting address can be determined according to the following expression: Starting address = 301000h + 80h x (Device ID) Table 5.1.
Page 48
5. Using the Memory Address Map Module-specific information Module type (category) The DIO-16/16(FIT)GY belongs to the digital module (01h) category. Module type (serial No.) The DIO-16/16(FIT)GY is a digital module with a serial No. 9 (09h). Supported functions The DIO-16/16(FIT)GY supports the basic I/O function (03h). Basic I/O data takes digital values.
Page 49
5. Using the Memory Address Map Items common to modules Module startup register The DIO-16/16(FIT)GY does not contain a module shutdown function. 01h : Module startup Error status The error status bits, which are not reflected in the module information area, always remain [00h]. The error status on a module is stored in the module information area.
5. Using the Memory Address Map Module Information Area The module information area, which is a 128-byte (80h) area beginning with address 300000h and corresponding to a given Device ID, is the area into which settings are read. The starting address can be determined according to the following expression: Starting address = 300000h + 80h x (Device ID) Table 5.2.
5. Using the Memory Address Map Basic I/O Data Area The basic input data area, which a 128-byte (80h) area beginning with address 304000h, corresponds to a given Device ID. The starting address can be determined according to the following expression: Starting address = 304000h + 80h x (Device ID) Table 5.3.
5. Using the Memory Address Map DI-32(FIT)GY Module Information Area A module information area, which is a 128-byte (80h) area beginning with address 301000h and corresponding to a given Device ID, is where the settings for the given device are read and writen. The starting address can be determined according to the following expression: Starting address = 301000h + 80h x (Device ID) Table 5.7.
Page 53
5. Using the Memory Address Map Module-specific information Module type (category) The DI-32(FIT)GY belongs to the digital module (01h) category. Module type (serial No.) The DI-32(FIT)GY is a digital module with a serial No. A (0Ah). Supported functions The DI-32(FIT)GY supports the basic input function (01h). Basic input data takes digital values.
Page 54
5. Using the Memory Address Map Items common to modules Module startup register The DI-32(FIT)GY does not contain a module shutdown function. 01h : Module startup Error status The error status bits, which are not reflected in the module information area, always remain [00h]. The error status on a module is stored in the module information area.
5. Using the Memory Address Map Module Information Area The module information area, which is a 128-byte (80h) area beginning with address 300000h and corresponding to a given Device ID, is the area into which settings are read. The starting address can be determined according to the following expression: Starting address = 300000h + 80h x (Device ID) Table 5.8.
5. Using the Memory Address Map When the module is started, the contents of the module information area are stored in the module information area, with the exception of the [Module Startup Register] and the [Error Status]. Module startup register The DI-32(FIT)GY does not contain a module shutdown function.
5. Using the Memory Address Map DO-32(FIT)GY Module Information Area A module information area, which is a 128-byte (80h) area beginning with address 301000h and corresponding to a given Device ID, is where the settings for the given device are read and written. The starting address can be determined according to the following expression: Starting address = 301000h + 80h x (Device ID) Table 5.11.
Page 58
5. Using the Memory Address Map Module-specific information Module type (category) The DO-32(FIT)GY belongs to the digital module (01h) category. Module type (serial No.) The DO-32(FIT)GY is a digital module with a serial No. B (0Bh). Supported functions The DO-32(FIT)GY supports the basic output function (02h). Basic output data takes digital values.
Page 59
5. Using the Memory Address Map Items common to modules Module startup register The DO-32(FIT)GY does not contain a module shutdown function. 01h : Module startup Error status The error status bits, which are not reflected in the module information area, always remain [00h]. The error status on a module is stored in the module information area.
5. Using the Memory Address Map Module Information Area The module information area, which is a 128-byte (80h) area beginning with address 300000h and corresponding to a given Device ID, is the area into which settings are read. The starting address can be determined according to the following expression: Starting address = 300000h + 80h x (Device ID) Table 5.12.
5. Using the Memory Address Map Basic I/O Data Area The basic I/O data area, which a 128-byte (80h) area beginning with address 305000h, corresponds to a given Device ID. The starting address can be determined according to the following expression: Starting address = 305000h + 80h x (Device ID) Table 5.13.
5. Using the Memory Address Map Examples Flowchart The following flowchart illustrates an example where the DIO-16/16(FIT)GY is installed at device ID: Start Address: Reading the address 301000h identifies the module type (category). If the module is a digital I/O module, the module type (category) Digital I/O will be [01h].
6. System Reference Specifications < DIO-16/16(FIT)GY > Table 6.1. Specifications Specifications Item DIO-16/16(FIT)GY Input section Input format Opto-isolated input (compatible with current sink output and current source output) Input resistance 3k Ω Input ON current 3.4 mA or more Input OFF current 0.16 mA or less Number of input signal points 16 points (16 points/common)
Page 68
6. System Reference Table 6.2. Installation Environment Requirements Item Requirement description Operating temperature 0 - 50 ° C Storage temperature -10 - 60 ° C Operating humidity 10 - 90%RH (No condensation) Floating dust particles Not to be excessive Corrosive gases None Noise immunity Line-noise *1...
6. System Reference Specifications < DI-32(FIT)GY > Table 6.3. Specifications Specifications Item DI-32(FIT)GY Input section Input format Opto-isolated input (compatible with current sink output and current source output) Input resistance 3k Ω Input ON current 3.4 mA or more Input OFF current 0.16 mA or less Number of input signal points 32 points (16 points/common)
Page 71
6. System Reference Table 6.4. Installation Environment Requirements Item Requirement description Operating temperature 0 - 50 ° C Storage temperature -10 - 60 ° C Operating humidity 10 - 90%RH (No condensation) Floating dust particles Not to be excessive Corrosive gases None Noise immunity Line-noise *1...
6. System Reference External Dimensions (1.2) (1.2) Device DIO-16/16 25.2 64.7 [mm] The above figure is the DIO-16/16(FIT)GY. Figure 6.4. External Dimensions DIO-16/16(FIT)GY, DI-32(FIT)GY, DO-32(FIT)GY...
Page 76
3-9-31, Himesato, Nishiyodogawa-ku, Osaka 555-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 written consent of CONTEC CO., LTD. [11152006] [07132004] Management No. A-46-855 [06262012_rev4] Parts No.