Дипломная работа: Технологическая реализация системы подготовки обработки детали станка с числовым программным управлением
':insert_point
',fixX1:8:5,',',
fixY1:1:5,',',
fixZ1:1:5,'
',
(fixX1+fixX2)/2:8:5,',',
(fixY1+fixY2)/2:1:5,',',
(fixZ1+fixZ2)/2:1:5,'
');
writeln(ff1,')');
end;
end;
end;
begin
for
i:=1 to 10 do
Empt[i]:=0;
AssignFile(ff1,Path+'LSP\Sil.lsp');
Append(ff1);
N_Spl:=0;
writeln(ff1,'(position_pa
:part_assembly :start "/a1/Krug" :select_done ',
':translate
:x ',dX:8:5,')');
writeln(ff1,'(position_pa
:part_assembly :start "/a1/Krug" :select_done ',
':translate
:y ',dY:8:5,')');
writeln(ff1,'(position_pa
:part_assembly :start "/a1/Krug" :select_done ',
':translate
:z ',dZ:8:5,')');
{
if N_Tr=N_Sech[N_Act] then
writeln(ff1,'(position_pa
:part_assembly :start "/a1/Krug.1" :select_done ',
':rotate
:axis :x :rotation_angle ',-fiA/pi*180:8:5,' :done :translate :x ',
-dX:8:5,')');
}
{
if N_Tr=N_Sech[N_Act] then
begin
writeln(ff1,'(create_multiple_pa
:copy :source "/a1/surf1" :owner "/" )');
writeln(ff1,'(create_multiple_pa
:copy :source "/a1/surf2" :owner "/" )');
writeln(ff1,'(create_multiple_pa
:copy :source "/a1/surf3" :owner "/" )');
end;
}
Create_Bspline(N_Tr,1,1,1);
Create_Bspline(N_Tr,2,2,1);
Create_Bspline(N_Tr,3,3,1);
Create_Bspline(N_Tr,4,1,3);
for
i:=1 to N_Spl do
writeln(ff1,'(position_pa
:part_assembly :start "/Sil_',N_Tr:1,'.',i:1,'" ',
':select_done
',
':rotate
:axis :x :rotation_angle ',(fiAmax-fiA)/pi*180:8:5,')');
if
N_Tr<N_Sech[N_Act] then
begin
//
writeln(ff1,'(position_pa :part_assembly :start "/a1/Krug" :select_done
',
//
':rotate :axis :x :rotation_angle ',fiA/pi*180:8:5,')');
writeln(ff1,'(position_pa
:part_assembly :start "/a1/Krug" :select_done ',
':translate
:x ',-dX:8:5,')');
writeln(ff1,'(position_pa
:part_assembly :start "/a1/Krug" :select_done ',
':translate
:y ',-dY:8:5,')');
writeln(ff1,'(position_pa
:part_assembly :start "/a1/Krug" :select_done ',
':translate
:z ',-dZ:8:5,')');
end;
//W_Str1('N_spl='+w_i(N_Spl,1));
Flush(ff1);
CloseFile(ff1);
end;
Приложение Б
Параметры проекта Delphi:
-$A8
-$B-
-$C+
-$D+
-$E-
-$F-
-$G+
-$H+
-$I+
-$J-
-$K-
-$L+
-$M-
-$N+
-$O+
-$P+
-$Q-
-$R-
-$S-
-$T-
-$U-
-$V+
-$W-
-$X+
-$YD
-$Z1
-cg
-AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
-H+
-W+
-M
-$M16384,1048576
-K$00400000
-LE"c:\program
files\borland\delphi7\Projects\Bpl"
-LN"c:\program
files\borland\delphi7\Projects\Bpl"
-w-UNSAFE_TYPE
-w-UNSAFE_CODE
-w-UNSAFE_CAST
[FileVersion]
Version=7.0
//версия файла
[Compiler]
A=8 //начальные параметры
B=0
C=1
D=1
E=0
F=0
G=1
H=1
I=1
J=0
K=0
L=1
M=0
N=1
O=1
P=1
Q=1
R=1
S=0
T=0
U=0
V=1
W=1
X=1
Y=1
Z=1
ShowHints=1
ShowWarnings=1
UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
NamespacePrefix=
SymbolDeprecated=1
SymbolLibrary=1
SymbolPlatform=1
UnitLibrary=1
UnitPlatform=1
UnitDeprecated=1
HResultCompat=1
HidingMember=1
HiddenVirtual=1
Garbage=1
BoundsError=1
ZeroNilCompat=1
StringConstTruncated=1
ForLoopVarVarPar=1
TypedConstVarPar=1
AsgToTypedConst=1
CaseLabelRange=1
ForVariable=1
ConstructingAbstract=1
ComparisonFalse=1
ComparisonTrue=1
ComparingSignedUnsigned=1
CombiningSignedUnsigned=1
UnsupportedConstruct=1
FileOpen=1
FileOpenUnitSrc=1
BadGlobalSymbol=1
DuplicateConstructorDestructor=1
InvalidDirective=1
PackageNoLink=1
PackageThreadVar=1
ImplicitImport=1
HPPEMITIgnored=1
NoRetVal=1
UseBeforeDef=1
ForLoopVarUndef=1
UnitNameMismatch=1
NoCFGFileFound=1
MessageDirective=1
ImplicitVariants=1
UnicodeToLocale=1
LocaleToUnicode=1
ImagebaseMultiple=1
SuspiciousTypecast=1
PrivatePropAccessor=1
UnsafeType=1
UnsafeCode=1
UnsafeCast=1
[Linker]
MapFile=0
OutputObjs=0
ConsoleApp=1
DebugInfo=0
RemoteSymbols=0
MinStackSize=16384
MaxStackSize=1048576
ImageBase=4194304
ExeDescription=
[Directories]
//параметры проекта
OutputDir=
UnitOutputDir=
PackageDLLOutputDir=
PackageDCPOutputDir=
SearchPath=
Packages=vcl;rtl;dbrtl;adortl;vcldb;vclx;bdertl;vcldbx;ibxpress;dsnap;cds;bdecds;qrpt;teeui;teedb;tee;dss;teeqr;visualclx;visualdbclx;dsnapcrba;dsnapcon;VclSmp;vclshlctrls;inetdb;inet;nmfast;vclie;dbexpress;dbxcds;indy;dclOffice2k
Conditionals=
DebugSourceDirs=
UsePackages=0
[Parameters]
RunParams=
HostApplication=
Launcher=
UseLauncher=0
DebugCWD=
[Language]
ActiveLang=
ProjectLang=
RootDir=
[Version
Info]
IncludeVerInfo=0
AutoIncBuild=0
MajorVer=1
MinorVer=0
Release=0
Build=0
Debug=0
PreRelease=0
Special=0
Private=0
DLL=0
Locale=1049
CodePage=1251
[Version
Info Keys] //информация о проекте
CompanyName=
FileDescription=
FileVersion=1.0.0.0
InternalName=
LegalCopyright=
LegalTrademarks=
OriginalFilename=
ProductName=
ProductVersion=1.0.0.0
Comments=
[HistoryLists\hlUnitAliases]
Count=1
Item0=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
Приложение B
Текст настроечного файла программного модуля:
3
2
5.260 5.000 105.000
1.000 1.250
0.700 0.900 7.410
0.350 120.000
10.000 25.000 0.900
30.000 0.200
85.000 1.300 50.000
71.000 0.060 3
3
99.86600 9.70600
90.00000
0.45000 0.20000
50.78000
-58.71300
53.29000 -196.78000 -180.36000
125.06600 4.05600
90.00000
1.95000 1.95000
50.73000
-71.26300
65.89000 -147.21000 -136.44000
100.16600 9.97300
90.00000
0.10000 1.10000
50.69000
-58.77300
53.44000 -105.12700 -88.44000
130.00000
88.00000 6.71400
6
Канавка
0.000 0.00000
40.00000 53.50000 1 1 0.00000 0.71966 0.85300 -0.2000 99999999.000 0 2.000 2 0.000
0 1 1 1 1 20 0.0100 1
0.000 0.000 0.000
0.000 0.000 0.000
Затылок
0.000 -0.01719
40.00000 47.00000 1 1 0.00000 5.14988 -4.85300 -1.0000 999999.000 0 1.000 2 0.000
0 1 1 1 1 20 0.0100 1
0.000 0.000 0.000
421.303 0.000 0.000
1 задний угол
58.525 0.00000
80.00000 80.00000 3 2 0.25000 -30.00000 0.00000 0.5000 999999.000 0 2.000 2 0.000
0 1 1 1 1 20 0.0100 1
0.000 0.000 0.000
-70.110 0.000 0.000
2 задний угол
51.710 0.00000
80.00000 80.00000 3 2 -0.65000 -30.00000 -1.26552 0.5000 999999.000 0 2.000 2 0.000
0 0 1 1 1 20 0.0100 1
0.000 0.000 0.000
-46.533 0.000 0.000
Подточка
30.000
40.00000 25.00000 24.00000 2 1 1.00000 -0.80000 -0.24500 -9.0000 999999.000 0 2.000
2 0.000 0 0 1 1 0 20 0.0100 1
0.000 0.000 0.000
-45.000 0.000 0.000
Канавка под
СОЖ
14.767
79.65473 25.00000 20.00000 3 2 -3.21700 2.11332 -1.94988 0.5000 999999.000 0 2.000
2 0.000 0 0 0 0 0 20 0.0100 1
0.000 0.000 0.000
0.000 0.000 0.000
4
0.000 0.000
90.000 0.000
10.520 0.000
-0.016 0.000
10.477 77.000
45.246 0.000
12.000 77.755
0.000 0.000
12.000 130.000
0.000 0.000
39.000 19.000
59.000 40.000
1 1.900 6.000
45.000 1.000 15.000 45.000
1
1
1
1
0
0
0
0
0
0
0
0
0.000
180.000
0.000 0.000 0.000
0.000 0.000 0.000
0 0 0 0 0 0
0.000 0.000 0.000
0.000 0.000 0.000
0 0 0 0 0 0
0.000 0.000 0.000
0.000 0.000 0.000
0.000 0.000 0.000
-15.000 0.000 0.000
0.000 0.000 0.000
-7.500 0.000 0.000
0 0 0 20 0 0
2
0.000 0.000 0.000
0.000 0.000 0.000
0 0 0 0 0 0
0
0.000 0.000 0.000
421.303 0.000 0.000
0 0 0 20 0 0
0.000 0.000 0.000
0.000 0.000 0.000
0 0 0 0 0 0
0.000 0.000 0.000
0.000 0.000 0.000
0.000 0.000 0.000
-50.512 0.000 0.000
0.000 -0.240 0.000
-25.256 0.000 0.000
0 20 0 20 0 0
7
0.000 0.000 0.000
0.000 0.000 0.000
0 0 0 0 0 0
0
0.000 0.000 0.000
-70.110 0.000 0.000
0 0 0 20 0 0
0.000 0.000 0.000
0.000 0.000 0.000
0 0 0 0 0 0
0.000 0.000 0.000
0.000 0.000 0.000
0.000 0.000 0.000
0.000 0.000 0.000
0.000 0.000 0.000
0.000 0.000 0.000
0 0 0 0 0 0
1
0.000 0.000 0.000
0.000 0.000 0.000
0 0 0 0 0 0
0
0.000 0.000 0.000
-46.533 0.000 0.000
0 0 0 20 0 0
0.000 0.000 0.000
0.000 0.000 0.000
0 0 0 0 0 0
0.000 0.000 0.000
0.000 0.000 0.000
Страницы: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20 |