Indramat MINIDRIVE DMD02.1 Manuel D'utilisation page 85

Table des Matières

Publicité

MiniDrive
DOK-MINIDR-DMD/MMD*POS-AW03-FR-P
clrscr();
printf("MiniDrive Testprogramm\n");
while((input != 'q')&&(input != 'Q'))
{
printf("\nPress <n> for new input or <q> to quit\n");
input = getch();
if((input == 'n')||(input == 'N'))
{
input");
input\n");
{
input\n");
}
}
}
do
{
printf("\nStep No.
cin >> step;
if((step<1)||(step>28))printf("Incorrect
}while((step<1)||(step>28));
printf("Position
cin >> position;
do
{
printf("Speed
cin >> speed;
if((speed<0)||(speed>10))printf("Incorrect
}while((speed<0)||(speed>10));
do
printf("Position mode (abs=0 inc=1)? ");
cin >> mode;
if((mode<0)||(mode>1))printf("Incorrect
}while((mode<0)||(mode>1));
printf("Sending Parameters (y/n) ? ");
input=getch();
if((input == 'y')||(input == 'Y'))
{
printf("\nSending parameters\n");
sendpacket();
readpacket();
}
printf("\nOperation canceled\n");
6-7
Interface
(1-28)? ");
? ");
(0-10)? ");

Publicité

Table des Matières
loading

Ce manuel est également adapté pour:

Minidrive mmd

Table des Matières