Accessory 51C
Table of Contents i
Table of Contents
INTRODUCTION ....................................................................................................................................................... 1
Features .......................................................................................................................................................................... 1
Board Configuration ...................................................................................................................................................... 1
Base Configuration ................................................................................................................................................... 1
Options ...................................................................................................................................................................... 1
Indicators .................................................................................................................................................................. 2
LAYOUT OF ACC-51C, C-UBUS INTERPOLATOR ............................................................................................ 3
Dipswitch Configuration ................................................................................................................................................ 4
Acc-51C Mappings with CPCI Turbo CPU .............................................................................................................. 4
Jumper Configurations ................................................................................................................................................... 5
E1 - IREQ1 and IREQ2 Interconnect ........................................................................................................................ 5
E2, E3, E5, E6, E7, E9 - Encoder Input Termination Select Channel 1 and 2 ......................................................... 5
E4, E8 - ALTCOS Termination Select Channel 1 and 2 ............................................................................................ 5
E10, E11, E13, E14, E15, E17 - Encoder Input Select (Option 1- additional two channels) ................................... 6
E12, E16 - ALTCOS Termination Select Channel 3 and 4 (Option 1- additional two channels) ............................. 6
ENCODER CONNECTIONS ..................................................................................................................................... 7
Sinusoidal Encoder Wiring ............................................................................................................................................ 7
Differential Format ................................................................................................................................................... 7
Single-Ended Format ................................................................................................................................................ 7
Type of Cable for Encoder Wiring ............................................................................................................................ 9
PRINCIPLE OF OPERATION ................................................................................................................................ 11
CPCI TURBO CPU AND THE C-UBUS INTERPOLATOR ............................................................................... 13
I-Variables for CPCI Turbo CPU Processor ................................................................................................................ 13
Encoder Decode Control I-Variables (I7mn0) ........................................................................................................ 13
Motor xx Counts per N Commutation Cycles (Ixx71).............................................................................................. 13
Motor xx Number of Commutation Cycles (N) (Ixx70) ............................................................................................ 13
Commutation Position I- Variables ( Ixx83 ) .......................................................................................................... 13
Encoder Conversion Table .......................................................................................................................................... 14
Encoder Channel Address ....................................................................................................................................... 14
A/D Converter Address ........................................................................................................................................... 15
A/D Bias Term ......................................................................................................................................................... 15
Conversion Result ................................................................................................................................................... 15
Using the PMAC Executive ..................................................................................................................................... 16
Example: CPCI Turbo CPU with Acc-51C for Two Encoders ................................................................................ 16
Motor xx Homing, Software Position Capture and Trigger Mode .......................................................................... 17
Motor xx Homing, Hardware Position Capture and Trigger Mode ........................................................................ 17
Encoder Servo Feedback I-Variables ...................................................................................................................... 17
HIPERFACE INTERFACE OPTION (OPT2) ....................................................................................................... 19
SINCOS Encoders ....................................................................................................................................................... 19
SINCODER Encoders ................................................................................................................................................. 19
Using HIPERFACE ..................................................................................................................................................... 19
Using M-Variables for Hiperface ................................................................................................................................ 20
FLAG M-Variables .................................................................................................................................................. 20
LSB Register M-Variables ....................................................................................................................................... 20
MSB Register M-Variables ...................................................................................................................................... 20
Hiperface Register Operation ................................................................................................................................. 21
Example Hiperface Program (for Turbo Processor) ............................................................................................... 21
Hiperface Commands .................................................................................................................................................. 22
030h Encoder Temperature ..................................................................................................................................... 22