![]()
The PELD (Programming Extended Language for DECO) programming language applied to the ADV version is not only more simplistic but also more powerful than the one we used in version 6 of TB-DECO.
Other variables can be used but are automatically modified when using PELD language. These are:
For information : The scope of variables #3000 is the part. Their values are saved when the PART file is shut down. The scope of variables #2000 is the program. This is why it is essential to work out these variables at the start of the program (op. 1:1) Comment : In this example, the user must change the contents of variables #3003 (part length) and #3048 (pivot diameter). Programming the contour in operation 1:7 is not done using the values but rather with the help of variables, the value of which was previously worked out in operation 1:1. The part pick-up distance contained in variable #3009 will also be calculated in operation 1:1. Part being executed ![]()
TB-DECO program ![]() Contents of operation 1:1 The program can be executed in two different ways:
In the 2nd solution, the entire calculation is executed on the same line. It is therefore notnecessary to memorise each intermediate calculation for the variables. IMPORTANT : The syntax must be scrupulously adhered to PELD programming and comments must be separated by: // PELD programming starts with: [ and ends with: ] THINK PARTS THINK TORNOS ascl.com | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
TORNOS SA Rue Industrielle 111 CH-2740 Moutier Switzerland |
Tel.: +41 (0)32 494-4444 Fax: +41 (0)32 494-4903 www.tornos.com |
|