Acc-8d Option 9
Acc-8d Option 9
Acc-8d Option 9
^2 Accessory 8D Option 9
^4 3A9-0ACC8D-xUxx
Table of Contents
INTRODUCTION .......................................................................................................................................................1
CONNECTORS ...........................................................................................................................................................3
JP1 to JP4 ..................................................................................................................................................................3
JP6.............................................................................................................................................................................3
JP7.............................................................................................................................................................................3
JENC1 to JENC4.......................................................................................................................................................3
JP8.............................................................................................................................................................................3
ADDRESS MAP ..........................................................................................................................................................5
Default Settings .........................................................................................................................................................5
ABSOLUTE ENCODER SETUP...............................................................................................................................7
PMAC I-VARIABLE SETUP ....................................................................................................................................9
Ix10 - Motor x Power-On Servo Position Address....................................................................................................9
I8x - Motor x Resolver Gear Ratio..........................................................................................................................10
I9x - Motor x Second -Resolver Gear Ratio............................................................................................................10
Ix81 - Motor x Absolute Phasing Position Address ................................................................................................10
TURBO PMAC I-VARIABLE SETUP ...................................................................................................................11
Ixx10 – Motor xx Power-On Position Address .......................................................................................................11
Ixx95 - Motor xx Power-On Servo Position Format ...............................................................................................11
Ixx98 - Motor xx Resolver 3rd Gear Ratio (Yaskawa Only) for Turbo ...................................................................11
Ixx99 - Motor xx Second Resolver Gear Ratio (Yaskawa Encoder only) for Turbo ..............................................12
Example: Turbo PMAC Yaskawa Absolute Encoder Setup ...............................................................................12
Turbo PMAC Power on Phasing .............................................................................................................................12
Ixx81 ...................................................................................................................................................................13
Ixx91 ...................................................................................................................................................................13
Ixx75 ...................................................................................................................................................................13
Ixx80 ...................................................................................................................................................................14
JUMPER SETUP.......................................................................................................................................................15
CONNECTOR PINOUTS.........................................................................................................................................17
Headers....................................................................................................................................................................17
JP1 to JP4 (20-Pin Header) ...............................................................................................................................17
JP6 and JP7 (26-Pin Header) ............................................................................................................................18
JENC1 to JENC4 (10-Pin Header).....................................................................................................................18
SERVOPACK 1CN TERMINAL DESCRIPTION ................................................................................................19
TEST SETUP .............................................................................................................................................................21
YASKAWA ABSOLUTE ENCODER INTERFACE ............................................................................................23
Jumper Settings .......................................................................................................................................................23
Jumper E8 and E9 Setup.....................................................................................................................................23
PMAC I-Variable Setup ..........................................................................................................................................23
Ix10 - Power-On Initial Position Type and Address:..........................................................................................23
I8x and I9x:.........................................................................................................................................................23
Ix81 - Motor x Absolute Phasing Address: .........................................................................................................24
MI11x (Bit 16-23 Only First two Digits) ............................................................................................................24
TROUBLE SHOOTING ...........................................................................................................................................25
Data Acquisition Sequence .....................................................................................................................................25
Checking Up Steps ..................................................................................................................................................25
APPENDIX ................................................................................................................................................................27
Setup Method for 12-bit Absolute Encoder.............................................................................................................27
Table of Contents i
Accessory 8D Option 9
ii Table of Contents
Accessory 8D Option 9
INTRODUCTION
PMAC’s Acc-8D Option 9 (P/N 309-0ACC8D-OPT9) allows a PMAC interface to the Yaskawa absolute
encoder.
This board provides up to four channels of absolute encoder inputs to the PMAC controller with both A/B
quadrature incremental encoder signal feedback as well as absolute position data. To prevent data from
being lost in the case of power loss or power off conditions, a 3V battery is included on the board with a
monitor circuit to provide an indication of any drop in excess of 5%. In addition, there are four jumpers
on the board to allow the customer to reset the absolute position value. See the related paragraphs below
for a detailed description of the absolute encoder setup.
The encoder has internal counters and memory that count and retain the incremental counts. Upon power
up, it sends RS232 data to PMAC representing the absolute position. Operation is then switched to
incremental automatically. Refer to the Yaskawa manual for further explanation.
Note:
If using a PMAC with Flash Memory (40 MHz or 60 MHz), use firmware version
1.16A or newer. Call the factory for details on upgrading the firmware.
Introduction 1
Accessory 8D Option 9
2 Introduction
Accessory 8D Option 9
CONNECTORS
JP1 to JP4
These connectors are 20-pin Honda connectors that come directly from the absolute encoder. For detailed
signal description, refer to the Yaskawa manual.
JP6
This is a 26-pin header that provides the link between PMAC’s JTHW (J3) and the absolute encoder
conversion board through the supplied flat cable. Through this connector, PMAC captures the absolute
position.
JP7
This is a 26-pin header, which brings out the JTHW signals for the next accessory board on the JTHW
multiplex memory map. This connector is pin-to-pin compatible with JP6.
JENC1 to JENC4
These are 10-pin headers that provide the normal differential A quad B encoder signal as well as a C
channel generated by the absolute encoder. The four connectors are for the first to the fourth encoder,
respectively.
JP8
This is a 2-pin terminal block for the power supply input. The power requirement of the system is +5V
DC @ 10W. External power is needed only when JP6 or JP7 and JENC1-JENC4 are not connected.
Connectors 3
Accessory 8D Option 9
4 Connectors
Accessory 8D Option 9
ADDRESS MAP
Acc-8D Option 9 generates both absolute and incremental position data from the absolute encoder.
Normally the absolute position is read (by PMAC) through the Thumbwheel Port (JTHW) only during
power up. The incremental (A QUAD B) data, however, is counted continuously. A 5-bit dip switch, S1,
determines the address of this board. The factory default setup is as follows:
Multiplex Encoder S1 DIP Switch Setting
Address (starting address) 5 4 3 2 1
1 ($08) CLOSE CLOSE CLOSE CLOSE OPEN
2 ($10) CLOSE CLOSE CLOSE OPEN CLOSE
3 ($18) CLOSE CLOSE CLOSE OPEN OPEN
4 ($20) CLOSE CLOSE OPEN CLOSE CLOSE
5 ($28) CLOSE CLOSE OPEN CLOSE OPEN
. . . . . . .
. . . . . . .
. . . . . . .
27 ($D8) OPEN OPEN CLOSE OPEN OPEN
28 ($E0) OPEN OPEN OPEN CLOSE CLOSE
29 ($E8) OPEN OPEN OPEN CLOSE OPEN
30 ($F0) OPEN OPEN OPEN OPEN CLOSE
31 ($F8) OPEN OPEN OPEN OPEN OPEN
Default Settings
Position 5 4 3 2 1
Set ON ON ON ON OFF
There will be 32 different address settings for a possibility of 32 board connections.
Address Map 5
Accessory 8D Option 9
6 Address Map
Accessory 8D Option 9
Hex($) 7 1 0 0 0 8
Bin 0 1 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0
The Ix10 variable will allow the system to enable the absolute encoder and get the absolute position data
upon power-on condition. (See the PMAC User Manual Addendum 1.15 from June 1994.) To define the
Ix10 variable correctly, place a $7100 value in front of the beginning address +2 hex for each encoder.
Encoder # I-Variable I-Variable Value
1 I110 $710008
2 I210 $71000A
3 I310 $71000C
4 I410 $71000E
An easy way to understand the addressing scheme is to look at the dip switch setting table and place a 1
where the open is located and a 0 for the close position. Now, place three zeros after the switch setting,
and convert this binary representation to a hex value.
Example:
Address 5 4 3 2 1
($08) 0 0 0 0 1 000
($10) 0 0 0 1 0 000
($18) 0 0 0 1 1 000
The starting address for board 2 (encoders 5, 6, 7 and 8) would be $10. Therefore, our definitions for the
Ix10 variables would be:
Encoder # I-Variable I-Variable Value
5 I510 $710010
6 I610 $710012
7 I710 $710014
8 I810 $710016
Note:
The I8x and I9x are defined for something else in the PMAC manual for a general-
purpose application. It is necessary to use the above definition for this application.
Ixx98 - Motor xx Resolver 3rd Gear Ratio (Yaskawa Only) for Turbo
Ixx98 tells the PMAC how many counts per revolution the Yaskawa Encoder has. The units for this
parameter are in counts per revolution divided by 4096. The counts per revolution are based on the
decode value of I7mn0. Almost all users will use 4× decode.
If the Yaskawa absolute encoder used has 32768 counts per revolution, then set Ixx10 to the following
value:
32768
Ixx98 = =8
4096
The no-movement power-on phase reference works as follows. Initially, when setting up the system (this
may be done in a lab setting) the motor is forced to the zero position in its phase cycle. The position of
the absolute sensor is read by querying an M-variable previously set up to point to the sensor. After
performing some math on this value, the resulting value is stored in PMAC as Ix75 and represents the
power-on phase position offset. Ix81 is set to tell PMAC the address location where it can find the
absolute sensor's feedback, and how to decode this information. On power-up (or when a reset motor, $,
command is issued), PMAC will look to this address, grab the current position of the rotor, add to it the
pre-determined offset parameter and instantly it knows where the motor is in its phasing cycle relevant to
the current position. No movement is necessary.
Ixx81
Ixx81 tells Turbo PMAC what address to read for absolute power-on phase-position information for
Motor xx, if such information is present. This can be a different address from that of the ongoing phase
position information, which is specified by Ixx83, but it must have the same resolution and direction
sense. Ixx81 is set to zero if no special power-on phase position reading is desired, as is the case for an
incremental encoder. The Acc-8D Option 9 Yaskawa Absolute Encoder converter board synthesizes
quadrature signals into the Turbo PMAC at power-on until the power-on position within one revolution is
reached, so the value of the encoder counter can simply be read.
Turbo PMAC(1) Ixx81 Encoder Register Settings
(Ixx91=$480000 - $580000)
Encoder Register PMAC First Second Third Fourth
Channel # Acc-24P/V Acc-24P/V Acc-24P/V Acc-24P/V
Channel 1 $078001 $078201 $079201 $07A201 $07B201
Channel 3 $078009 $078209 $079209 $07A209 $07B209
Channel 5 $078101 $078301 $079301 $07A301 $07B301
Channel 7 $078109 $078309 $079309 $07A309 $07B309
Turbo PMAC2 Ixx81 Typical Encoder Register Settings
(Ix91=$480000 - $580000)
Encoder Register PMAC2 First Second Third Fourth
Channel # Acc-24x2 Acc-24x2 Acc-24x2 Acc-24x2
Channel 1 $078001 $078201 $079201 $07A201 $07B201
Channel 2 $078009 $078209 $079209 $07A209 $07B209
Channel 3 $078011 $078211 $079211 $07A211 $07B211
Channel 4 $078019 $078219 $079219 $07A219 $07B219
Channel 5 $078101 $078301 $079301 $07A301 $07B301
Channel 6 $078109 $078309 $079309 $07A309 $07B309
Channel 7 $078111 $078311 $079311 $07A311 $07B311
Channel 8 $078119 $078319 $079319 $07A319 $07B319
Ixx91
Ixx91 tells how the data at the address specified by Ixx81 is to be interpreted. It also determines whether
the location specified by Ixx81 is a multiplexer (thumbwheel) port address, an address in Turbo PMAC’s
own memory and I/O space or a MACRO node number. For the Acc-8D option, Ixx91 will be set to a
value of $580000.
Ixx75
Ixx75 tells Turbo PMAC the distance between the zero position of an absolute sensor used for power-on
phase position (specified by Ixx81 and Ixx91) and the zero position of Turbo PMAC's commutation
cycle. It is used to reference the phasing algorithm for a PMAC-commutated motor with an absolute
sensor (Ixx81 > 0). See the Software Reference manual for the proper setting.
Ixx80
Ixx80 controls the power-up mode, including the phasing search method (if used), for Motor xx. If Ixx80
bit 0 is 1 (Ixx80 = 1 or 3), this is done automatically during the power-up/ reset cycle and it also be done
in response to a $ on-line command to the motor, or a $$ on-line command to the coordinate system
containing the motor. If Ixx80 is set to 0, phasing will be done also in response to a $ on-line command
to the motor, or a $$ on-line command to the coordinate system containing the motor.
JUMPER SETUP
Jumper Position Description Default Setting
E1 Encoder 1 absolute data reset
2-3
Default
E2 Encoder 2 absolute data reset
2-3
Default
E3 Encoder 3 absolute data reset
2-3
Default
E4 Encoder 4 absolute data reset
2-3
Default
E5 Additional driver for LED out
E6 CPU reset
2-3
Default
E7 Bootstrap mode
2-3
Single chip
Default
Jumper Setup 15
Accessory 8D Option 9
16 Jumper Setup
Accessory 8D Option 9
CONNECTOR PINOUTS
Headers
JP1 to JP4 (20-Pin Header)
Top View
Pin # Symbol Function Description Notes
1 GND Common Encoder Common
2 GND Common Encoder Common
3 GND Common Encoder Common
4 SEN Power +5V
5 SEN Power +5V
6 SEN Power +5V
7 NC
8 NC
9 NC
10 RESET Input Encoder Reset
11 NC
12 BAT + Input +3V
13 BAT - Input Encoder Common
14 PHASE C Output Channel C+
15 *PHASE C Output Channel C- 1
16 PHASE A Output Channel A+
17 *PHASE A Output Channel A-
18 PHASE B Output Channel B+
19 *PHASE B Output Channel B-
20 F-GND Common Encoder from Ground
1. Channel C/ is terminated at the connector.
The part number and manufacture information for connector JP1-JP4 is as follow:
Manufacture: HONDA
Part number: MR-20RMD2(male)
Mate-in connector part number: MR-20F
(Vendor: CONNEX - Fremont, CA Telephone: 1-800-972-5932)
Connector Pinouts 17
Accessory 8D Option 9
18 Connector Pinouts
Accessory 8D Option 9
Connector Pinouts 19
Accessory 8D Option 9
20 Connector Pinouts
Accessory 8D Option 9
TEST SETUP
The diagram below shows how to connect the Acc-8D Option 9 accessory board to PMAC.
For this example, we will be using a Yaskawa UTMAH-B15AS absolute encoder mounted on the back of
a USAGED-2AS2K AC Servo Motor. The encoder has 8192 counts/rev. As shown in the diagram, the
encoder will be connected to PMAC’s encoder channel 1.
Once everything is properly connected, power up the system. Next, go into the Executive program and
open the position window. If the motor is spun by hand, the position of motor 1 should be moving.
Test Setup 21
Accessory 8D Option 9
22 Test Setup
Accessory 8D Option 9
TROUBLE SHOOTING
Data Acquisition Sequence
The Acc-8D Option 9 Yaskawa interface card is a slave card for PMAC. It acquires the absolute data
only when PMAC requests it. The absolute position data is obtained by sending out a SEN signal (+5V)
to the encoder. The power will remain on if the data is successfully acquired. It will turn off (0V) if the
data is not received within approximately 1.5 seconds.
Checking Up Steps
If there is no position data showing on the PMAC window, the following steps can be followed to check
the card:
Step 1: Is the jumper setting right?
Which includes:
• Dip switch S1.
• E-point jumpers E1-E9
Step 2: Is there power applied to the card?
Refer to page 2 of this manual for JP8. Check with meter on TP11 and TP12 to verify (should be 5V).
Step 3: Compare all the necessary PMAC I-variables with this manual:
PMAC is shipped with all the I-variables in default values. The Acc-8D Option 9 user has to change the
related I-variable according to this manual. A SAVE command must be executed in order to keep those
values from being lost when the $$$ command or a power recycle occurs.
Step 4: Does the encoder need to be reset?
Reference the Yaskawa motor and encoder manual for detailed information on how to reset the absolute
position data. If some encoders are disconnected from the battery (on this card) for a certain period of
time, either the absolute position data will be lost, (back to 0) or a reset procedure will need to be done
before the encoder starts working correctly.
Troubleshooting 25
Accessory 8D Option 9
26 Troubleshooting
Accessory 8D Option 9
APPENDIX
Setup Method for 12-bit Absolute Encoder
To clear the cumulative rotation number to zero for testing the motor, or when the absolute encoder has
been left disconnected from a battery for more than two days, the encoder needs to be setup by the
following procedure. (Under the above conditions, capacitors in the encoder may be charged
insufficiently so that the internal circuits may malfunction.)
Appendix 27
Accessory 8D Option 9
28 Appendix
Accessory 8D Option 9
Appendix 29