Eurotech Advme2702 Owner's manual

Type
Owner's manual
Manual
Isolated 16-channel D/A Board
Preface
Inquiries
Sales Division
Headquarters
616-4 Tanaka, Okayama 700-0951 Japan
TEL : 086-245-2861 FAX : 086-245-2860
Tokyo Office KDX Kaji-cho 4F , 3-5-2 Kanda Kaji-cho,
Chiyoda-ku, Tokyo 101-0045 Japan
TEL : 03-5294-1731 FAX : 03-5294-1734
INTERNETURL http://www.advanet.co.jp/
1. In order to improve the product, the contents of this document as well as product specifications are subject to change without notice.
2. This document does not give permission to the implementation of patents or other rights held by Advanet or third parties.
3. Reproduction of all or part of this document without Advanets permission is prohibited.
2008 Advanet Inc.
Precautions in Use
Please read this manual before using the product in order to insure its safe use.
Do not place the product in a
location where it can fall or be
subject to vibration or impact
because this may cause device
failure.
Protect the device from vibration and impact.
Do not modify the device.
For safety reasons, under no
circumstances should you
modify the device. Advanet will
not repair products that have
been modified.
Protect the product from water
and chemicals.
Contact between the product
and water or chemicals can
result in product failure,
electrocution, or fire.
Protect the product from
foreign material.
Make sure that foreign
material does not get into the
product during use, storage, or
transport because this can
result in product failure.
Take precautions in handling to insure
that you are not injured.
The sharp projections on this
product may cause injury. Take
care in handling this product in
order to avoid injury.
Do not disassemble the product.
In order to maintain
guaranteed product
performance, do not under any
circumstances disassemble
this product.
Keep the product away from radios and TVs.
Do not use the product near
radios, television sets, or other
devices generating strong
magnetic or electrical fields.
This could result in failure or
malfunction.
Keep the product away from
flame, humidity, and direct sunlight.
Do not use or store the product
in any of the following locations
as this could result in product
failure.
Places where there is fire.
Locations high in humidity
or exposed to rain
Locations exposed to direct
sunlight
Dusty or dirty locations
Locations containing
excessive water or
chemical vapors
Precautions in use
Please read this manual before using the product in order to insure its safe use.
Install the product in well-ventilated locations.
Install the product in well-
ventilated locations to
efficiently disperse heat
generated by the product.
Remove the power plug from the receptacle
when not using the product.
Turn off the main switch and
remove the power plug from
the receptacle when not using
the product, or there is the risk
of lightning strike.
Be sure to use the device within rated parameters.
Be sure to use the product
within the ratings specified in
this manual. Failure to do so
may result in malfunction.
Cleaning the product
If the product becomes dirty,
wipe it with a dry soft cloth. A
thinned neutral cleaner may be
used if the product is
particularly dirty. Do not use
benzene, thinners, or other
solvents under any
circumstances.
Be sure to ground the product in order
to prevent electrocution.
Be sure to ground the product
by connecting it to a 3-pole AC
receptacle or by using an AC
receptacle having a grounding
terminal.
Be sure to dispose of the product properly.
Use appropriate methods for
handling industrial wastes
when disposing of this product.
Please contact Advanet for repair of the product.
Please contact your retail
dealer or Advanet when repairs
are necessary.
Make sure that the product is not miswired.
Failure to wire the product
correctly can result in
malfunction or fire. Read this
manual and wire the product
correctly.
Static electricity may cause malfunction.
This product comprises
electronic parts that are highly
susceptible to static electricity.
Static electricity can cause the
product to malfunction. Take
care not to touch any of the
terminals, connectors, ICs, or
other parts with the hands.
When you believe the product to be malfunctioning
Stop using the product if you
believe it is malfunctioning.
Continuing to use a
malfunctioning product can
cause the malfunction to
spread to other products and
can cause short circuits or fire.
<Advme2702><Advme2702>
<Advme2702><Advme2702>
<Advme2702>
5
Content
1. Prior to use ............................................................................................................................................................................... 6
1.1 Period and scope of warranty ........................................................................................................................................... 6
1.2 Scope of service ................................................................................................................................................................ 6
2. Features .................................................................................................................................................................................... 7
3. Specifications ........................................................................................................................................................................... 8
4. Configuration ........................................................................................................................................................................... 9
5. Setting and Adjustment ...........................................................................................................................................................10
5.1 Switches, jumpers, volume, and connectors ..................................................................................................................... 10
5.2 Base address setting (DSW1, 2) ....................................................................................................................................... 11
5.3 Analog output voltage range setting (JP1 to 16) .............................................................................................................. 11
5.4 Analog output control (VR1) ............................................................................................................................................11
5.5 Others ................................................................................................................................................................................11
6. Register Mapping ....................................................................................................................................................................12
7. Connector ................................................................................................................................................................................ 17
7.1 Analog output connector ................................................................................................................................................... 17
7.2 Output signal ..................................................................................................................................................................... 17
8. Register Control ......................................................................................................................................................................18
8.1 Programming ....................................................................................................................................................................18
8.2 Input code and output voltage .......................................................................................................................................... 18
9. Simple Sample Program .......................................................................................................................................................... 19
9.1 List of sample program codes ........................................................................................................................................... 19
9.2 Explanation .......................................................................................................................................................................24
<Advme2702><Advme2702>
<Advme2702><Advme2702>
<Advme2702>
6
1. Prior to use
1.1 Period and scope of warranty
Delivered products are under warranty for a period of one year after delivery.
During the period of warranty, the vendor will have his own to responsibility replace or repair malfunctioning
parts if the product malfunction is the responsibility of the vendor.
However, this warranty does not apply under the following circumstances:
(1) If the user handles or uses the product in an inappropriate way
(2) If the malfunction is caused by something other than the delivered product
(3) If the delivered product has been modified or repaired by anyone other than the vendor
(4) Due to natural disaster, accident, or other reason not the responsibility of the vendor
In this context, the term “warranty” means solely a warranty of the individual delivered product, and does not
include any compensation for the damage caused by malfunction of the delivered product.
1.2 Scope of service
The service costs such as the costs of sending technical personnel are not included in the price of the delivered
product. Customers will be charged for the following costs:
(1) Assistance with installation adjustments and test running
(2) Maintenance inspections, adjustments, and repairs
(3) Technical assistance and technical training
<Advme2702><Advme2702>
<Advme2702><Advme2702>
<Advme2702>
7
2. Features
z VME double-high, 12-bit resolution D/A conversion board with a single slot and 16 channels that are compatible
with A16, D16, and D8 (EO)
z Jumper-selectable output range setting for respective channels
1. -/+10 [V]
2. 0 to 10 [V]
3. 0 to 5 [V]
z Equipped with a photo-coupler that assures complete insulation between the analog and digital circuits, but not
between output channels
z Conversion rate: 10µs per channel
z Capable of batch forced step-down of the output voltage of all channels to 0V at power-up and reset
z Equipped with a double layer buffer in each channel, allowing the output voltage of all channels to be
refreshed simultaneously
z Operates on single 5V power supplied from the VME bus
z RoHS compliant
<Advme2702><Advme2702>
<Advme2702><Advme2702>
<Advme2702>
8
3. Specifications
Analog output
Number of channels: 16 channels
Output range: -/+10 [V]
0 to 10 [V]
0 to 5 [V]
Output current: 5 [mA](max.)
D/A conversion
Resolution: 12 bits
Output mode: Binary
-/+10V range 0H to FFFH (-10.24[V] to +10.24[V])
0 to 10V range 0H to FFFH (0[V] to +10.24[V])
0 to 5V range 0H to FFFH (0[V] to +5.12[V])
Overall accuracy: -/+0.3[%](F.S.)
Conversion rate: 10µs per channel
Temperature characteristics: -/+50ppm/deg.C(typ.) -/+100ppm/deg.C(max.)
D/A converter: Analog Devices AD7568BSZ (x 2)
Bus interface
Bus standard: VME bus Revision C.3
Data width: 16 bits/8 bits [D16, D8 (EO)]
(Writing to the data register: 16-bit data only)
Address width: 16 bits [A16]
Accessible by AM codes 29H and 2DH
Address space occupied: 64 bytes of VME bus A16 address spaces C000H to FFFFH
Power requirements
Power supply voltage: 5V -/+5% (supplied from the VME bus)
Current consumption: 0.76[A]
Environment specification
Operating temperature: 0 to 50 deg.C
Operating humidity: 10 to 90% RH (no condensation)
Storage temperature: -10 to 70 deg.C
Storage humidity: 0 to 90% RH (no condensation)
Board size
172mm x 262mm x 20mm (typ.) (protrusions not included)
Double height, single slot
Weight
265[g]
<Advme2702><Advme2702>
<Advme2702><Advme2702>
<Advme2702>
9
4. Configuration
[Figure 4.1] Block Diagram of Advme2702
A1 15
AM0
5
D0
15
AS
DS0
DS1
IACK
LWORD
WRITE
DTACK
BERR
SYSRESET
SYSCLK
VME bus
P1
LCA
VME bus I/F
Base address 
configuration SW
Address 
decode
Control
circuit
Photo-coupler
12-bit 
D/A
converter
AMP
CN1
Output connector
Reference 
voltage
2.5V
<Advme2702><Advme2702>
<Advme2702><Advme2702>
<Advme2702>
10
5. Setting and Adjustment
5.1 Switches, jumpers, volume, and connectors
Figure 5.1 shows the layout of switches, jumpers, volume, and connectors.
DSW1, DSW2 ......................... Used to specify a base address.
JP1 to 16 ................................. Used to specify an output range. (ch0 to 15)
VR1 ......................................... Used to regulate the reference voltage.
TPG2 ....................................... Analog GND
TP3 .......................................... Reference voltage
CN1 ......................................... Analog output connector
P1 ............................................ VME bus connector
[Figure 5.1] Layout of Switches, Jumpers, Volume, and Connectors
JP16
16
34
JP15
16
34
JP14
16
34
JP13
16
34
JP12
16
34
JP11
16
34
JP10
16
34
JP9
16
34
JP8
16
34
JP7
16
34
JP6
16
34
JP5
16
34
JP4
16
34
JP3
16
34
JP2
16
34
JP1
16
34
VR1
P1
DSW1
CN1
DSW2
TPG2
[AGND]
TP3
[VRef]
<Advme2702><Advme2702>
<Advme2702><Advme2702>
<Advme2702>
11
5.2 Base address setting (DSW1, 2)
The Advme2702 takes up a 64-byte (40H) consecutive area in the VME bus A16 address spaces C000H to
FFFFH.
The starting address of the required area is referred to as a base address (BASE).
The base address is assigned with the DIP rotary switches, DSWs 1 and 2.
DSW2 is used to assign addresses corresponding to A10 to A13 address buses, and DSW1 to assign addresses
corresponding to A6 to A9 address buses.
The following equation shows a correspondence between the base address (BASE) and DSW1 (DSW2).
Base address (BASE) = DSW2 set point x 400H + DSW1 set point x 40H + C000H
When DSW2 is set to 5 and DSW1 is set to 8:
BASE = 5 x 400H + 8 x 40H + C000H
= D600H
5.3 Analog output voltage range setting (JP1 to 16)
The Advme2702 is capable of setting the output voltage range for each channel.
Jumpers are installed in respective channels. The output voltage range is set for each channel by the same procedure.
5.4 Analog output control (VR1)
The Advme2702 is capable of common gain control of respective channels in the following range.
Gain -/+ 2.5% (in full-scale)
5.5 Others
The Advme2702 requires individual VME bus signal connection of BG*IN and BG*OUT on account of no
function of bus arbitration. (Asterisk (*) assigned with 0 to 3)
Because an interrupt is not used, the Advme2702 is connected to IACKIN and IACKOUT.
Setting range JP1 to 16
0 to 5 [V]
0 to 10 [V]
-/+10 [V]
31
46
31
46
31
46
symbolizes an area that is 
short-circuited with a jumper plug.
<Advme2702><Advme2702>
<Advme2702><Advme2702>
<Advme2702>
12
6. Register Mapping
The base addresses (BASE) are assigned to the Advme2702 registers as shown below.
Register mapping (Access by word [D16])
Register mapping (Access by byte [D8 (EO)])
* The data registers permit no byte-access.
Address Write Read
BASE + 0H Board ID
BASE + 020EH
BASE + 10H Mode register Status
BASE + 12H Enable register
BASE + 14H Update register
BASE + 16H Channel register
BASE + 18H Data register
BASE + 20H3EH
Address Write Read
BASE + 0H
BASE + 1H Board ID
BASE + 020FH
BASE + 10H
BASE + 11H Mode register Status
BASE + 12H
BASE + 13H Enable register
BASE + 14H
BASE + 15H Update register
BASE + 16H
BASE + 17H Channel register
BASE + 18H
BASE + 19H
BASE + 20H3FH
<Advme2702><Advme2702>
<Advme2702><Advme2702>
<Advme2702>
13
1. Board ID register (read)
This register permits board identification with respect to its readout numbers.
The board ID for the Advme2702 is 45H.
Upper 8 bits are undefined at 16-bit access. (FFH reading enabled in normal times)
2. Mode register (write)
This register is used to determine to perform batch output update of all the channels or individual output update of
respective channels.
A channel to be output is stored in the channel register and the bit is written to the data register if the mode register
is set at ‘0.’
The writing of the update register takes place with the channel to be output stored in the channel register and the
bit written to the data register, if set at ‘1.’
D15 D8 D7 D0
45H
45H
Not used
16-bit access
BASE + 0H
D7 D0
8-bit access
BASE + 1H
D15 D1 D0
Mode
Not used (arbitrary data)
16-bit access
BASE + 10H
D7 D1
8-bit access
BASE + 11H
0: Individual update
1: Batch update
D0
Mode
Not used (arbitrary data)
0: Individual update
1: Batch update
<Advme2702><Advme2702>
<Advme2702><Advme2702>
<Advme2702>
14
3. Status register (read)
This register permits checking the board internal state with respect to its readout numbers.
D15 D3 D2
Mode (mode register)
Not used (arbitrary data)
16-bit access
BASE + 10H
D7 D3
8-bit access
BASE + 11H
0: Individual update mode
1: Batch update mode
D1
Enable (enable register)
0: Forced zero output
1: Data output
D0
Busy
0: Standby
1: Busy
D2
Mode (mode register)
Not used (arbitrary data)
0: Individual update mode
1: Batch update mode
D1
Enable (enable register)
0: Forced zero output
1: Data output
D0
Busy
0: Standby
1: Busy
<Advme2702><Advme2702>
<Advme2702><Advme2702>
<Advme2702>
15
4. Enable register (write)
This register is used to control the D/A converters output of all channels.
The D/A voltage output of all channels is produced when this register set at ‘0’ and is forced to become 0V when
set at ‘0.’ This register is automatically reset to ‘0’ upon power-on and reset.
5. Update register (write)
This register permits the D/A converters output of all channels to be updated, irrespective of data content, upon
writing.
It is not necessary to control this register if the mode register is set at ‘0.’
D15 D1 D0
All data output
Not used (arbitrary data)
16-bit access
BASE + 12H
D7 D1
8-bit access
BASE + 13H
0 : 0V
1: D/A output
D0
All data output
Not used (arbitrary data)
0 : 0V
1: D/A output
D15 D0
Arbitrary data
Arbitrary data
16-bit access
BASE + 14H
D7 D0
8-bit access
BASE + 15H
<Advme2702><Advme2702>
<Advme2702><Advme2702>
<Advme2702>
16
D15 D4 D3 D2 D1 D0
Channel number
Not used
16-bit access
BASE + 16H
D7 D4
8-bit access
BASE + 17H
Set at 0 to 15.
D3 D2 D1 D0
Channel number
Not used
Set at 0 to 15.
D15 D13 D12 D0
D/A conversion data
Not used
16-bit access
BASE + 18H
6. Channel register (write)
This register permits the allocation of a channel into which data is written, upon writing.
7. Data register (write)
This register permits D/A conversion data specification to an allocated channel, upon writing
This register is available only at 16-bit access.
<Advme2702><Advme2702>
<Advme2702><Advme2702>
<Advme2702>
17
7. Connector
7.1 Analog output connector
The Advme2702 is equipped with an output connector mounted with 34-pin MIL headers.
Product name: 3M 3431-5002LCPL
The external cable is designed to adopt connectors listed below:
3M 7934-B500SC (connector)
3M 3448-7934 (strain relief)
7.2 Output signal
The following table shows the output connector pin-to-signal relationship.
Output Connector CN1 Signals
33
34
1
2
Pin No. Signal Pin No. Signal
1AO02GND
3AO14GND
5AO26GND
7AO38GND
9AO410GND
11 AO5 12 GND
13 AO6 14 GND
15 AO7 16 GND
17 AO8 18 GND
19 AO9 20 GND
21 AO10 22 GND
23 AO11 24 GND
25 AO12 26 GND
27 AO13 28 GND
29 AO14 30 GND
31 AO15 32 GND
33 N.C. 34 N.C.
<Advme2702><Advme2702>
<Advme2702><Advme2702>
<Advme2702>
18
8. Register Control
8.1 Programming
This section describes the procedure for data writing to the registers that must be followed in outputting arbitrary
voltage to any given output channel.
z Data writing by channel
Use the following procedure to write data when individual update mode is entered.
1. Read the status register and make sure that the board is not in busy state.
2. Write the number of a channel into which data is written to the channel register.
3. Write data to be programmed into the D/A converter to the data register.
z Output process upon power-up
The output voltage of all channels is forcibly stepped down to 0V at power-up. Voltage output becomes
enabled after the D/A converters of all channels are assigned with an arbitrary initial value.
1. Establish the all channel batch mode.
2. Assign the specified initial values to the D/A converters of all channels in sequence.
(See “Data writing by channel”)
3. Write an arbitrary value to the update register.
4. Write ‘1’ to the enable register.
5. Switch the current mode to arbitrary mode.
8.2 Input code and output voltage
The following table shows the relationship between the input code and D/A converted output voltage.
Data
Output
range
000H 7D0H FA0H FFFH [hexadecimal]
(0) (2000) (4000) (4095) [decimal]
010[V] 0.00[V] +5.00[V] +10.00[V] +10.24[V]
05[V] 0.00[V] +2.50[V] +5.00[V] +5.12[V]
Output
range
000H 030H 800H FD0H FFFH [hexadecimal]
(0) (48) (2048) (4048) (4095) [decimal]
-/+10[V] -10.24[V] -10.00[V] 0.00[V] +10.00[V] +10.24[V]
5mV per LSB when x [mV] is outputted to the channel in the -/+10V range:
Write a value, y, which is derived from the following equation.
y = x/5 + 2048
2.5mV per LSB when x [mV] is outputted to the channel in the 0 to 10V range:
Write a value, y, which is derived from the following equation.
y = 2x/5
1.25mV per LSB when x [mV] is outputted to the channel in the 0 to 5V range:
Write a value, y, which is derived from the following equation.
y = 4x/5
<Advme2702><Advme2702>
<Advme2702><Advme2702>
<Advme2702>
19
9. Simple Sample Program
This chapter describes Advme2702 application programming with an easy-to-follow sample despite the description of
the procedure for register access in programming in Chapter 8. Utilizing the standard I/O functions including printf()
and scanf(), the Advme2702 may cause some built-in systems to emulate these functions.
The sample program source codes are listed below. This sample program is a complete program, and operation check in
the program is ensured by VxWorks. The sample program is configured assuming that all channels are set at “-/+10V.”
9.1 List of sample program codes
#define BOARD_ID_REG 0x01
#define MODE_REG 0x10
#define STATUS_REG 0x10
#define ENABLE_REG 0x12
#define UPDATE_REG 0x14
#define CHANNEL_REG 0x16
#define DATA_REG 0x18
#define BASE_ADDRESS 0xffffc000
void set_mode_2702(unsigned int base /* base address */
,int update_mode /* 0 : analog output channel is updated
when the digital value is written
to the data register immediately
1 : all anlaog output channels are
updated when an arbitrary data is
written to the update register
*/
)
{
*(unsigned short *)(base + MODE_REG) = update_mode;
}
void enable_2702(unsigned int base /* base address */)
{
*(unsigned short *)(base + ENABLE_REG) = 0x01;
}
void disable_2702(unsigned int base /* base address */)
{
*(unsigned short *)(base + ENABLE_REG) = 0x00;
}
<Advme2702><Advme2702>
<Advme2702><Advme2702>
<Advme2702>
20
void AO_single_2702(unsigned int base /* base address */
,int channel /* the analog output channel number */
,int value /* the digital value to be written to
the analog output channel */
)
{
while( ( *(unsigned short *)(base + STATUS_REG) & 0x01 ) != 0x00 );
*(unsigned short *)(base + CHANNEL_REG) = channel;
*(unsigned short *)(base + DATA_REG) = value;
}
void AO_multi_2702(unsigned int base /* base address */
,int value[] /* an array of the digital values that
is written to the analog output
channels */
)
{
unsigned short i;
for(i=0;i<16;i++)
{ while( ( *(unsigned short *)(base + STATUS_REG) & 0x01 ) != 0x00 );
*(unsigned short *)(base + CHANNEL_REG) = i;
*(unsigned short *)(base + DATA_REG) = value[i];
}
while( ( *(unsigned short *)(base + STATUS_REG) & 0x01 ) != 0x00 );
*(unsigned short *)(base + UPDATE_REG) = 0x00;
}
#define VM10P10 0 /* -/+10V */
#define V0P10 1 /* 0-10V */
#define V0P5 2 /* 0-5V */
int UnitToValue(int range /* select the analog output range */
,int unit /* value of voltage at mV */
)
{
int value;
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28

Eurotech Advme2702 Owner's manual

Type
Owner's manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI