background image

SERIES IP330 INDUSTRIAL I/O PACK                                  16-BIT HIGH DENSITY ANALOG INPUT MODULE 
___________________________________________________________________________________________

 

- 9 - 

 
 

Interrupt Vector Register

 

MSB LSB 

07 06 05  04 03 02 01 00 

 

Interrupts are released on an interrupt acknowledge cycle.  

Read of the interrupt vector during an interrupt acknowledge cycle 
signals the IP330 to remove its interrupt request. 

 

Timer Prescaler Register (Read/Write, 02H) 
 

The Timer Prescaler register can be written with an 8-bit value 

to control the interval time between conversions. 

 

Timer Prescaler Register

 

MSB LSB 

15 14 13  12 11 10 09 08 

 
This 8-bit number divides an 8 MHz clock signal.  The clock 

signal is further divided by the number held in the Conversion 
Timer Register.  The resulting frequency can be used to generate 
periodic triggers for precisely timed intervals between conversions. 

 

The Timer Prescaler has a minimum allowed value 

restriction of 40 hex or 64 decimal.

  A Timer Prescaler value of 

less then 64 (decimal) will result in an empty Mail Box Register 
buffer.  This minimum value corresponds to a conversion interval 
of 8

µ

 seconds which translates to the maximum conversion rate of 

125KHz.  Although the board will operate at the 125KHz 
conversion rate, conversion accuracy will be sacrificed. 

 
The formula used to calculate and determine the desired 

Timer Prescaler value is given in the Conversion Timer section 
which immediately follows this section. 

 
Read or writing to this register is possible via 16-bit or 8-bit 

data transfers.  A 16-bit data transfer will implement simultaneous 
access to the Interrupt Vector and Timer Prescaler registers.  The 
Timer Prescaler register contents are cleared upon reset. 

 
Conversion Timer Register (Read/Write, 04H) 
 

The Conversion Timer Register can be written to control the 

interval time between conversions.  Read or writing to this register 
is possible with either 16-bit or 8-bit data transfers.  This register’s 
contents are cleared upon reset. 

 

Conversion Timer Register

 

MSB LSB 
15   14   13  12   11  10   09 08

 

07  06  05  04  03  02  01  00 

 

This 16-bit number is the second divisor of an 8MHz. clock 

signal and is used together with the Timer Prescaler Register to 
derive the frequency of periodic triggers for precisely timed 
intervals between conversions. 

 
The interval time between conversion triggers is generated by 

cascading two counters.  The first counter, the Timer Prescaler, is 
clocked by an 8MHz. clock signal.  The output of this clock is input 
to the second counter, the Conversion Timer, and the output is 
used to generate periodic trigger pulses.  The time period between 
trigger pulses is described by the following equation: 

Timer Prescaler   Conversion Timer = T in   seconds

8

µ

 

 
Where: 

T

 = time period between trigger pulses in microseconds. 

 

 

Timer Prescaler

 can be any value between 64 and 255  

  decimal. 

Conversion Timer

 can be any value between 1 and      

65,535 decimal. 

 

The maximum period of time which can be programmed to 

occur between conversions is (255 

 65,535) 

÷

 8 = 2.0889 

seconds.  The minimum time interval which can be programmed to 
occur is  
(64 

 1) 

÷

 8 = 8

µ

 seconds.  This minimum of 8

µ

 seconds is defined 

by the minimum conversion time of the hardware but does 
sacrifice conversion accuracy.  To achieve specified conversion 
accuracy a minimum conversion time of 15

µ

 seconds is 

recommended (see the specification chapter for details regarding 
accuracy). 
 

Start Channel Value Register (Read/Write, 07H) 
 

The Start Channel Value register can be written with a 5-bit 

value to select the first channel that is to be converted once 
conversions have been triggered.  All channels between the start 
and end channel values are converted.  A single channel can be 
selected by writing the desired channel value in both the Start and 
End Channel Value registers. 

 
The Start Channel Value register can be read or written with 8-

bit data transfers.  In addition, the Start Channel Value register can 
be simultaneously accessed with the End Channel Value via a 16-
bit data transfer.  The unused bits are zero when read.  The 
register contents are cleared upon reset. 

 

Start Channel Value Register

 

Unused 

Start Channel Value 

07     06     05 

04 

03 

02 

01 

00 

 

After running data conversions are halted, the internal 

hardware pointers are reinitialized to the start channel value.  Thus 
when conversions are started again, the first channel converted is 
defined by the Start Channel Value register. 

 

End Channel Value Register (Read/Write, 06H) 
 

The End Channel Value register can be written with a 5-bit 

value to indicate the last channel in a sequence to be converted.  
When scanning, all channels between and including the start and 
end channels are converted.  A single channel can be selected by 
writing the desired channel value in both the Start and End 
Channel Value registers. 

 
The End Channel Value register can be read or written with 8-

bit data transfers.  In addition, the End Channel Value register can 
be simultaneously accessed  with the Start Channel Value with a 
16-bit data transfer.  The unused data bits are zero when read.  
The register contents are cleared upon reset. 

 
 
 
 
 

Summary of Contents for IP330 Series

Page 1: ...ut Module USER S MANUAL ACROMAG INCORPORATED 30765 South Wixom Road P O BOX 437 Wixom MI 48393 7037 U S A Tel 248 624 1541 Fax 248 624 9234 Copyright 1995 Acromag Inc Printed in the USA Data and speci...

