Herunterladen Inhalt Inhalt Diese Seite drucken

HEIDENHAIN IK 320 Benutzerhandbuch Seite 57

Vmebus-zählerkarte
Inhaltsverzeichnis

Werbung

staucAxis2WasRead =0;
}
while (!kbhit());getch();
clrscr();
switch(ucAxis)
{
//Compensation run axis 1
case 1:
MasterInterrupt(ucDIP_Switch_I, ucDIP_Switch_II, 0x000b);
printf ("\nRecord of compensation points for axis 1 started\n\n");
printf ("- Start axis\n");
break;
//Compensation run axis 2
case 2:
MasterInterrupt(ucDIP_Switch_I, ucDIP_Switch_II, 0x000c);
printf ("\nRecord of compensation points for axis 2 started\n\n");
printf ("- Start axis\n");
break;
}
do
{
if (extucErrorCode)
{
DisplayError();
return;
}
}
while (!(extucMessage));
clrscr();
DisplayMessage();
do
{
if (extucErrorCode)
{
DisplayError();
return;
}
}
while (!(extucMessage));
clrscr();
DisplayMessage();
do
{
if (extucErrorCode)
{
DisplayError();
return;
}
}
while (!(kbhit()));
getch();
}//End CompensationRun
/*-------------------------------------------------------------------
CompensationOnOff
This function switches the signal compensation on or off.
------------------------------------------------------------------*/
void CompensationOnOff(unsigned char ucDIP_Switch_I,
{
char cCharacter,cAxis;
fflush(stdin);
printf("\n Axis 1 or 2?
do
{
if (extucErrorCode)
{
DisplayError();
return;
}
}
while (!kbhit());
unsigned char ucDIP_Switch_II)
");
"$Á

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis