18.06.2013 Views

LIBRARY ı6ıul 0) - Cranfield University

LIBRARY ı6ıul 0) - Cranfield University

LIBRARY ı6ıul 0) - Cranfield University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

TCP2 number are also defined. The off-line programming module then generates the<br />

robot program in ARLA language, the teach points file and the welding parameters<br />

file.<br />

Software requirements and list of files<br />

The following requirements are necessary to run the off-line programming<br />

software developed:<br />

" AutoCAD release 12 or above and AutoCAD Modelling Extension (AME);<br />

" Some environment variables must be set before running AutoCAD. These could be<br />

included in the batch file used by AutoCAD 12 DOS386 to define its own<br />

environment variables. The necessary variables are listed below as they should<br />

appear in the DOS batch file:<br />

SET WELDING=X: \ACAD\WELDING<br />

SET API=X: \ACAD\API<br />

SET OFFLINE=X: \ACAD\WELDING\OFFLINE<br />

The environment variable WELDING stores the path in which the program<br />

files are stored, in the example X. " IACADI WELDING. The enviroment variable<br />

API defines the path where the AutoCAD API files are stored. The OFFLINE<br />

environment variable defines the path where the generated robot programs<br />

should be stored<br />

The welding pop down menu must be defined in the ACAD. MNU. This can be<br />

done by backing up the original file and adding the following lines after the last<br />

POPn (n=0,1,..., 9 or more) menu description. The example shows that the menu is<br />

the tenth to appear on the screen, from the left to the right side (see Figure C. 1).<br />

Example:<br />

***POP10<br />

[Welding]<br />

[Load Welding Module... ]"CACAC(load (strcat (getenv "WELDING') "/loadwm"))<br />

[-Unload Welding Module<br />

... ]ACACAC(setq wmodule nil) (xunload "AME") (princ)<br />

[-]<br />

[~Define Weld... ] %C^C^C(wmodule)<br />

[-View Weld ... ]AC"C"C(viewweld nil nil)<br />

[-]<br />

[Delete Weld ... ]"C"CAC(delete weld nil)<br />

[-]<br />

[->Setup]<br />

[Welding]^C^C^C(load (strcat (getenv "WELDING) "/loadwset"))<br />

[

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!