1642 Compactlogix Micrologix Resolver Interface Plc Pac Module User Manual
1642 Compactlogix Micrologix Resolver Interface Plc Pac Module User Manual
Module Overview
Utilizing licensed Allen-Bradley interface technology, these one slot Resolver Interface Modules plug directly
into an AB MicroLogix 1500 or CompactLogix PLC systems. Communicating through I/O registers assigned
to the slot, the 1642 module can be programmed to operate either with two single resolver transducers, or with
a single dual resolver transducer. When configured to use two single resolver transducers, the 1642 module
also has the ability to monitor the stopping time of channel 1.
Table of Contents
General Information 2
Output Registers 20
Control Word 22
Setup Word 22
General Information
WARNINGS tell you when people may be hurt or equipment may be damaged if the procedure is not
followed properly.
CAUTIONS tell you when equipment may be damaged if the procedure is not followed properly. No patent
liability is assumed by AMCI, with respect to use of information, circuits, equipment, or software described in
this manual. The information contained within this manual is subject to change without notice. UNDER NO
CIRCUMSTANCES WILL ADVANCED MICRO CONTROLS, INC. BE RESPONSIBLE OR LIABLE
FOR ANY DAMAGES OR LOSSES, INCLUDING INDIRECT OR CONSEQUENTIAL DAMAGES OR
LOSSES, ARISING FROM THE USE OF ANY INFORMATION CONTAINED WITHIN THIS MANUAL,
OR THE USE OF ANY PRODUCTS OR SERVICES REFERENCED HEREIN.
Standard Warranty
ADVANCED MICRO CONTROLS, INC. warrants that all equipment manufactured by it will be free from
defects, under normal use, in materials and workmanship for a period of [18] months. Within this warranty
period, AMCI shall, at its option, repair or replace, free of charge, any equipment covered by this warranty
which is returned, shipping charges prepaid, within 18 months from date of invoice, and which upon
examination proves to be defective in material or workmanship and not caused by accident, misuse, neglect,
alteration, improper installation or improper testing. The provisions of the “STANDARD WARRANTY” are
the sole obligations of AMCI and excludes all other warranties expressed or implied. In no event shall AMCI
be liable for incidental or consequential damages or for delay in performance of this warranty.
Returns Policy
All equipment being returned to AMCI for repair or replacement, regardless of warranty status, must have a
Return Merchandise Authorization number issued by AMCI. Call (860) 585-1254 with the model and serial
numbers along with a description of the problem. A “RMA” number will be issued. Equipment must be
shipped to AMCI with transportation charges prepaid. Title and risk of loss or damage remains with the
customer until shipment is received by AMCI.
WARNING Disconnect power before attempting to install or remove the 1642 module.
1. Verify that your system’s power supply has adequate reserve current capacity. The 1642 module
requires a maximum of 360mA at +5Vdc.
2. Align the tongue-and-groove guides on the left side of the module with the existing rack system and
slide the module backwards.
3. When the 1642 module is in position, move the white bus connector lever on the top of the module to
the left.
4. If the 1642 module is the right most module in a system, a 1769-ECR End Cap MUST be installed to
the right of the module for the system to operate correctly.
5. The 1642 module must be no more than the seventh module from the power supply.
Type = 1769-MODULE
Description = Generic 1769 Module
5. Click on OK.
6. Enter the following module properties.
CONNECTION PARAMETERS
The 1642 module will now appear in the project tree and three new data tags will have been created,
Local:X.I.Data[Y], Local:X.O.Data[Y] and Local:X.C.Data[Y] where “X” is the slot number and “Y” is the
word number. The status, current position, encoder position, and captured data value are located in the Input
tags. All commands are sent to the 1642 module through the Output tags. The 1642 module does not use the
Configuration tags.
1. Open RSLogix 5000 and the project in which you want to install the AMCI 1642 module.
2. Right click on I/O Configuration in the Project Tree.
3. Select New Module.
4. Verify that the By Vendor tab is selected at the bottom of the Select Module window and expand
Advanced Micro Controls. The following window will open.
5. Double click on the 1642 module. The following window will appear.
6. Enter a name in the Name field. This parameter must begin with a letter.
7. If desired, describe the function of the 1642 module in the Description field.
8. Click on the next to the Slot field and select the slot where the AMCI 1642 module is to be located.
9. The AMCI 1642 can be used in one of two ways.
As a two channel single resolver transducer module, which will work with AMCI R11X-J10/7, HT-20,
H25-XX, and HT-20-X resolver transducers.
As a one channel dual resolver transducer module, which will work with AMCI HTT-20-X transducers.
The two channel single resolver is the default selection. If you are using the 1642 module with a dual
resolver transducer, click on the Change… button. The following Module Definition window will open.
10. Click on the next to the Selected Module field and select the 1642 module that you are using.
11. Click on OK to accept the changes.
12. Click on OK to add the 1642 module to your I/O configuration.
13. Using the above setup changes how the data from the 1642 module will be read into the Controller tags.
Instead of the generic Local:X:I.Data and Local:X:O.Data tags, the module will now use tags that are
specific for the 1642 module. This input / output word layout is shown in chapter 4, backplane
programming.
It will still be necessary to send setup data to the module that changes
the functionality from Single Resolver to Dual Resolver or vice versa.
Vendor ID: 3
Product Type: 9
Product Code: 25
Series/Major Rev/Minor Rev: A
Input Words: 8
Output Words: 8
Input Bits: 0
Output Bits: 0
Extra Data Length: 0
Ignore Configuration Error: Your Choice, but not recommended
6. The 1642 module will now appear in the I/O Configuration with a Part Number of Other and a
Description of I/O Module – ID Code = 25.
7. Input Data (data from the 1642 module to the PLC) will appear in Input Image Table registers
I:X.0 to I:X.7, where X is the slot number.
Output Data (data from the PLC to the 1642 module) will be written to registers O:X.0 to O:X.7,
where X is the slot number.
Throughput Time:
Compatible Transducers
This unit is compatible with any two AMCI single resolver based transducer, including the HT-20 series, the
H25-XX series, and the HT-20-X series, or one of the HTT-20-X dual resolver multiturn series where X can
be 100, 180, 1000 or 1800 turns. The use of other transducers may also be supported with the use of AMCI
RM reference modules. Please visit our website, www.amci.com for more information on these resolver
transducers. Click on www.amci.com/resolvers.asp for a direct link to page containing the resolver
information.
Programmable Parameters
Apply Preset Resolver Type
Full Scale Count Disable Channel 2
Preset Value Reference Voltage Frequency
Count Direction Transducer Type (dual resolver transducers only)
Tachometer Response Number of Turns (dual resolver transducers only)
Transducer Fault Latch
Data Transfer
Data updated automatically during program scan. Programming the module is accomplished with a
Programming Cycle, which uses two handshaking bits (Transmit and Acknowledge).
Program Storage
EEPROM. Endurance of 100,000 write cycles.
Environmental Conditions
Operating Temperature: 0 to 60° C
Relative Humidity: 5 to 95% (non-condensing)
Storage Temperature: -40 to 85° C
LED Function:
Module LED
Solid Green: Module Owned, two-way communication
Module
Red Status 1 & 2 LEDs (for Resolver 1 and 2)
LED Pattern Meaning
Status 1 ON (both Status LEDs) Module Fault (No reference voltage or
Input
EEPROM error)
Status 2 Blinks. If fault on both channels, Status 1 Non-Clearable transducer fault
& 2 will alternately blink
Six blinks, pause, six blinks Clearable transducer fault
RESOLVER Off No faults
Off Status 2 only, channel 2 disabled, or
configured for dual resolver transducer.
Status 1: One short blink, pause, two long blinks, repeat indicates that the 1642’s
microprocessor is not communicating with the communication ASIC.
Status 1 and 2 blinking together slowly: Reference voltage outside of its valid range
Connector Pin Out:
The resolver signals are brought into the 1642 module through an 18 pin connector that is included with the
module. The following diagrams and tables show the connector’s pinout, and three possible wiring
combinations.
Brake Input
The two Brake Input terminals accept a 24VDC signal across pins18 and 17. The input is bipolar, that is,
positive voltage can be applied to either pin. The brake monitor function is performed when power is
removed, ON to OFF, from the input.
The following tables show how to wire two single resolver transducers, one AMCI Dual Resolver Multiturn
transducer, or one Autotech Dual Resolver RL210 128 turn transducer. The tables also show the AMCI
recommended wire colors.
Wiring for One Autotech Dual Resolver RL210 128 turn Transducer
It is possible to wire the 1642 module to simulate a resolver. Wiring the connector as shown in the following
table will cause each of the 1642 module’s channels to report a position value of 90 degrees to the input
registers.
Pin 14 to Pin 6
Channel 1
Pin 12 to Pins 4, 8, and 10
Pin 13 to Pin 5
Channel 2
Pin 11 to Pins 3, 7, and 9
Pre made cables are available from AMCI. These cables come with a Bendix connector that mates with the
resolver transducer. The other end is pigtailed at the factory for easy connection to the 18 pin connector that
is included with the 1642 module. These cables have a part number of CTL-X for single resolver transducers
and CML-X for the dual resolver transducers. In both cases, X equals the length in feet.
The CTL-X cable shown below is used to connect an AMCI single resolver transducer to the 1642 module.
Two of these cables will be needed to connect two AMCI resolvers to the 1642 module.
The CML-X cable shown below is used to connect an AMCI Dual Resolver transducer to the 1642 module.
Wiring Notes:
• AMCI recommends the use of either the Beldin 9873 or 9730 or equivalent cables to connect the
single resolver transducers to the 1642 module. The Belden 9873 can be used on cable runs of up to
100ft, and the Belden 9730 can be used on cable runs of up to 500ft. Please note that the reference
voltage frequency should be set to a value of 2.5kHz for cable runs of greater than 100ft.
• When installed in the 1642 module, pin 1 of the 18 pin connector is located in the upper left hand
corner.
• Resolver signals are low voltage, low power signals. If you are using A-B guidelines for cabling
installation, treat the cable as a Category 2 cable. It can be installed in conduit along with other low
power cabling such as communication cables and low power ac/dc I/O lines. It cannot be installed in
conduit with ac power lines or high power ac/dc I/O lines.
• To reduce or eliminate the influence of electrical noise on the system, the resolver cable shields must
be connected to any of the earth ground pins, pins 1, 2, 15, or 16. Also, the shields must be connected
to only one end of the cable run and treated as conductors at any junctions. Do not ground the shields
at the junction box.
• If electrical noise is causing your resolver counts to jump, try running a heavy wire from one of the
Earth Ground Pins (pins 1, 2, 15,or 16) to your earth ground bus. This will provide a better low
impedance path to ground.
• If the resolver cable must cross power feed lines, it should do so at right angles.
• Route the cable at least five feet from high voltage enclosures, or sources of “rf” radiation.
Apply Preset
There are TWO Apply Preset bits, one for each channel. Setting one of these bits while programming the
1642 module will cause the channel’s current position data to be changed to the programmed Preset Value.
The result of the Apply Preset operation is saved through power down.
Note: Programming a channel’s setup data will undo the result of an Apply Preset operation.
Count Direction
This parameter sets the direction of transducer shaft rotation that increases the position count. If the
transducer is wired as specified in this manual and the count direction is set to positive, the count will
increase with clockwise rotation, (looking at the shaft). If the count direction is set to negative, the position
count will increase with counter-clockwise rotation.
Note: It is also possible to reverse the count direction by reversing S2 S4 wire pairs in the transducer cable. If
you are designing the 1642 into an older system, it is possible that your drawings already have the pairs
reversed and you may not need to set this parameter. Once the machine is setup, you can easily change
this parameter if the position is increasing in the wrong direction.
Tachometer Response
This parameter sets the time between tachometer updates. It only affects the update time of the velocity. It
does not affect the update time of the position value, which is always 200 microseconds or 400 microseconds.
Disable Channel
This bit level parameter allows you to disable channel 2. This parameter is useful if you are only using one
single resolver transducer and do not want the 1642 to display a resolver errors on the second channel.
The 1642 module’s default setting has channel 2 disabled. Channel 2 is enabled when its setup
parameters are programmed.
Resolver Type
The Resolver Type parameter allows you to use the 1642 with Autotech transducers. Unlike the other 1642
parameters, the Resolver Type parameter will affect both channels of a 1642 module.
For Multiturn resolver transducers, the value for the Full Scale Count must be determined for the programmed
number of turns, not the number of turns actually travelled. For example, if you are using an HTT-20-100 but
only traveling 85 turns, you must program the Full Scale Count parameter as if you are travelling the full 100
turns.
Preset Value
The Preset Value parameter allows you to set the value of the position data to any count value within its Full
Scale Count range. The range of the Preset Value is 0 to (Full Scale Count - 1). Programming the Preset
Value does not change the position data, it only sets the value that the position will change to when an Apply
Preset Command is initiated.
Transducer Type
(Multi turn Transducer Parameter Only)
The Transducer Type parameter exists for dual resolver multi-turn transducers only. This parameter does not
exist for a channel that is programmed to be used with a single-resolver transducer. The Transducer Type
parameter defines the type of multi-turn transducer attached to the module. The 1642 needs this information
in order to decode the multi-turn position correctly. This parameter also defines the values that can be
programmed into the Number of Turns parameter.
If the Resolver Type parameter is set to AMCI, the Transducer Type parameter can be set to 100,
180,1,000, or 1,800.
If the Resolver Type parameter is set to Autotech, the Transducer Type parameter must be set to 128.
Number of Turns
(Multi turn Transducer Parameter Only)
The maximum number of turns that a dual resolver multi-turn transducer can encode is fixed by the gearing
inside of it. However, the 1642 has the ability to divide this maximum number of turns into smaller multi-turn
cycles. The unit does this without loss of absolute position within the smaller cycle. For example, the 180 turn
mechanical cycle of an HTT-20-180 can be broken down into three electronic cycles of sixty turns each. The
180 turn cycle could also be broken down into sixty cycles of three turns each.
The range of values for the Number of Turns parameter is dependent on the value of the Transducer Type
parameter.
When Transducer Type = 100: Number of Turns is programmable to 1, 2, 4, 5, 10, 20, 25, 50, or
100.
When Transducer Type = 180: Number of Turns is programmable to 1, 2, 3, 4, 5, 6, 9, 10, 12, 15,
18,20, 30, 36, 45, 60, 90, or 180.
When Transducer Type = 1,000: Number of Turns is programmable to 10, 20, 40, 50, 100, 200,
250,500, or 1,000.
When Transducer Type = 1,800: Number of Turns is programmable to 10, 20, 30, 40, 50, 60, 90,
100,120, 150, 180, 200, 300, 360, 450, 600, 900, or 1,800.
When Transducer Type = 128: Number of Turns is programmable to 1, 2, 4, 8, 16, 32, 64, or 128.
Programming Cycle
A Programming cycle consists of six steps and is controlled by the Transmit Bit in the output data words and
the Acknowledge Bit in the input data words.
a. Write the new programming data into the output data words with the Transmit Bit reset. This
step insures that the correct data is in the output data words before the Programming Cycle
begins.
b. Set the Transmit bit. A Programming Cycle is initiated when this bit makes a 0 to 1 transition.
c. Once the unit is done with the programming data, it will set any necessary error bits and the
Acknowledge Bit in its input data words.
d. Once you see the Acknowledge Bit set, check for any errors. The error bits are only valid
while the Acknowledge Bit is set.
e. Respond to any errors and reset the Transmit Bit.
f. The 1642 module responds by resetting the Acknowledge Bit. The Programming Cycle is
complete.
Sample Programs
Sample programs for both the CompactLogix and MicroLogix 1500 systems demonstrating the Programming
Cycle described above can be downloaded from the following page of our website.
http://www.amci.com/sampleprograms.asp
Every time you have the Apply Preset bit set during a programming cycle, the 1642 module calculates an
offset and stores this value in the EEPROM. If your application requires you to continuously Apply the Preset
Value, consider doing this in the PLC instead of the 1642 module.
A FAQ showing how to calculate and apply a preset value is located on the following page of our website.
http://www.amci.com/faqs.asp
Input Registers: (Eight 16 bits words sent from the 1642 module to the PLC)
The 1642 has two possible configurations. It can be configured to interface to two Single Resolver
Transducers, which includes the HT-20, H25-XX, and the HT-20-X series, or one Dual Resolver Multiturn
transducer, which includes the HTT-20-X series.
The following two tables show the input data format for the two possible configurations.
.
The tables on the previous page show how the data from the 1642 module will be reported to the PLC’s
registers when the module was added to the I/O using the Generic Module Profile. The following images
show how the input data will be displayed if the 1642 module was added to the I/O from a list of available
modules in RSLogix 5000 V20 or higher.
Ch 1 Transducer Fault
Ch 2 Transducer Fault
Ch 2 Velocity at zero
Ch 1 Velocity at zero
Command Error
Message Ignored
Velocity At Zero:
This bit will be se if there is no change in the resolver position for the programmed velocity update time,
either 120ms or 32ms.
Transducer Fault:
This bit will be set if a transducer Fault has been detected. Possible causes are a miss wired cable, an
incompatible resolver transducer, a faulty transducer, or a faulty 1642 module. A document showing
How Do I Test an AMCI Resolver System to determine which of the previous is the cause of the
Transducer Fault is available from the FAQ section of our website.
http://www.amci.com/faqs.asp
Acknowledge Bit:
This bit is set whenever the Transmit Bit in the Output Registers is set and indicates that the 1642 module
has received the new programming data. The 1642 module will reset this bit when it detects that the
Transmit Bit has been reset.
Output Registers: (Eight 16 bit words sent from the PLC to the 1642 module)
The 1642 has two possible configurations. It can be configured to use two Single Resolver Transducers-
which includes the HT-20, H25-XX, and the HT-20-X series- or one Dual Resolver Multiturn transducer,
which includes the HTT-20-X series.
The following two tables show the Output Data format for the two possible configurations.
The tables on the previous page show how the data will be sent from the PLC to the 1642 module when the
module was added to the I/O using the Generic Module Profile. The following images show how the output
data will be displayed if the 1642 module was added to the I/O from a list of available modules in RSLogix
5000 V20 or higher.
Clear Errors
setup
Program Dual Resolver
Ch 2 setup *
Program Single Resolver
Ch 1 setup
Program Single Resolver
* If channel 2 is disabled, as it is by default, then setting the Program Single Resolver Ch2 Setup bit, and
having valid data in output words 1 to 7, will enable the channel.
(0 = 5kHz, 1 = 2.5kHz)
Reference Voltage Frequency
(0=enabled, 1=disabled) **
Disable Channel 2
(0 = AMCI, 1 = Autotech)
Resolver Type
(0 = self clearing, 1 = latched)
Transducer Fault Latch
(0 = 120ms, 1 = 32ms)
Velocity Update
(0 = CW, 1 = CCW)
Count Direction
0 0 0 0 0 0 0 0 0 0
** The Disable Channel 2 bit only exists in the channel 2 single resolver setup word. This bit is reserved
in both the channel 1 single resolver setup word and the dual resolver setup word.
Programming Notes
1. All of the setup parameters must be present each time a programming block has been sent to the unit.
2. Programming the setup parameters will clear the internal offset generated by an Apply Preset
operation.
3. For Dual Resolver Transducer setup, the Full Scale Count and Preset values are divided into two
words. The upper word contains the thousands places and the lower word contains the 100s, 10s, and
1s places of the values. For example, if the Full Scale Count value is 123456, than the upper word
would contain 123, and the lower word would contain 456.
4. If the 1642 module has been programmed to work with two Single Resolver transducers, programming
the Dual Resolver Transducers setup will immediately cause the module to begin reporting the Dual
Resolver Transducer data.
If the 1642 module has been programmed to work with a Dual Resolver Transducer, programming
either of the Single Resolver Setups will immediately cause the module to begin reporting Single
Resolver Transducer data.
5. Programming the Resolver Type or the Reference Voltage parameter on either of the channels will
affect both channels. If you have to use one AMCI and one Autotech resolver, set the module for
AMCI and use a RM-3 reference module between the 1642 module and the Autotech resolver.
Revision 0.1 was created on 7/23/03. The following changes were made.
Revision 0.2 of the specifications was created on 11/11/03. The following changes were made
Revision 1.0 was released on 4/28/06. The following changes were made.
• The wiring information was expanded to include the CTL-X and CML-X drawings and notes were
added that the Beldin 9730 cable must be used on runs greater than 100ft.
• More detailed explanations of the programmable parameters were added.
Revision 1.1 was released on 10/23/06. The following changes were made.
• The location of the channel 1 and channel 2 transducer fault bits was corrected. These bits had been
incorrectly reversed in the previous versions of these specifications.
• A note was added in the installation information saying that the 1642 module must not be more than
seven modules away from the PLC.
• Information on how programming the reference voltage frequency affects both channels was added to
the specifications.
Revision 1.2 was released on 4/13/11. The following changes were made.
Revision 1.3 was released on 3/8/2013. Added information for adding the 1642 module to the I/O using the profile
available in RSLogix 5000 V20 or higher. Also added a note that the Full Scale Count must be programmed for
the programmed number of turns, not the number of turns being traveled.
File: 1642-compact_micrologix-resoler-interface.doc
Date: 3/8/2013