Heidenhain IK 220 Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Hardware Heidenhain IK 220 herunter. HEIDENHAIN IK 220 Benutzerhandbuch Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken

Inhaltsverzeichnis

Seite 1 - IK 220IK 220

5/2011Benutzer-HandbuchUser's ManualIK 220IK 220PC-Zählerkarte zum Anschluss von HEIDENHAIN-MessgerätenPC Counter Card for HEIDENHAIN encoders

Seite 2

Hardware 10 Hardware Spezifikation des PCI-Bus Die IK 220 kann in alle PCs mit PCI-Bus eingesetzt werden. Spezifikation PCI Local Bus Specificati

Seite 3

Driver Software for WINDOWS 100 IK220Read48 Supplies the 48-bit counter value. Prototype: BOOL IK220Read48 (USHORT Axis, USHORT Latch, double* pData

Seite 4

Driver Software for WINDOWS 101IK220CntStatus Supplies additional information on the last counter value of the corresponding register. Prototype: B

Seite 5 - Lieferumfang

Driver Software for WINDOWS 102 IK220WaitRef Waits until all active REF functions are ended (Reset, Start or Stop with REF or REF traverse). If no tim

Seite 6

Driver Software for WINDOWS 103pData2: Pointer to a variable in which the position value of the falling edge is saved pPeriod2: Pointer to a varia

Seite 7 - Wichtige Hinweise

Driver Software for WINDOWS 104 IK220DllStatus Reports the status of the DLL functions. Prototype: BOOL IK220DllStatus (ULONG* pDLLStatus, ULONG* pDLL

Seite 8

Driver Software for WINDOWS 105The DLL info has the following meaning: Bit number Meaning 0 Windows timer is not available 1 Windows timer is not

Seite 9

Driver Software for WINDOWS 106 IK220SignalStatus Reports the signal status of the IK 220. Prototype: BOOL IK220SignalStatus (USHORT Axis, USHO

Seite 10 - Hardware

Driver Software for WINDOWS 107pSym0: Pointer to a variable in which the symmetry of the 0° signal is saved pSym90: Pointer to a variable in which

Seite 11

Driver Software for WINDOWS 108 IK220OctStatus Reports the octant status of the IK 220. Prototype: BOOL IK220OctStatus (USHORT Axis, USHO

Seite 12

Driver Software for WINDOWS 109IK220WritePar Changes a parameter of the IK 220. Prototype: BOOL IK220WritePar (USHORT Axis, USHORT ParNum, ULONG P

Seite 13

Hardware 11Messgerät-Eingänge An die IK 220 können Messgeräte mit folgenden Schnittstellen angeschlossen werden: • 11 µASS • 1 VSS • EnDat 2.1 •

Seite 14

Driver Software for WINDOWS 110 IK220ConfigEn Reads the configuration of the connected EnDat encoder. The exact meaning of the individual value is des

Seite 15

Driver Software for WINDOWS 111pType: Pointer to a variable in which the encoder type is saved. pPeriod: Pointer to a variable in which the signal

Seite 16

Driver Software for WINDOWS 112 IK220ReadEnInc Reports the absolute and incremental counter value of the connected EnDat encoder. The EnDat counter va

Seite 17

Driver Software for WINDOWS 113Mode: 0 = End readout with continuous clock 1 = Start readout with CRC check and continuous clock 2 = Start readout

Seite 18

Driver Software for WINDOWS 114 IK220AlarmEn Supplies the alarm word of the EnDat encoder and cancels all active alarms. Prototype: BOOL IK220AlarmEn

Seite 19

Driver Software for WINDOWS 115IK220ReadMemEn Reads values from the memory range of the EnDat encoder. Prototype: BOOL IK220ReadMemEn (USHORT Axis,

Seite 20 - Betriebsparameter

Driver Software for WINDOWS 116 pStatus: Pointer to a variable in which the EnDat status is saved. 0 = OK 1 = Encoder does not answer or no encoder c

Seite 21

Driver Software for WINDOWS 117pDataSsi: Pointer to a variable in which the absolute counter value of the SSI encoder is saved pDataInc: Pointer t

Seite 22

Driver Software for WINDOWS 118 4 = Latched counter values from register 1 are transferred until the max. number is reached (single shot) IK220Reset

Seite 23 - Treiber-Software für WINDOWS

Driver Software for WINDOWS 119pStatus: Status of the RAM buffer. Bit 0=1: Buffer overflow Bit 1=1: No value in the buffer

Seite 24

Hardware 12 Spezifikation der 1 VSS-Schnittstelle Signalamplituden A, B (0°, 90°) R (Referenzmarke) 0,6 VSS bis 1,2 VSS 0,2 V bis 0,85 V Signalpeg

Seite 25

Driver Software for WINDOWS 120 pAmp90: Pointer to an array of variables in which the 90° amplitude values are saved. Space must be reserved for maxC

Seite 26

Driver Software for WINDOWS 121IK220RefEval Defines the type of evaluation of the reference-mark signal. Prototype: BOOL IK220RefEval (USHORT Axis,

Seite 27

Driver Software for WINDOWS 122 IK220Output Writes a 16-bit value to the given address of the axis. Prototype: BOOL IK220Output (USHORT Axis, USHORT

Seite 28

Driver Software for WINDOWS 123IK220SetEnData Sets the data line of the EnDat interface. Prototype: BOOL IK220SetEnData (USHORT Axis, BOOL State,

Seite 29 - SHORT* Pha0

Specifications 124 Specifications Mechanical Data Dimensions Approx. 190 mm x 100 mm Operating temperature – 0° C to 55° C (32 °F to 131 °F) Storag

Seite 30

Specifications 125Adjustment of Adjustment of offset, phase and encoder signals amplitude by software — also online Data register for 48 bits, w

Seite 31

DR. JOHANNES HEIDENHAIN GmbHDr.-Johannes-Heidenhain-Straße 583301 Traunreut, Germany{ +49 8669 31-0| +49 8669 5061E-mail: [email protected]

Seite 32

Hardware 13Spezifikation der SSI-Schnittstelle Die SSI-Schnittstelle der absoluten Messgeräte ist unidirek-tional. Sie liefert die absoluten Positio

Seite 33

Hardware 14 Messgerät-Ausgänge Die IK 220 gibt die Messgerät-Signale der Eingänge X1 und X2 zusätzlich an zwei 10-polige MICROMATCH-Stecker (Buchse) a

Seite 34

Hardware 15Messgeräte-Ausgänge (Ident-Nummer 340 252-01) Sub-D-Anschluss mit Stifteinsatz (9-polig) Anschluss-Nr. Signal 1 I1- 2 0 V (UN) 3 I2-

Seite 35

Hardware 16 Anschluss X11 und X21 für externe Ein-/Ausgänge (Option) Sub-D-Anschluss mit Stifteinsatz (9-polig) auf PC-Slot-Abdeckung Für externe Ein

Seite 36

Hardware 17Abruf der Messwerte über externe Eingänge Die IK 220 hat zwei externe Eingänge zum Abrufen und Speichern der Messwerte. Die Eingänge -L0

Seite 37

Hardware 18 Messwerte von mehreren IK 220 abrufen Damit die Messwerte aller Achsen mehrerer IKs gleichzeitig ge-speichert werden, muss das Ausgangs-Si

Seite 38

Hardware 19Ablaufdiagramm: Speichern von Messwerten Latch 0OR&Software latch 0&Par. 14Bit 0TimerPar. 14Bit 1IK220ModeTimerIK220LatchInt -

Seite 39

Inhalt 2 Inhalt Inhalt ... 2

Seite 40

Betriebsparameter 20 Betriebsparameter Die IK 220 benötigt Betriebs-Parameter um die gewünschten Funktionen richtig ausführen zu können. Es sind Defau

Seite 41

Betriebsparameter 21 Param.NummerFor-mat Bedeutung 7 16 Bit 0 bis 12: Anzahl Interpolations-Bits Defaultwert 12 Der Interpolationswert (16 Bit br

Seite 42

Betriebsparameter 22 Parameter 11: Zeitintervall zwischen zwei Latches per Timer: Folgende Werte sind über die Timer der IK 220 direkt einstellbar:

Seite 43

Treiber-Software für WINDOWS 23Treiber-Software für WINDOWS Allgemeines Die Treiber-Software für die IK 220 ermöglicht es Anwendungen die IK 220 Zäh

Seite 44

Treiber-Software für WINDOWS 24 Installation des Treibers und der DLL unter Windows 2000 und XP • Nachdem Sie die IK 220 Karte in den Rechner gesteck

Seite 45

Treiber-Software für WINDOWS 25Device-Treiber für Windows 95/98 (IK220VXD.VXD) Der Windows 95/98 Device-Treiber ist ein virtueller Device-Treiber fü

Seite 46

Treiber-Software für WINDOWS 26 Beispiele Beispiel für Konsolen-Anwendung Im Verzeichnis „\Disk2\IK220Con\Release“ auf der CD im Verzeichniszweig &qu

Seite 47

Treiber-Software für WINDOWS 27Aufruf der DLL-Funktionen aus einem Anwenderprogramm Um die Funktionen der DLL nutzen zu können, müssen sie dem Anwen

Seite 48

Treiber-Software für WINDOWS 28 Funktion KurzreferenzSynchrones Zählerwert speichern extern BOOL IK220LatchExt (USHORT Card) Zähler löschen mit nächs

Seite 49

Treiber-Software für WINDOWS 29Funktion KurzreferenzPosition der Referenz-marke ermitteln BOOL IK220PositionRef (USHORT Axis, double* pData,

Seite 50

Inhalt 3Beispiele für LabView ... 26 Beispiel für Linux ...

Seite 51

Treiber-Software für WINDOWS 30 Funktion KurzreferenzPrüfsumme der Para-meter lesen BOOL IK220ChkSumPar (USHORT Axis, USHORT* pChkSum) Prüfsum

Seite 52

Treiber-Software für WINDOWS 31Funktion KurzreferenzWert aus Speicher-bereich des EnDat-Gebers lesen BOOL IK220ReadMemEn(USHORT Axis, USHORT

Seite 53

Treiber-Software für WINDOWS 32 Funktion KurzreferenzBlock von Amplituden-werten aus RAM-Buffer lesen BOOL IK220BurstSig (USHORT Axis, USHORT

Seite 54

Treiber-Software für WINDOWS 33Referenz der DLL-Funktionen Alle DLL-Funktionen liefern eine Boolsche Variable zurück. Ist diese Variable „Wahr“ (=TR

Seite 55

Treiber-Software für WINDOWS 34 IK220Version Liest die Programm-Versionen der IK 220, des NT Device Treibers und der DLL. Die Programm-Versionen werde

Seite 56

Treiber-Software für WINDOWS 35IK220LatchInt Erzeugt ein Signal mit dem die Zählerwerte beider Achsen einer IK 220 synchron in Latch 0 gespeichert w

Seite 57

Treiber-Software für WINDOWS 36 IK220LatchRef Mit der nächsten Referenzmarke wird der Zählerwert im Register 2 gespeichert. Der gespeicherte Wert ist

Seite 58

Treiber-Software für WINDOWS 37IK220Set Setzt den Positionswert auf den angegebenen Wert. Benutzt Register 0 um die aktuelle Position zu ermitteln u

Seite 59

Treiber-Software für WINDOWS 38 IK220Read48 Liefert den 48-Bit-Zählerwert. Prototyp: BOOL IK220Read48 (USHORT Axis, USHORT Latch, double* pData); Ax

Seite 60

Treiber-Software für WINDOWS 39IK220CntStatus Liefert zusätzliche Informationen über den letzten Zählerwert-Abruf des entsprechenden Registers. Prot

Seite 61

Inhalt 4 IK220ChkSumPar ... 46 IK220ChkSumPrg ...

Seite 62 - Technische Daten

Treiber-Software für WINDOWS 40 IK220WaitRef Wartet bis alle aktiven REF-Funktionen beendet sind (Reset, Start oder Stopp mit REF bzw. REF-Fahren). We

Seite 63

Treiber-Software für WINDOWS 41pPeriod1: Zeiger auf Variable in welcher der Signalperiodenwert der steigenden Flanke abgelegt wird. pIntpol1: Zeig

Seite 64

Treiber-Software für WINDOWS 42 IK220DllStatus Liefert den Status der DLL-Funktionen zurück. Prototyp: BOOL IK220DllStatus (ULONG* pDLLStatus, ULONG*

Seite 65

Treiber-Software für WINDOWS 43Die DLL-Info hat folgende Bedeutung: Bitnummer Bedeutung0 Windows Timer nicht verfügbar 1 Windows Timer wird nicht

Seite 66

Treiber-Software für WINDOWS 44 IK220SignalStatus Liefert den Signal-Status der IK 220 zurück. Prototyp: BOOL IK220SignalStatus (USHORT Axis, U

Seite 67 - Items Supplied

Treiber-Software für WINDOWS 45pSym90: Zeiger auf Variable in welcher die Symmetrie des 90°-Signals abgelegt wird. pFlag1: Zeiger auf Variable in

Seite 68

Treiber-Software für WINDOWS 46 IK220OctStatus Liefert den Oktanten-Status der IK 220 zurück. Prototyp: BOOL IK220OctStatus (USHORT Axis,

Seite 69 - Important Information

Treiber-Software für WINDOWS 47IK220WritePar Ändert einen Parameter der IK 220. Prototyp: BOOL IK220WritePar (USHORT Axis, USHORT ParNum, ULONG Pa

Seite 70

Treiber-Software für WINDOWS 48 IK220ConfigEn Liest die Konfiguration des angeschlossenen EnDat-Geber aus. Die genaue Bedeutung der einzelnen Werte is

Seite 71

Treiber-Software für WINDOWS 49pType: Zeiger auf Variable in welcher der Messgerättyp abgelegt wird. pPeriod: Zeiger auf Variable in welcher die S

Seite 72

Lieferumfang 5Lieferumfang PC-Zählerkarte IK 220 Id.-Nr. 337 481-01 Programmierbeispiele, Treiber-Software und Benutzer-Handbuch. Zubehör • IK Ex

Seite 73

Treiber-Software für WINDOWS 50 IK220ReadEnInc Liefert den absoluten und inkrementalen Zählerwert des angeschlossenen EnDat-Geber zurück. Der EnDat-Zä

Seite 74

Treiber-Software für WINDOWS 51Mode: 0 = Auslesen mit durchlaufendem Takt beenden 1 = Auslesen mit durchlaufendem Takt mit CRC-Prüfung starten 2 =

Seite 75

Treiber-Software für WINDOWS 52 IK220AlarmEn Liefert das Alarmwort des EnDat-Geber und löscht alle aktiven Alarme. Prototyp: BOOL IK220AlarmEn (USHOR

Seite 76

Treiber-Software für WINDOWS 53IK220ReadMemEn Liest Werte aus dem Speicherbereich des EnDat-Gebers. Prototyp: BOOL IK220ReadMemEn (USHORT Axis,

Seite 77

Treiber-Software für WINDOWS 54 pStatus: Zeiger auf Variable in welcher der EnDat-Status abgelegt wird. 0 = o.k. 1 = Geber antwortet nicht bzw. kein

Seite 78

Treiber-Software für WINDOWS 55pDataSsi: Zeiger auf Variable in welcher der absolute Zählerwert des SSI-Geber abgelegt wird. pDataInc: Zeiger auf

Seite 79

Treiber-Software für WINDOWS 56 3 = Eingespeicherte Zählerwerte aus Register 0 werden abgelegt bis maximale Anzahl erreicht ist (Single shot) 4 = E

Seite 80

Treiber-Software für WINDOWS 57pStatus: Status des RAM-Buffers. Bit0=1 : Buffer-Überlauf Bit1=1 : kein Wert im Buffer Bit

Seite 81

Treiber-Software für WINDOWS 58 pAmp90: Zeiger auf ein Array von Variablen in welchem die 90°-Amplitudenwerte abgelegt werden. Es muss Platz für maxC

Seite 82 - Operating Parameters

Treiber-Software für WINDOWS 59IK220RefEval Legt die Art der Auswertung des Referenzmarken-Signals fest. Prototyp: BOOL IK220RefEval (USHORT Axis,

Seite 83

Lieferumfang 6 368 171-xx368 172-xx349 687-xx335 077-xxAbhängig von der Eingangsschaltung der Folge-Elektronik Adapter340 252-01 1 VSS: 60 m max.En

Seite 84

Treiber-Software für WINDOWS 60 IK220Output Schreibt einen 16-Bit-Wert auf die angegebenen Adresse der Achse. Prototyp: BOOL IK220Output (USHORT Axis

Seite 85 - Driver Software for WINDOWS

Treiber-Software für WINDOWS 61IK220SetEnData Setzt die Daten-Leitung der EnDat-Schnittstelle. Prototyp: BOOL IK220SetEnData (USHORT Axis, BOOL St

Seite 86

Technische Daten 62 Technische Daten Mechanische Kennwerte Abmessungen ca. 190 mm x 100 mm Arbeitstemperatur – 0° C bis 55° C Lagertemperatur –30

Seite 87

Technische Daten 63Abgleich der Mess- Abgleich von Offset, Phase und gerät-Signale Amplitude per Software – auch online Datenregister für 48 Bit,

Seite 88

Content 64 Content Content ... 64 I

Seite 89

Content 65Examples for LabView ... 88 Example for Linux ...

Seite 90

Content 66 IK220ChkSumPar ... 108 IK220ChkSumPrg ...

Seite 91

Items Supplied 67Items Supplied IK 220 Counter Card for PCs Id. Nr. 337 481-01 Programming examples, driver software and User's Manual. Access

Seite 92

Items Supplied 68 368 171-xx368 172-xx349 687-xx335 077-xx Depending on the input circuit of the subsequent electronics Adapter340 252-01 1 VPP: 60

Seite 93

Important Information 69Important Information The EnDat interface offers the possibility of storing machine or system-dependent data in the custom

Seite 94

Wichtige Hinweise 7Wichtige Hinweise Das EnDat-Interface bietet die Möglichkeit im Speicher-bereich des Kunden maschinen- oder anlagenspezifische D

Seite 95

Technical Description of the IK 220 70 Technical Description of the IK 220 The IK 220 counter card for PCs is plugged directly into an expansion slot

Seite 96

Technical Description of the IK 220 71The IK 220's interpolation electronics subdivides the signal period of the input signal up to 4096-fold.

Seite 97

Hardware 72 Hardware Specification of the PCI bus The IK 220 can be installed in all PCs with PCI bus. Specification PCI local bus Spec. Rev. 2.1

Seite 98

Hardware 73Encoder inputs The IK 220 supports encoders with the following interfaces: • 11 µAPP • 1 VPP • EnDat 2.1 • SSI The power supply for

Seite 99

Hardware 74 Specification of the 1 VPP interface Signal amplitudes A, B (0°, 90°) R (reference mark ) 0.6 VPP to 1.2 VPP 0.2 V to 0.85 V Signal le

Seite 100

Hardware 75Specification of the SSI interface The SSI interface of the absolute encoders is bidirectional. It supplies the absolute position values

Seite 101

Hardware 76 Encoder outputs The IK 220 also feeds the encoder signals from inputs X1 and X2 as sinusoidal current signals (11 µAPP) to two 10-pin MICR

Seite 102

Hardware 77Encoder outputs (ld. Nr. 340 252-01) D-sub connection with male contacts (9-pin) Pin No. Signal 1 I1- 2 0 V (UN) 3 I2 - 4 Not conn

Seite 103

Hardware 78 Connections X11 and X21 for external inputs/outputs (option) D-sub connection with male contacts (9-pin) on PC slot cover For external in

Seite 104

Hardware 79Latching measured values via external inputs The IK 220 has two external inputs for latching and saving measured values. The inputs -L0

Seite 105

Technische Beschreibung der IK 220 8 Technische Beschreibung der IK 220 Die PC-Zählerkarte IK 220 wird direkt in einen Erweiterungs- Steckplatz eines

Seite 106

Hardware 80 Latching the measured values of more than one IK 220 For the measured values of all axes of more than one IK to be saved simultaneously, t

Seite 107

Hardware 81Flow chart: Saving measured values Latch 0OR&Software latch 0&Par. 14Bit 0TimerPar. 14Bit 1IK220ModeTimerIK220LatchInt -Lout 1

Seite 108

Operating Parameters 82 Operating Parameters The IK 220 requires operating parameters to properly execute the desired functions. Predetermined default

Seite 109

Operating Parameters 83 Param.NumberFor-mat Meaning 7 16 bits 0 to 12: Number of interpolation bits Default value 12 The interpolation value (16-

Seite 110

Operating Parameters 84 Parameter 11: Interval between two latches per timer. The following values can be set directly by the timer of the IK 220: P

Seite 111

Driver Software for WINDOWS 85Driver Software for WINDOWS General information The driver software for the IK 220 enables applications to access the

Seite 112

Driver Software for WINDOWS 86 Installing the drivers and DLLs under Windows 2000 and Windows XP • After inserting the IK 220 card into your computer

Seite 113

Driver Software for WINDOWS 87Device driver for Windows 95/98 (IK220VXD.VXD) The Windows 95/98 device driver is a virtual device driver for Windows

Seite 114

Driver Software for WINDOWS 88 Examples Example for console application In the subdirectory ”\Disk2\IK220Con\Release” of the "IK 220" direc

Seite 115

Driver Software for WINDOWS 89Calling the DLL functions from an application program To be able to use the functions of the DLL they must be known by

Seite 116

Technische Beschreibung der IK 220 9Die Interpolations-Elektronik in der IK 220 unterteilt die Signalperiode des Eingangs-Signals bis zu 4096fach. D

Seite 117

Driver Software for WINDOWS 90 Function Short referenceDelete counter with next reference mark BOOL IK220ResetRef (USHORT Axis) Start counter with ne

Seite 118

Driver Software for WINDOWS 91Function Short referenceFind position of the rising and falling edge of the reference mark BOOL IK220PositionRef2 (USH

Seite 119

Driver Software for WINDOWS 92 Function Short referenceRead checksum of firmware BOOL IK220ChkSumPrg (USHORT Axis, USHORT* pChkSum1, US

Seite 120

Driver Software for WINDOWS 93Function Short referenceRead value from memory area of the EnDat encoder BOOL IK220ReadMemEn (USHORT Axis, USH

Seite 121

Driver Software for WINDOWS 94 Function Short referenceRead amplitude values block from RAM buffer BOOL IK220BurstSig (USHORT Axis, USHORT ma

Seite 122

Driver Software for WINDOWS 95Reference of DLL functions All DLL functions return a Boolean variable. If this variable is ”true” (i.e.: <>0),

Seite 123

Driver Software for WINDOWS 96 IK220Version Reads the program versions of the IK 220, the NT device driver and the DLL. The program versions are saved

Seite 124 - Specifications

Driver Software for WINDOWS 97IK220LatchInt Generates a signal with which the counter values of both axes of an IK 220 are saved synchronously in La

Seite 125

Driver Software for WINDOWS 98 IK220LatchRef With the next reference mark, the counter value is saved in register 2. The saved value is without interp

Seite 126 -  

Driver Software for WINDOWS 99IK220Set Sets the position value to the indicated value. Uses Register 0 to determine the current position, and calcul

Kommentare zu diesen Handbüchern

Keine Kommentare