Herunterladen Inhalt Inhalt Diese Seite drucken

HEIDENHAIN IK 320 Benutzerhandbuch Seite 58

Vmebus-zählerkarte
Inhaltsverzeichnis

Werbung

}//End CompensationOnOff
/*-------------------------------------------------------------------
void DisplayMessage(void)
{
"%Á
cAxis=getche();
fflush(stdin);
printf("\n Compensation on = c / off = o
do
{
if (extucErrorCode)
{
DisplayError();
return;
}
}
while (!kbhit());
cCharacter=getche();
switch(cAxis)
{
//Switch compensation on/off axis 1
case '1':
if (cCharacter=='c')
SetParam (ucDIP_Switch_II, PAR_06_1, 0x01,0);
if (cCharacter=='o')
SetParam (ucDIP_Switch_II, PAR_06_1, 0x00,0);
break;
//Switch compensation on/off axis 2
case '2':
if (cCharacter=='c')
SetParam (ucDIP_Switch_II, PAR_06_2, 0x01,0);
if (cCharacter=='o')
SetParam (ucDIP_Switch_II, PAR_06_2, 0x00,0);
break;
default:
gotoxy (1,23);
puts ("Error: Wrong character");
}
//Update parameter
MasterInterrupt(ucDIP_Switch_I, ucDIP_Switch_II, 0x000a);
DisplayMessage
This function displays the messages of the IK interrupt status.
------------------------------------------------------------------*/
gotoxy (1,20);
switch (extucMessage)
{
case 0x01:
puts ("POST concluded\n");
break;
case 0x02:
puts ("REF axis 1 was crossed over\n");
break;
case 0x03:
puts ("REF axis 2 was crossed over\n");
break;
case 0x04:
puts("Compensation run ended axis 1 - Press any key\n");
break;
case 0x05:
puts ("Record of Compensation Points ended axis 1\
- Please wait\n");
break;
case 0x06:
puts ("Compensation run ended axis 2 - Press any key\n");
break;
case 0x07:
puts ("Record of Compensation Points ended axis 2\
- Please wait\n");
");

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis