Appendix
169
6.4.2
Card Close Procedure
Every time the program ends, MDSP_inital() must be lauched to
make sure that the PC resources will be released. It is good for
next program starts.
4
MDSP_initial()
No Error
Card_ID_Out_Of_Ran
ge
The CardNo parameter of this
function invalid
5
No Error
Card_Reinitialized
In the same program, card
dosen’t close normally then
want to initial again
6
Check “DSP_OK”=1
Card_Not_Ready Tim-
eOut=200ms
Use KernelUpdate.exe to
reset DSP and try again
7
Check DSP Initial Status
Card_ReClose_Fail
TimeOut=10000ms
Use KernelUpdate.exe to
reset DSP and try again
8
Tell DSP start searching axes.
The LED will flash
DSP_Initial_Time_Out
TimeOut=10000ms
Use KernelUpdate.exe to
reset DSP and try again
9
The servo drivers will display
“b#”
Maximun_Number_Of_
Card_Exceed
Close program and open
again
10
Check DSP ready for FPGA
download
FPGA_Handshake_Ti
me_Out Time-
Out=100ms
Use KernelUpdate.exe to
reset DSP and try again
11
Load daughter board’s FPGA
code
FPGA_Download_Tim
e_Out Time-
Out=5000ms
Use KernelUpdate.exe to
reset DSP and try again
12
If everything is okay, it will return
CardID in lowbyte and total-
axes-found in highbyte
Step
Action
OK Reponse Error Response
Error Reason
1
MDSP_close()
LED will turn
off
LED is still flash-
ing or LED is
always ON or OFF
DSP_Close_Time_
Out Time-
Out=5000ms
Restart User’s pro-
gram or use Kerne-
lUpdate.exe to reset
DSP and try again
2
The servo
drivers will
display “AA”
Table 6-5: Card Close Procedure
Step
Action
OK Reponse
Error Response
Error Reason
Table 6-4: Card Initial Procedure
Содержание PCI-8366+
Страница 4: ......
Страница 14: ...x List of Figures ...
Страница 17: ...Introduction 3 Figure 1 3 Flowchart for Building an Application ...
Страница 26: ...12 Installation 2 2 PCI 8372 8366 Outline Drawing Figure 2 1 PCI 8372 8366 Mechanical Drawing ...
Страница 31: ...Installation 17 2 Press HPI boot ...
Страница 32: ...18 Installation 3 Press Flash DL button and select a kernel4 hex ...
Страница 34: ...20 Installation Figure 2 3 SSCNET Communication Test Utility ...
Страница 49: ...Signal Connections 35 Figure 3 9 Skin Type ...
Страница 144: ...130 Operation Theory ...
Страница 149: ...Motion Creator 135 Figure 5 6 Software Version Information ...
Страница 158: ...144 Motion Creator Figure 5 10 Tuning Window 5 5 1 Component Description Figure 5 11 Trigger Setting Frame ...
Страница 160: ...146 Motion Creator Figure 5 13 Channel Selection Frame Figure 5 14 Motion Frame ...