Herunterladen Diese Seite drucken

Ik220Readeninccont - HEIDENHAIN IK 220 Benutzerhandbuch

Pc-zählerkarte zum anschluss von heidenhain-messgeräten

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

Mode:
0 = End readout with continuous clock
1 = Start readout with CRC check and continuous
clock
2 = Start readout with continuous clock and
without CRC check.
pStatus:
0 = OK
1 = Encoder does not answer or no encoder
connected

IK220ReadEnIncCont

Returns the absolute and incremental position value of the
connected EnDat encoder while the counter values of the
EnDat are read out continuously with continuous clock. Before
this function is used, the continuous EnDat clock must be
started with IK220ModEnCont. The EnDat counter value has
the same significance as the incremental value, i.e., 1.0
represents one signal period.
Prototype: BOOLIK220ReadEnIncCont (USHORT Axis,
USHORT* pStatus, double* pDataEn,
USHORT* pAlarm, double* pDataInc,
USHORT* pSigStat)
Axis:
Number of the axis (0 to 15)
pStatus:
Pointer to a variable in which the EnDat status is
saved.
0:
Bit 0=1:
Bit 1=1:
Bit 2=1:
pDataEn:
Pointer to a variable in which the absolute counter
value of the EnDat encoder is saved
pAlarm:
Pointer to a variable in which the alarm bit is saved
0 = OK
1 = Alarm
pDataInc:
Pointer to a variable in which the incremental
counter value of the EnDat encoder is saved
pSigStat:
Pointer to a variable in which the amplitude status
of the incremental signals is saved.
Bit 0/1: Status minimum amplitude
Bit 2/3: Status present amplitude
Bit 4/5: Status maximum amplitude
(Amplitude status: 00=normal / 01=low / 10=high /
11=too low)
Driver Software for WINDOWS
OK
Encoder does not answer or no encoder
connected.
Error CRC sum
Error type A
113

Quicklinks ausblenden:

Werbung

Kapitel

loading