Acromag IP482 Series User Manual

Acromag IP482 Series User Manual

Industrial i/o pack counter timer module
Table of Contents

Advertisement

Quick Links

Series IP482 Industrial I/O Pack
Counter Timer Module
USER'S MANUAL
ACROMAG INCORPORATED
Tel: (248) 295-0310
30765 South Wixom Road
Fax: (248) 624-9234
P.O. BOX 437
Wixom, MI 48393-7037 U.S.A.
Copyright 2004, Acromag, Inc., Printed in the USA.
8500-727-D11M004
Data and specifications are subject to change without notice.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IP482 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Acromag IP482 Series

  • Page 1 Counter Timer Module USER’S MANUAL ACROMAG INCORPORATED Tel: (248) 295-0310 30765 South Wixom Road Fax: (248) 624-9234 P.O. BOX 437 Wixom, MI 48393-7037 U.S.A. Copyright 2004, Acromag, Inc., Printed in the USA. 8500-727-D11M004 Data and specifications are subject to change without notice.
  • Page 2: Table Of Contents

    This is very important where property loss or human life is involved. It is important that you perform satisfactory overall system design and it is agreed between you and Acromag, that this is your responsibility. 1.0 General Information KEY IP482 COUNTER/TIMER FEATURES..…...
  • Page 3 4501-975 IP482 BLOCK DIAGRAM..….…..4501-434 IP MECHANICAL ASSEMBLY..……. 4501-462 CABLE 5025-550 (NON-SHIELDED)..….. 4501-463 CABLE 5025-551 (SHIELDED)....4501-464 TERMINATION PANEL 5025-552..... 4501-465 TRANSITION MODULE TRANS-GP..Trademarks are the property of their respective owners. ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 4: General Information

    Frequency Measurement – Each counter can be configured to count how many active edges are received during a period defined by an external count enable signal. An interrupt can be generated upon measurement complete. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 5: Industrial I/O Pack Interface Features

    (including Acromag’s AVME9630/60/70/75 VMEbus, APC8620/21 PRODUCTS PCI bus, and ACPC8625/30/35 Compact PCI bus non-intelligent carrier boards). A wide range of other Acromag IP modules are also available to serve your signal conditioning and interface needs. The cables and termination panels, described in the following paragraphs, represent some of the accessories available from Acromag.
  • Page 6: Ip Module Activex Control Software

    These functions are intended for use in conjunction with an Acromag personal computer carrier and consist of an ActiveX Carrier Control, and an ActiveX control for each Acromag IP module, as well as, a generic control for non-Acromag IP modules.
  • Page 7: Ip Module Vxworks Software

    Acromag IP modules and carriers including the AVME9670, AVME9660/9630, APC8620/21, ACPC8630/35, and ACPC8625. The software is implemented as a library of “C” functions which link with existing user code to make possible simple control of all Acromag IP modules and carriers. 2.0 PREPARATION...
  • Page 8: Connectors

    DOut1 In9_B DOut2 DOut3 In10_B In1_C DOut4 In2_C DOut5 In3_C DOut6 1. Do Not Connect: Pin has direct connection to FPGA. In4_C D.N.C. Reserved for programming In5_C purposes. (TDI#) Pin has active pull-up. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 9: Ip Logic Interface Connector (P1)

    USED by this IP Model. MEMSEL DMAReq1 3. Logic Lines are reserved IntSel for programming purposes. DMAck0 (TMS#, TDO#, and TCLK) Each has an active pull-up. IOSEL RESERVED DMAEnd ERROR INTReq0 INTReq1 STROBE -12V +12V RESERVED ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 10: I/O Noise And Grounding Considerations

    To minimize high levels of EMI the signal ground connection at the field I/O port (pin 50) should be used to provide a path for induced common- mode noise and currents. The ground path provides a low-impedance path to reduce emissions. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 11: Ip Identification Space

    ID space. The (Revision) IP482 is represented by 45 Reserved Hex. Not Used (Driver ID Low Byte) Not Used (Driver ID High Byte) Total Number of ID PROM Bytes 19 to 3F Not Used ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 12: Memory Map

    Counter 1 Read Back Register Counter 2 Read Back Register Counter 3 Read Back Register Counter 4 Read Back Register Counter 5 Read Back Register Counter 6 Read Back Register Counter 7 Read Back Register _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 13 Counter 10 Constant B Register Digital Input Not Used Register Digital Output Not Used Register Interrupt Vector 1. The IP482 will return 0 for Not Used Register all addresses that are "Not Used". ↓ ↓ Not Used ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 14: Board Control Register

    Write a logic “1” to this bit to release a counter timer pending interrupt. A counter timer pending interrupt can also be released by disabling interrupts via bit-15 of the Counter Control registers. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 15: Counter Trigger Register

    1. All bits will return logic “0” Counter 4 Trigger when read. Counter 5 Trigger Counter 6 Trigger Counter 7 Trigger Counter 8 Trigger Counter 9 Trigger Counter 10 Trigger 10-15 Not Used ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 16: Counter Stop Register

    Thus, access to this a system or software reset. register is allowed on a 16-bit basis, only. The addresses corresponding to the Counter Constant A registers are given in Table 3.2. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 17: Counter Constant B Register

    “0” when read. DOut6 Not Used Writing to this register is possible via 16-bit or 8-bit data transfers. A software or hardware reset will set bits 0 to 5 to logic “1”. ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 18: Interrupt Vector Register

    The following sections describe the features of each method of operation and how to best use them. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 19: Quadrature Position Measurement

    Index channel is high during at least a portion of the phase you specify for reload. The phase can be selected via the counter timer control register bits 9, 8, and 7 as seen in Table 3.10. ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 20 Disabled (Default) – No Debounce Applied to any Input. Enabled – Reject A, B, or Index Pulses less than or equal to 2.5s. Not Used (bit reads back as 0) Interrupt Enable Disable Interrupt Service (Default) Enable Interrupt Service _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 21 Encoder output signals can be noisy. It is recommended that the InA, MEASUREMENT InB, and InC input signals be debounced by setting bit-13 of the Counter Control register to logic “1”. Noise transitions less than 2.5s will be removed with debounce enabled. ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 22: Pulse Width Modulation

    Constant A and B values to load at the wrong time. In addition, changing the Control register setting while running can also cause the Constant A and B values to load at the wrong time. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 23 Disabled (Default) – No Debounce Applied to any Input. Enabled – Reject Gate-Off or Trigger Pulses (noise) less than or equal to 2.5s. Not Used (bit reads back as 0) Interrupt Enable Disable Interrupt Service (Default) Enable Interrupt Service ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 24: Watchdog Timer Operation

    The interrupt will remain pending until the watchdog timer is reinitialized and the interrupt is released by setting the required bit of the Counter/Timer Interrupt Status/Clear register. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 25 Disabled (Default) – No Debounce Applied to any Input. Enabled – Reject Reinitialize or Trigger Pulses (noise) less than or equal to 2.5s. Not Used (bit reads back as 0) Interrupt Enable Disable Interrupt Service (Default) Enable Interrupt Service ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 26: Event Counting Operation

    Counters Interrupt Status/Clear register at the base address + offset 02H. A pending interrupt can also be cleared, by setting Control register bit-15 to logic low. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 27 Enabled – Reject Gate-Off, Event Input, Up/Down or Trigger Pulses (noise) less than or equal to 2.5s. Not Used (bit reads back as 0) Interrupt Enable Disable Interrupt Service (Default) Enable Interrupt Service ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 28: Frequency Measurement Operation

    Interrupt Status/Clear register at the base address + offset 02H. A pending interrupt can also be cleared, by setting the Counter Control register bit-15 to logic low. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 29 Input. Enabled – Reject Frequency Input Enable, or Trigger Pulse (noise) less than or equal to 2.5s. Not Used (bit reads back as 0) Interrupt Enable Disable Interrupt Service (Default) Enable Interrupt Service ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 30: Input Pulse Width Measurement

    Interrupt Status/Clear register at the base address + offset 02H. A pending interrupt can also be cleared, by setting the Counter Control register bit-15 to logic low. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 31 Pulses (noise) less than or equal to 2.5s. Using Debounce will add an error of up to 800ns when used for input pulse measurement. Not Used (bit reads back as 0) Interrupt Enable Disable Interrupt Service (Default) Enable Interrupt Service ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 32: Input Period Measurement

    Interrupt Status/Clear register at the base address + offset 02H. A pending interrupt can also be cleared, by setting Counter Control register bit-15 to logic low. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 33 2.5s. Using Debounce will add an error of up to 800ns when used for period measurement. Not Used (bit reads back as 0) Interrupt Enable Disable Interrupt Service (Default) Enable Interrupt Service ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 34: One-Shot Pulse Mode

    Interrupt Status/Clear register at the base address + offset 02H. A pending interrupt can also be cleared, by setting the Counter Control register bit-15 to logic low. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 35 Disabled (Default) – No Debounce Applied to any Input. Enabled – Reject Gate-Off or Trigger Pulses (noise) less than or equal to 2.5s. Not Used (bit reads back as 0) Interrupt Enable Disable Interrupt Service (Default) Enable Interrupt Service ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 36: Quadrature Position Measurement Example

    B are equal to one, the counter loads zero. This value relies on the specific application. While Counter Constant A is not used in this example, it has other applications in Quadrature Position Measurement. Refer to the description of Quadrature mode for further information. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 37: Pulse Width Modulation Example

    Enables the external clock input (InB). Enables the external Trigger Input (InC) to active high. 12,11,10 Sets the clock to an external source. Enables input debounce on InA and InC. Not used. Enables interrupts. ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 38: Watchdog Timer Operation Example

    The output is active high. Assume the external clock has a frequency of 500KHz. The counter reload and trigger signals are periodic. Additionally, debounce and interrupts are enabled. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 39 In Watchdog mode, the counter must be loaded (InA) and then triggered (InC) for each cycle. While this can be done internally or externally, failure to follow this procedure will cause unpredictable results. ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 40: Event Counting Operation Example

    For this example, an interrupt and output pulse will occur every five events. Therefore 5H is written to the Counter 7 Constant A Register. Note that all values are stored and read in Hex. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 41: Frequency Measurement Operation Example

    Enables the Signal input (InB) to active high. Enables the external Trigger Input (InC) to active low. 12,11,10 Sets the counter to Frequency Measurement mode. Enables input debounce on InA, InB, and InC. Not used. Enables interrupts. ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 42: Input Pulse Width Measurement Example

    Table 3.28: Pulse-Width Pin # Connection Description Measurement Pin In9_A(+) Pulse Input Assignments for Counter 9 In9_B(+) Ext. Clock In9_C(+) Ext. Trigger Note: Make sure all inputs Out9(+) Output and outputs are properly grounded. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 43 1.75s. If debounce was enabled, the output pulse will occur 2.5s after the completion of the input pulse. Additionally, the counter must be re-triggered before any further measurements take place. For more information, see the Pulse-Width Measurement description. ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 44: Input Period Measurement Example

    2CH, by the period of the selected clock. Note that the value in the Read Back Register is stored in Hex and requires conversion to decimal for calculations. In this case the value in the Counter _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 45: One-Shot Pulse Mode Example

    40H for the non-active portion of the pulse, and 1H to Counter 9 Constant B Register located at base address plus an offset 54H for the active portion of the pulse. ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 46 Note that the InA and InC inputs run off the internal 8MHz (or 32MHz) clock. Those signals may not be synchronous with the selected clock. For further information, see the One-Shot Pulse Mode description. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 47 On Edge Upon reach of Upon end of Upon end of Upon end of On Index or Transitions Terminal count limit enable pulse pulse period Constant A Count of 0 measurement measurement count limit. ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 48: Theory Of Operation

    DIGITAL I/O and are available via the P1 field I/O connector. Each line has a 4.7K pullup resistor to +5V. See Table 2.1 for the list of these signals and their corresponding pin assignments. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 49: Service And Repair

    Surface-Mounted Technology (SMT) boards are generally difficult to REPAIR repair. It is highly recommended that a non-functioning board be returned to Acromag for repair. The board can be easily damaged unless special SMT repair and service tools are used. Further, Acromag has automated test SERVICE AND REPAIR equipment that thoroughly checks the performance of each board.
  • Page 50: Specifications

    Surge Immunity: Not required for signal I/O per European Norm EN50082-1. Electric Fast Transient Immunity EFT: Complies with EN61000-4-4 Level 2 (0.5KV at field input and output terminals) and European Norm EN50082-1. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 51: Counter/Timers

    Pull-up Resistors: 4.7K pull-up resistor is installed for each Counter Output. 8MHz IP Carrier Operation Selectable Counter Clock Frequencies: 8MHz, 4MHz, 2MHz, 1MHz, 0.5MHz or External up to 2MHz. Minimum I/P Event: 125ns Minimum Pulse Measurement: 125ns Minimum Period Measurement: 300ns ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 52: Digital I/O

    IPAH is used to indicate 32MHz operation (8MHz operation is also supported). Memory Space: Not implemented in design. Interrupts: The INTREQ0 signal is used to request interrupts provided by the Counter/Timers. DMA: Not implemented in design. _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 53: Appendix

    Headers (Both Ends): 50-pin female header with strain relief. Header - Acromag Part 1004-512 (3M Type 3425-6600 or equivalent). Strain Relief - Acromag Part 1004-534 (3M Type 3448-3050 or equivalent). Keying: Headers at both ends have polarizing key to prevent improper installation.
  • Page 54: Termination Panel: Model Trans-Gp

    Field Wiring: 100-pin header (male) connectors (3M 3433-D303 or equivalent) employing long ejector latches and 30 micron gold in the mating area (per MIL-G-45204, Type II, Grade C). Connects to Acromag termination panel 5025-552 from the rear of the card cage via flat 50-pin ribbon cable (cable Model 5025-551-X).
  • Page 55: 4501-975 Ip482 Block Diagram

    IP482 Industrial I/O Pack User’s Manual Counter Timer Module ___________________________________________________________________ ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 56: 4501-434 Ip Mechanical Assembly

    IP482 Industrial I/O Pack User’s Manual Counter Timer Module __________________________________________________________________ _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 57: 4501-462 Cable 5025-550 (Non-Shielded)

    IP482 Industrial I/O Pack User’s Manual Counter Timer Module ___________________________________________________________________ ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 58: 4501-463 Cable 5025-551 (Shielded)

    IP482 Industrial I/O Pack User’s Manual Counter Timer Module __________________________________________________________________ _________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...
  • Page 59: 4501-464 Termination Panel 5025-552

    IP482 Industrial I/O Pack User’s Manual Counter Timer Module ___________________________________________________________________ 4 5 0 1 -4 6 4 A ________________________________________________________________________________________ Acromag, Inc. Tel:248-295-0310 Fax:248-624-9234 Email:solutions@acromag.com http://www.acromag.com...

This manual is also suitable for:

Ip482Ip483Ip484Ip482eIp483eIp484e

Table of Contents