Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.naic.edu/~phil/hardware/vertex/sharemegsvertex/Doc/Bugs
Дата изменения: Wed Mar 7 18:17:04 2001
Дата индексирования: Thu Jan 15 06:28:24 2009
Кодировка:

Поисковые слова: р р с с р с р р р р с р р р р р р рер
v2p0d


code removed ..

keypass.c .. (set locked to 0 in main..). removed, .c, prog.h xxx.ein.
had been commnetd out by relias. locked is still
in main1.. set to 0

d2.c .. not used removed from .c, prog.h xxx.ein

pmcs - removed from source, xxx.ein. not used.

start,start2,start3 removed from prog.h .. not used

fil .. .c, prog.h,xxx.ein removed . was debugging for
printing out program track data. also
deleted global m_pos[1-4] since only used there.

check.c xxx.ein, prog.h,
and variables xxrmin,xxrmax.. they are not used to check limits.
-----
additional code removed from new version:

---

bugs found: 22dec99.. most bugs found are listed but not fixed unless
specified.

schreib.c
/*time_n2 = time_n;
dreh4((char*)time_n2); bug .. comment out */
was wiping out memory. klaus put this in for debugging when
he came the second time. we was trying to display
time_n and time_n flipped but it never displayed correctly.
It also when through memory flipping words depending on
time_n. memory location 30,000 on down are getting screwed up.
fixed in v2.0d,new

getmcs.c
when mcs set auxmode for an axis and a drive, it would
always select the azimuth (plus) the other axis. The
motor select would be illegal if it was the dome motor > 2.

if((soll3.axis&0x0100) == 0x0100
&& (az1 == 1)) ; <--- shouldn't have ; here...
{ mode_sel[1]= soll3.aux; cmd_status = 0x0700;}
fixed v2.0d, new

main1.c requesting all 3 axis.. axis free if:
! currently pcu control
and request is for lcu
.. this will: request for lcu
... current state ! pcu az,za and !lcu on ch.

/* determine allowed commands for the selected axis or axes */

if ((axis == 7) && ((stat1[0] & 0x000f) != 0x0001) &&
((stat1[6]&0x000f) != 0x0001) && ((mode_sel[0] & 0x000f) == 0x0002) &&
((mode_sel[2] & 0x000f) == 0x0002) &&
((mode_sel[4] & 0x000f) == 0x0002) && ((stat1[12] & 0x000f) != 0x0002))
^^^^^
should be 0001


gtmcs.c - Most of the return status codes to mcs are messed up..
transfer control ..
cmd: pnt x vme 1-7 .. lcu replies accepted, even when in localOnly.
sets mode_sel an passes it on to the plc.

for xfer to other axis, it checks local only but still replies
accepted, but doesn't pass it onto the plc via mode_sel.

- stow mode
if you request to stow just 1 axis and you don't have contol
of all 3.. then it gives you a wrong mode reply stat.