Digital i/o unit with high voltage isolation for usb (47 pages)
Summary of Contents for Contec DIO-8D(FIT)GY
Page 1
F&eIT Series Bi-Directional Digital Input/Output Module DIO-8D(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 [DIO-8D(FIT)GY] ...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.
Setup Method ..........................9 LED Indicator ........................... 10 CONNECTING TO AN EXTERNAL DEVICE Interface Connector .......................... 11 How to Connect an Interface Connector ................... 11 Signal Layout on the Interface Connector................. 12 External I/O Circuits......................... 13 Surge Voltage Countermeasures ...................... 14 DIO-8D(FIT)GY...
Page 5
Examples............................26 Software Mode........................... 26 USING THE MEMORY ADDRESS MAP Module Information Area ......................30 Module Information Area ......................34 Basic I/O Data Area ........................37 Examples............................38 SYSTEM REFERENCE Circuit Block Diagram........................43 Specifications............................ 44 Physical Dimensions......................... 45 DIO-8D(FIT)GY...
The product is used in combination with the I/O controller module <CPU-CAxx(FIT)GY> or microcontroller unit <CPU-SBxx(FIT)GY> in the F&eIT Series. A single DIO-8D(FIT)GY module provides up to eight TTL-level I/O channels. (TTL 5-V type) By reading this manual carefully, please build a system by creating applications programs, setting the switches, and connecting the module to external devices.
[High(5V): 0, Low(0V): 1]. Output The Module writes a maximum of 8 points (<DIO-8D(FIT)GY>) of digital signals in groups of 8 points to an external device. Access to the Module from a controller module is performed through the output port that is specified by means of a Device ID. When data is written to the output port by the execution of an output command, the data is held on the latch circuit that is associated with the output port.
1. Before Using the Product Functions and control method by controller connected There DIO-8D(FIT)GY can be connected to a variety of controllers. Supported controllers Microcontroller Unit : CPU-SBxx(FIT)GY I/O Controller Module : CPU-CAxx(FIT)GY Monitoring & Control Server Unit : SVR-MMF2(FIT) Monitoring &...
Page 9
Control over the web You can monitor collected data and manage the log over the web. You can use your familiar browser to easily make various settings. For details, refer to the reference manual for the SVR-MMF2(FIT), SVR-MMF(FIT)GY. DIO-8D(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 equipment in a hot or cold place, or in a place that is subject to severe temperature changes.
Page 12
Operation of this equipment in a residential area is likely to cause harmful interference at his own expense. WARNING TO USER Change or modifications not expressly approved the manufacturer can void the user's authority to operate this equipment. DIO-8D(FIT)GY...
(3) Store the package at room temperature at a place free from direct sunlight, moisture, shock, vibration, magnetism, and static electricity. Disposal When disposing of the product, follow the disposal procedures stipulated under the relevant laws and municipal ordinances. DIO-8D(FIT)GY...
2. Module Nomenclature and Settings LED Indicator Table 2.1. LED Indicator Name Function indicator Output indicator (XY0 - XY7): GREEN ON: Low Status LED OFF: High DIO-8D(FIT)GY...
Front screw type with connector stopper flange FRONT-MC1,5/12-STF-3,81 [made by Phoenix Contact Corp.] Applicable wire: AWG28-16 DIO-8D Figure 3.1. Connecting an Interface Connector and Connectors That Can Be Used CAUTION Removing the connector plug by grasping the cable can break the wire. DIO-8D(FIT)GY...
Figure 3.3 shows the I/O circuit for the interface section of module. Signals are TTL-level, active low signals. Each signal is pulled up internally. Board External circuit PolySwitch +5V output 74LS245 10kΩ 22Ω Input/Output Figure 3.3. Data I/O Signal Circuit DIO-8D(FIT)GY...
Output pin Surge current Registor prevention registor Signal common Signal common Figure 3.4. Surge Voltage Countermeasure CAUTION In order for a protection circuit to operate effectively, it must be connected within 50cm of a load and a contact point. DIO-8D(FIT)GY...
6840h - 685Fh 6880h - 689Fh 68C0h - 68DFh 7800h - 781Fh(recommended) 7840h - 785Fh 7880h - 789Fh 78C0h - 78DFh For detailed specifications on the I/O space that is managed by the controller module, see the controller module manual. DIO-8D(FIT)GY...
Edge Edge Edge Edge Edge Edge Edge Edge (1Dh) Reserved (1Fh) INxx is an input signal in input mode (IOSet = 1). OUTxx serves for monitoring output data (readback) in output mode (IOSet = 0). Figure 4.1. Input Port DIO-8D(FIT)GY...
Page 22
Mask Mask (19h) (1Bh) Interrupt Edge Setting 0 IN 07 IN 06 IN 05 IN 04 IN 03 IN 02 IN 01 IN 00 (1Ch) Edge Edge Edge Edge Edge Edge Edge Edge (1Dh) (1Fh) Figure 4.2. Output Port DIO-8D(FIT)GY...
Figure 4.3. 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-8D(FIT)GY, the code is "1h".
Page 24
This bit enables an interrupt source. Setting the bit to “1” enables hardware interrupts to the controller module. IRQ* [D2 - D0]: The interrupt level used by the module is set in these bits. Setting any of the IRQs to “1” makes the signal on that IRQ active upon reception of an interrupt request. DIO-8D(FIT)GY...
When the interrupt function is used, therefore, the interrupt signal must be cleared within the interrupt handling program. Reading the interrupt status port clears the interrupt signal and the status in the port read at the same time. DIO-8D(FIT)GY...
Page 26
High to Low (upon “0” to “1” transition). If you set an interrupt edge select bit to “1”, an interrupt occurs when the input signal of the corresponding bit rises from Low to High (upon “1” to “0” transition). DIO-8D(FIT)GY...
Bounce time m < Filter Setting Time a Input Signal Valid Filter Output Signal Dilay time 2a (Max.) Figure 4.8. Digital Filter Operation Principle Set Digital Filter Time Input Port Digital Filter Data (03h) Output Port Digital Filter Data (03h) Figure 4.9. Set Digital Filter Time DIO-8D(FIT)GY...
Page 28
The digital filter applies to all input channels; it cannot apply to specific input pins only. - Do not set the setting data to any value other than the above. Doing so may result in a malfunction. DIO-8D(FIT)GY...
(10h) Figure 4.10. Input Port [Starting I/O Address +10h] Data can be input by using the input port [starting I/O address + 10h]. The DIO-8D(FIT)GY requires that [D0] (IOSet0) at “the starting I/O address + 15h” be “1”. When input is [Low], the corresponding bit for the input data will be [1]. Conversely, when input is [High], the corresponding bit for the input data will be [0].
When powered on, the Module is in the input state. Monitoring the Output Data The state of the DIO-8D(FIT)GY can be read without affecting output data. Starting address output...
4. Using the I/O Address Map Examples Software Mode Flowchart Following is a description of an example where the DIO-8D(FIT)GY is installed at device ID: 0. Start <I/O Setting Input Mode?> I/O Setting Address: Reading address 15h tells the current I/O setting.
Page 32
4. Using the I/O Address Map DIO-8D(FIT)GY...
Page 33
4. Using the I/O Address Map DIO-8D(FIT)GY...
5. Using the Memory Address Map 5. Using the Memory Address Map When connected to a CPU-CAxx(FIT)GY, DIO-8D(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.
Table 5.1. Module Information Area (When the port I/O setting is “input”) Access Initial Initial Address(h) Area Item Size type value(h) settings Starting address+00 Module type (category) DIO-8D(FIT)GY Starting address+01 Module type (serial No.) Starting address+02 System-reserved None (revision No.) Starting address+03 Supported functions Basic input Starting address+04 Number of...
Page 36
Table 5.2. Module Settings Area (When the port I/O setting is “output”) Access Initial Initial Address(h) Area Item Size type value(h) settings Starting address+00 Module type (category) DIO-8D(FIT)GY Starting address+01 Module type (serial No.) Starting address+02 System-reserved None (revision No.) Starting address+03 Supported functions Basic output Starting address+04 Number of...
Page 37
Module type (category) The DIO-8D(FIT)GY belongs to the digital module (01h) category. Module type (serial No.) The DIO-8D(FIT)GY is a digital module with a serial No. 8 (08h). Supported functions The DIO-8D(FIT)GY supports the basic input function (03h). Basic input data takes digital values.
Page 38
5. Using the Memory Address Map Items common to modules Module startup register The DIO-8D(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].
Module startup register Starting address+11 Error status Common to Starting address+12 Hardware Digital filter setting modules Starting address+13 Port I/O setting Starting address +14 Reserved None - Starting address+1F Starting address +20 Channel Reserved None - Starting address+7F settings DIO-8D(FIT)GY...
Page 40
Module startup register Starting address+11 Error status Common to Starting address+12 Hardware Digital filter setting modules Starting address+13 Port I/O setting Starting address +14 Reserved None - Starting address+1F Starting address +20 Channel Reserved None - Starting address+7F settings DIO-8D(FIT)GY...
Page 41
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 DIO-8D(FIT)GY does not contain a module shutdown function. 01h : Module operating Error status This register stores the error status of the module.
Starting address+01 Reserved - Starting address+7F Digital output values Output values OUT00 to OUT07 are stored as follows: Table 5.8. Digital Output Values OUT 07 OUT 06 OUT 05 OUT 04 OUT 03 OUT 02 OUT 01 OUT 00 OUT0 DIO-8D(FIT)GY...
5. Using the Memory Address Map Examples Flowchart The following flowchart illustrates an example where the DIO-8D(FIT)GY is installed at device ID: 0. Start <Digital I/O module type?> Address: Reading the address 301000h identifies the module type (category). If the module is a digital I/O module, the module type (category) will be [01h].
Page 51
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. [09132012] [04192004] Management No. A-46-752 [09132012_rev5] Parts No. LYCQ034...
Need help?
Do you have a question about the DIO-8D(FIT)GY and is the answer not in the manual?
Questions and answers