Page 2: ...NCE 19 PRELIMINARY SERVICE PROCEDURE 19 6 0 SPECIFICATIONS 20 GENERAL SPECIFICATIONS 20 ANALOG INPUT 20 INDUSTRIAL I O PACK COMPLIANCE 21 APPENDIX 21 CABLE MODEL 5025 551 21 Recommended APC8600 Shiele...

Page 3: ...le ended channels Precision On Board Calibration Voltages Calibration autozero and autospan precision voltages are available to permit host computer correction of conversion errors Trimmed calibration...

Page 4: ...Library diskette Model IPSW LIB M03 MSDOS format to simplify communication with the board Example software functions are provided for both VMEbus and ISA bus PC AT applications All functions are writ...

Page 5: ...iguration Software configurable control registers are provided for control of external trigger mode data output format acquisition mode timer control interrupt mode convert channel s selection and cha...

Page 6: ...l has been driven low it should remain low for a minimum of 500n seconds As an output an active low TTL signal can be driven to additional IP330s thus providing a means to synchronize the conversions...

Page 7: ...elect Ch 07 27 28 Gain Select Ch 08 Gain Select Ch 09 29 2A Gain Select Ch 10 Gain Select Ch 11 2B 2C Gain Select Ch 12 Gain Select Ch 13 2D 2E Gain Select Ch 14 Gain Select Ch 15 2F 30 Gain Select Ch...

Page 8: ...10 Uniform Single 011 Burst Continuous 100 Burst Single 101 Convert on External Trigger Only 110 Not Used 111 Not Used See the Modes of Operation section for a description of each of these scan modes...

Page 9: ...z clock signal The output of this clock is input to the second counter the Conversion Timer and the output is used to generate periodic trigger pulses The time period between trigger pulses is describ...

Page 10: ...y 0CH Data Bit 15 14 13 12 11 10 09 08 SE or Diff Ch 15 14 13 12 11 10 09 08 Missed Data Register Read Only 0FH Data Bit 07 06 05 04 03 02 01 00 SE Channel 23 22 21 20 19 18 17 16 Diff Channel 07 06 0...

Page 11: ...niform continuous uniform single burst continuous burst single and convert on external trigger only In all modes a single channel or a sequence of channels may be converted The following sections desc...

Page 12: ...Box functions as a dual level data buffer The first half of the Mail Box is used to store all selected channel data for the initial pass through the channels defined by the Start and End Value regist...

Page 13: ...external trigger pulse no interrupt will be issued since data is not written to the Mail Box buffer If interrupt upon completion of a group of channels is selected an interrupt will be issued 8 secon...

Page 14: ...5 2 0 to 5 0 6125 CAL3 2 4500 CAL1 Input Range Volts PGA Gain ADC Range Volts Rec Low Calib Voltage VoltCALLO Volts Rec High Calib Voltage VoltCALHI Volts 0 to 1 25 4 0 to 5 0 6125 CAL3 1 2250 CAL2 0...

Page 15: ...are known It is now possible to correct input channel data from any input channel using the same input range i e 10 to 10 volts with a PGA gain 1 Repeat the above steps periodically to re measure the...

Page 16: ...CountCALHI Calculate Equation 2 Calculate m actual_slope from equation 2 since all parameters are known It is now possible to correct input channel data from any input channel using the same input ra...

Page 17: ...he host uses the vector to form a pointer to an interrupt service routine for the interrupt handler to begin execution 7 Example of Generic Interrupt Handler Actions a Disable the interrupting IP by w...

Page 18: ...from the Mail Box buffer Access to both ID and I O spaces are implemented with one wait state read or write data transfers There is one exception on a rare occasions read and write operations to the M...

Page 19: ...r is clocked by the 8MHz board clock The output of the Timer Prescaler counter is then used to clock the second counter Conversion Timer In this way the two counters are cascaded to provide variable t...

Page 20: ...ware limitations For example if an input may reach zero volts or less a bipolar input range should be selected 4 These ranges can only be achieved with 15 Volt external power supplies The input ranges...

Page 21: ...E Specification This module meets or exceeds all written Industrial I O Pack specifications per revision 0 7 1 Electrical Mechanical Interface Single Size IP Module IP Data Transfer Cycle Types Suppor...

Page 22: ...he field I O signals to the P2 connector on each of the Industrial I O Pack modules Field signals are accessed via screw terminal strips Each Industrial I O Pack IP has its own unique P2 pin assignmen...

Page 23: ...SERIES IP330 INDUSTRIAL I O PACK 16 BIT HIGH DENSITY ANALOG INPUT MODULE ___________________________________________________________________________________________ 23...

Page 24: ...SERIES IP330 INDUSTRIAL I O PACK 16 BIT HIGH DENSITY ANALOG INPUT MODULE ___________________________________________________________________________________________ 24...

Page 25: ...SERIES IP330 INDUSTRIAL I O PACK 16 BIT HIGH DENSITY ANALOG INPUT MODULE ___________________________________________________________________________________________ 25...

Page 26: ...SERIES IP330 INDUSTRIAL I O PACK 16 BIT HIGH DENSITY ANALOG INPUT MODULE ___________________________________________________________________________________________ 26...

Page 27: ...SERIES IP330 INDUSTRIAL I O PACK 16 BIT HIGH DENSITY ANALOG INPUT MODULE ___________________________________________________________________________________________ 27...

Page 28: ...SERIES IP330 INDUSTRIAL I O PACK 16 BIT HIGH DENSITY ANALOG INPUT MODULE ___________________________________________________________________________________________ 28...

Reviews: