Contec F&eIT series, F&eIT ADI12-8(FIT)GY User Manual

F&eIT Series
Isolated Analog Input Module
ADI12-8(FIT)GY
User’s Manual
CONTEC CO.,LTD.

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 …1
- First Step Guide …1
- CD-ROM [F&eIT Series Setup Disk] *1…1
- Interface connector plugs …2
- Warranty Certificate …1
- Serial number label …1 *1 The CD-ROM contains various software and User’s Manual (this manual)
RUN STATUS
6
7
5
040
Device
4
1
ID
3
2
+
CH0
AG +
CH1
AG +
CH2
AG +
CH3
AG
+
CH4
AG +
CH5
AG +
CH6
AG +
CH7
AG
ADI12-8
ADI12-8(FIT)GY
Interface connector plugsModule
Warr ant y Certificate
Warranty Certificate
First step guide
XXXXXXXXXXXXX
XXXXXXXXXXXXX
Serial number label
CD-ROM
[F&eIT Series Setup Disk]

Copyright

Copyright 2001 CONTEC CO., LTD. ALL RIGHTS RESERVED
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.
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.
Regardless of the foregoing statement, CONTEC assumes no responsibility for any errors that may appear in this document nor for results obtained by the user as a result of using this product.

Trademarks

F&eIT is a registered trademark or trademark of CONTEC CO., LTD. Other company and product names that are referred to in this manual are generally trademarks or registered trade trademark.
ii
ADI12-8(FIT)GY

Table of Contents

Check Your Package ..........................................................i
Copyright ..........................................................................ii
Trademarks.......................................................................ii
Table of Contents.............................................................iii
1. Introduction ..................................................................... 1
Features ........................................................................ 1
Functions and control method by
controller connected ..................................................... 2
Limited One-Year Warranty ........................................ 4
How to Obtain Service ................................................. 4
Liability......................................................................... 4
Handling Precautions .................................................. 5
About the Manual......................................................... 6
2. Module Nomenclature and Settings ............................... 7
Nomenclature of Module Components ............................ 7
Setting a Device ID........................................................... 8
Setup Method ............................................................... 8
LED Indicator ................................................................... 8
3. Connecting to an External Device .................................. 9
Interface Connector .......................................................... 9
How to Connect an Interface Connector ..................... 9
Signal Layout on the Interface Connector................ 10
Example of connecting a current input..................... 11
ADI12-8(FIT)GY
iii
4. Using the I/O Address Map............................................13
Starting I/O Address ...................................................... 13
List of I/O Address Maps................................................ 14
Specifications Common to F&eIT Products .................. 16
Product Information................................................... 16
Overview of the Sampling Function.............................. 19
List of Commands........................................................... 30
Examples ........................................................................ 31
Software Mode............................................................ 31
Clock Mode (No Interrupts)....................................... 33
Clock Mode (with Interrupts).................................... 36
5. Using the Memory Address Map ...................................41
Module Settings Area................................................. 42
Module Information Area .......................................... 45
Basic Input Data Area ............................................... 47
Examples ........................................................................ 49
6. System Reference ...........................................................53
Block Diagram................................................................ 53
Specifications.................................................................. 54
External Dimensions...................................................... 56
iv
ADI12-8(FIT)GY
Introduction

1. Introduction

Congratulations on your recent purchase of an Insulator Digital Input Module. By converting external analog voltage signals into digital data, the ADI12-8(FIT)GY can process them inside the F&eIT series controller module < CPU-CAxx(FIT)GYGY, CPU-SBxx(FIT)GY etc >. The insulation between external signals and the Controller Module permits the use of the Controller Module without compromising the communications features of the latter.
Please read this manual carefully to create application programs and configure the system, such as setting the switches and connecting it to external devices.

Features

- The input range is common to different channels, and can be selected from four input ranges, including unipolar and bipolar ranges.
- The ability to accommodate differential input permits the accurate measurement of voltage values over long distances from the signal source and even under a considerable potential difference.
- A rotary switch allows you to set device IDs to help you keep track of device numbers.
- The system incorporates a screwless connector plug that allows you to easily attach and detach wires without using any special tools.
- Similar to other F&eIT series products, the system, in the m odule itsel f, incor porates a 35-mm DIN rail mounting mechanism as a standard item. A connection to a controller module can be effected on a lateral, stack basis in a unique configuration, which permits a simple, smart system configuration without the need for a backplane board.
ADI12-8(FIT)GY
1
Introduction
g

Functions and control method by controller connected

The ADI12-8(FIT)GY can be connected to a variety of controllers.
Micro Controller Unit : CPU-SBxx(FIT)GY
I/O Controller Module : CPU-CAxx(FIT)GY
Monitoring & Control Server Unit : SVR-MMF2(FIT)
Monitoring & Control Server Unit : SVR-MMF(FIT)GY
Isolated Analog Input Module for USB : ADI12-8(USB)GY
I/O Controller Module with USB : CPU-CA10(USB)GY
The functions and control of the ADI12-8(FIT)GY vary with t he controller to which the ADI12-8(FIT)GY is connected.
Functions available with each controller connected
Y
Y
G
)
T
I
F
(
x
x
A
B
C
S
-
­U
U
P
P
C
Software input range setting
A/D conversion with software command
Continuous A/D conversion based on internal samplin
Interrupt function
Device ID setting range 0 - 7 0 - 7 0 - 7 0 - 7 1 - 3 0 - 7
*1 For the function available, refer to the reference manual for the SVR-MMF2(FIT),
SVR-MMF(FIT)GY.
*2 Sampling timer setting: 10 to 1,073,741,824 μsec.
*3 Using the sampling timer built in the ADI12-8(USB)GY.
The setting range is from 1000 to 1,073,741,000 μsec.
C
οο οο οο οο
o*2 o*3
ο
)
G
)
T
I
T
I
F
F
(
x
x
R
V
S
F
2(
(
F
F
M
M
M
M
-
-
R
V
S
*1*1
*1*1
2
ADI12-8(FIT)GY
Y
G
)
T
I
S
U
8(
-
2
1
I
D
Y
G
)
Y
B
G
)
S
B
U
(
10
A
C
-
U
P
C
Introduction
Control method by controller connected
Y
Control using the I/O address map
Control using the memory address map
FIT Protocol
Control via the Windows driver *
Control over the web
* The API-SBP(W32) is included in the development kit
DTK-SBxx(FIT)GY; the other drivers are bundled with each controller.
API-CAP(W32)
API-SBP(W32)
API-USBP(WDM)
Y
G
G
)
)
T
T
I
I
F
F
(
(
x
x
x
B
S
-
U
P
C
C
F
x
M
A
C
M
-
-
U
R
P
V
S
ο
ο
ο
ο
ο
οο
)
T
I
F
2(
Y
G
)
T I
F
(
F
M
M
-
R
V
S
οο
Control using the I/O address map
When connected to the CPU-SBxx(FIT)GY, the ADI12-8(FIT)GY can receive I/O instructions directly from the controller module. For details, see Chapter 4 “Using the I/O Address Map”.
Control using the memory addre ss map
When connected to the CPU-CAxx(FIT)GY, the ADI12-8(FIT)GY can be accessed from the host computer over the network. The ADI12-8(FIT)GY is assigned with its device ID in the memory managed by the controller module. The application running on the host computer controls the module by reading/writing the memory managed by the controller module. For details, see Chapter 5 “Using the Memory Address Map”.
Y
G
)
Y
B
G
)
S
B
U
(
S
U
10
8(
A
­C
2
-
1
I
U
D
P
C
ADI12-8(FIT)GY
Control via the Windows driver
For the functions and settings available when using the Windows driver, refer to the reference manual and online help for each module.
Control over the we b
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.
3
Introduction

Limited One-Year Warranty

CONTEC products are warranted by CONTEC CO., LTD. to be free from defects in material and workmanship for up to one year from the date of purchase by the original purchaser.
Repair will be free of charge only when this product 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 warranty is not applicable for scratches or normal wear, but only for the electronic circuitry and original products. The warranty is not applicable if the device has been tampered with or damaged through abuse, mistreatment, neglect, or unreasonable use, or if the original invoice is not included, in which case repairs will be considered beyond the warranty policy.

How to Obtain Service

For replacement or repair, return the device freight prepaid, with a copy of the original invoice. Please obtain a Return Merchandise Authorization Number (RMA) from the CONTEC group office where you purchased before returning any product.
* No product will be accepted by CONTEC group without the RMA number.

Liability

The obligation of the warrantor is solely t o repair or replace t he product. In no e vent will the warrantor be liable for any incide ntal or conse quent ial dam ages due to suc h defect or consequences that arise from inexperien ced usa ge, mi suse, or mal funct ion of this de vice.
4
ADI12-8(FIT)GY
Introduction

Handling Precautions

Take the following precautions when handling this module.
-Do not modify the module. CONTEC will bear no responsibility for any pro blems, 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. (Operating temperature range: 0 - 50°C)
- Do not use or store the equipment in a place subject to direct sunlight or near a heating device, such as a stove.
- Do not use or store the equipment in a dusty or humid place. (Operating humidity range: 10 - 90%RH, No condensation)
- As this product contains precision electronic components, do not use or store in environments subject to shock or vibration.
- Do not use or store the product near equipment generating a strong magnetic field or radio waves.
- If you notice any strange odor or overheating, please unplug the power cord immediately.
- In the event of an abnormal condition or malfunction, please consult the dealer from whom the equipment was purchased.
- To avoid electric shock, please do not touch the system with a wet hand.
- Do not open the module casing. CONTEC will disclaim any responsibility for equipment whose casing has been opened.
- To prevent damage, please do not subject the module to impact or bend it.
- To prevent contact malfunction, please do not touch the metallic pins on the external module connector.
- 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 operate the device module when the power for the Controller Module is on. To avoid malfunction, please be sure to turn off the power for the Controller Module".
- If you use this product in a noisy environment, attach ferrite cores to the IO cable to stabilize the operation.
ADI12-8(FIT)GY
5
Introduction
FCC PART 15Class 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. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. 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.

About the Manual

This manual consists of the following chapters:
Chapter 1 Introduction Chapter 2 Module Nomenclature and Settings
Explains the nomenclature of the components of the I/O Controller Module and their operations.
Chapter 3 Connecting to an External Device
Explains interface connectors and external I/O circuits.
Chapter 4 Functioning as a CPU-SBxx(FIT)GY Module
Chapter 5 Functioning as a CPU-CAxx(FIT)GY Module
Chapter 6 System Reference
Explains I/O port bit assignements and the definitions of the bits whe n the Module is used as a CPU-SBxx(FIT)GY module.
Explains the module settings area, the information area, and the I/O data area when the Module is used as a CPU-CAxx(FIT)GY module.
Explains module specifications and circuit diagrams.
6
ADI12-8(FIT)GY
Module Nomenclature and Settings

2. Module Nomenclature and Settings

Nomenclature of Module Components

Figure 2.1. shows the names of m odule c omponent s. In t he figure , the indicate d switch settings represent factory settings.
LED Indicator Device ID
Interface connector
RUN STATUS
6
7
5
040
Device
4
1
3
ID
2
CH0
CH1
CH2
CH3
CH4
CH5
CH6
CH7
ADI12-8
+
AG
+
AG
+
AG
+
AG
+
AG
+
AG
+
AG
+
AG
Figure 2.1. Names of module components
ADI12-8(FIT)GY
7
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.
To connect the ADI12-8(FIT)GY to the ADI12-8(USB)GY, assign a device ID between 1 and 3.
The factory setting for the Device ID is [0].

Setup Method

A device ID can be set by turning the rotary switch on the device face. To set a device ID, turn the switch knob.
6
7
5
4
1
3
2
040
Factory settings:
(Device ID = 0)
Device
ID
Figure 2.2. Setting a Device ID

LED Indicator

RUN: Indicates that the ADI12-8(FIT)GY can be controlled from the
Controller Module. (green)
STATUS: This light comes on when an A/D conversion error occurs. (red)
8
ADI12-8(FIT)GY
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 of f appr oxim ately 7 - 8 mm of the coveri ng for the cable, and insert the bare wire by pressing the orange button on the connector plug. Releasing the orange button after the wire is inserted to fix the cable. Compatible wires are AWG 28 - 20.
Note!
RUN STATUS
5
Device
4
3
ID
CH0
CH1
CH2
CH3
CH4
CH5
CH6
CH7
ADI12-8
Press this section to insert the
6
7
040
wire material.
1
2
+
- Connector used:
AG
+
2.5-mm pitch, 12-pin type, 4.0A nominal current MC0.5/12-G-2.5
AG
connector (made by Phoenix Contact Corp.)
+
AG
- Applicable plug:
+
Front-operable spring gauge type FK-MC 0,5/12-ST-2,5 plug
AG
(made by Phoenix Contact Corp.)
+
AG
Applicable wire: AWG 28 - 20
+
AG
+
AG
+
AG
7 - 8mm
Figure 3.1. Connecting an interface connector and connectors that can be
used
Removing the connector plug by grasping the cable can break the wire.
ADI12-8(FIT)GY
9
Connecting to an External Device

Signal Layout on the Interface Connector

The Module can be connected to an external device using a 12-pin (1 group) connector that is provided on the Module face.
CH0
CH1
CH2
CH3
CH4
CH5
CH6
CH7
12
CH0 [+]
11
CH0 [
10
AG
9
CH1 [+]
8
CH1 [
7
AG
6
CH2 [+]
5
CH2 [
4
AG
3
CH3 [+]
2
CH3 [
1
AG
12
CH4 [+]
11
CH4 [
10
AG
9
CH5 [+]
8
CH5 [
7
AG
6
CH6 [+]
5
CH6 [
4
AG
3
CH7 [+]
2
CH7 [
1
AG
Analog Input 0ch [+]
Analog Input 0ch [
-
]
Analog Ground
Analog Input 1ch [+]
Analog Input 1ch [
-
]
Analog Ground
Analog Input 2ch [+]
Analog Input 2ch [
-
]
Analog Ground
Analog Input 3ch [+]
Analog Input 3ch [
-
]
Analog Ground
Analog Input 4ch [+]
Analog Input 4ch [
-
]
Analog Ground
Analog Input 5ch [+]
Analog Input 5ch [
-
]
Analog Ground
Analog Input 6ch [+]
Analog Input 6ch [
-
]
Analog Ground
Analog Input 7ch [+]
Analog Input 7ch [
-
]
Analog Ground
-
]
-
]
-
]
-
]
-
]
-
]
-
]
-
]
Figure 3.2. Signal layout on the interface connector
10
ADI12-8(FIT)GY
Connecting to an External Device

Example of connecting a current input

To measur e a current using t he ADI12-8(FI T)GY, you need to convert the current into a voltage using a resistor.
By connecting a 250Ω resistor between the [+] and [-] inputs, the ADI12-8(FIT)GY can measure currents from a 0 - 20mA current output de vice in a voltage input range fr om 0 to 5 V. Note that, if the inserted resistor has a considerable error, it adversely affects converted data, preventing accurate measurement. You should therefore use a precision resistor (±0.1 %) on the connector side.
Note also that, when there are more than one current source, no potential difference must exist between their respective GND points.
The ADI12-8(FIT)GY is insulated between its internal CPU and the e xternal de vice but not between the analog input channels and thus uses a common analog ground.
If an affecting potential difference exists between the channels, insert an insulator such as an insulating transducer between the channels.
Module
Analog Input 0[+]...7[+]
Analog Input 0[-]...7[-]
Analog Ground
Figure 3.5. Current input connection
Notes!
- Converted data is undefined with no analog ground connected.
- If the connection cable is affected by noise, the analog input can be inaccurate.
- The analog signal input to the [+] and [-] inputs must not exceed the maximum
- Converted data is undefined when either of the [+] and [-] input terminals is left
Connector
Cable Signal Source
I
Route the connection cable apart from noise sources.
input voltage with reference to the analog ground of the module. Exceeding the input voltage can damage the module.
unconnected. Connect both of the [+] and [-] input terminals of the channel not connected to the signal source to the analog ground.
ADI12-8(FIT)GY
11
Connecting to an External Device
12
ADI12-8(FIT)GY
Using the I/O Address Map

4. Using the I/O Address Map

Starting I/O Address

When connected to a CPU-SBxx(FIT)GY, the ADI12-8(FIT)GY 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 ADI12-8(FIT)GY.
Because the address bus on which the I/O address space is specified is not fully decoded in continued 16 bits, four starting I/O addresses exist in each Device ID.
If the Device ID is set to 0h, one of the four addresses (0800h, 0840h, 08 80h, or 08C0h) will be used as a starting I/O address.
Table 4.1. List of starting I/O addresses.
ID No.
0 0800h - 081Fh(recommend) 0840h - 085Fh 0880h - 089Fh 08C0h - 08DFh
1 1800h - 181Fh(recommend) 1840h - 185Fh 1880h - 189Fh 18C0h - 18DFh
2 2800h - 281Fh(recommend) 2840h - 285Fh 2880h - 289Fh 28C0h - 28DFh
3 3800h - 381Fh(recommend) 3840h - 385Fh 3880h - 389Fh 38C0h - 38DFh
4 4800h - 481Fh(recommend) 4840h - 485Fh 4880h - 489Fh 48C0h - 48DFh
5 5800h - 581Fh(recommend) 5840h - 585Fh 5880h - 589Fh 58C0h - 58DFh
6 6800h - 681Fh(recommend) 6840h - 685Fh 6880h - 689Fh 68C0h - 68DFh
7 7800h - 781Fh(recommend ) 7840h - 785Fh 7880h - 789Fh 78C0h - 78DFh
Occupied I/O address
ADI12-8(FIT)GY
For detailed specifications on the I/O space that is managed by the controller module, see the controller module manual.
13
Using the I/O Address Map

List of I/O Address Maps

Input Port
Starting I/O address
input +0 (00h)
+1 (01h)
+2 (02h)
+3 (03h)
D7 D6 D5 D4 D3 D2 D1 D0
Enable Status 0 0 0 IRQ9 IRQ7 IRQ5
Product Category
0010
Product ID Number
000000 00
Revision
Data3
Interrupt Status
Revision Data
Revision
Data2
Revision
Data1
Revision
Data0
+16 (10h)
+17 (11h)
+18 (12h)
+21 (15h)
+22 (16h)
+23 (17h)
+31 (1Fh)
......
(Not available)
Conversion
Conversion
Data7
0000
00 0
Conversion
Data6
Clock Error Clock Input
Analog input Data (Lower)
Conversion
Data5
Data4
Analog input Data (Upper)
(Not available)
Analog Input Status
SamplingSampling
(Not available)
Conversion
Data3
Conversion Data11
(MSB)
Conversion
Data2
Conversion
Data10
Data Over
Write Error
Conversion
Data1
Conversion
Data9
0
Conversion Data0
(LSB)
Conversion
Data8
Data Read
Enable
Figure 4.1. Input port
14
ADI12-8(FIT)GY
Loading...
+ 43 hidden pages