Unitek Miyachi LW250 Operation, Maintenance And Service Manual page 119

Yag laser
Table of Contents

Advertisement

APPENDIX B: EXTERNAL COMMUNICATIONS INTERFACE SPECIFICATION
goto p0;
tx
ndat(rs, tx
-
-
if (rx
dack() == NG)
-i
goto p0;
}
/* receive until ETX is found */
rx
text()
-
{
int n, m, ex;
unsigned int time;
char bcc;
n = 0;
ex = 0;
gotxy(1,17);clreol();
time = 0;
while(1){
If (time == TIMEOUT)
++time;
If (getsts()) {
}
if (getrssts()) {
}
}
cprintf("receive end !!!");
if (time == TIMEOUT){
if (rs[n-1] == ETX)
return OK;
else {
990-605 REV B: May, 1997
cnt);
break;
if (getch() == 'E')
return NG;
rs[n] = rsin();
time = 0;
if (ex == 1)
break; /* bcc */
if (rs[n] == ETX)
ex = 1;
if (rs[n] == ACK) || (rs[n] == NAK))
break;
if (rs[n] == '0')
break;
++n;
LW250 PULSED Nd: YAG LASER
/* send text */
/* wait id ack */
/* receive data check */
B-26

Advertisement

Table of Contents
loading

Related Products for Unitek Miyachi LW250

Table of Contents