Releases: kobbled/tp_plus
Releases · kobbled/tp_plus
TP+ v1.0.0-beta
TP+ is a higher-level language abstraction that translates into FANUC TP. It features many useful utilities that makes creating TP programs easier:
- Functions and inline functions
- Importing numerous files
- Namespacing
- Variable declaration for registers, position registers, IO, etc.
- Local variables
- Readable motion statements
- Streamlined position declaration
- Position manipulation
- Build the same program for multiple controllers through the use of environment files and imports
- Managing Register sets on controller
- Register and Postion ranges for easy declaration of blocks of registers
- Preprocessor
- Automatic label numbering
- Improved looping
- Easier managment of numerous TP files
- Can be used with the package manager Rossum
[!NEW]
- A Preprocessor ppr was added! See examples.md for details.
- Local variables can be declared! See examples.md for details.
[!INFO]
- see Features for a quick look at the features
- see examples.md for an indepth introduction to TP+
- Test example .tpp files can be found in https://github.com/kobbled/tp_plus/tree/master/examples
Install
Download tpp.exe
from the release, and move to the Roboguide bin folder C:\Program Files (x86)\FANUC\WinOLPC\bin
.
Alternatively add the folder in which tpp.exe
resides into your environment Path
.
[Environment]::SetEnvironmentVariable("Path", $env:Path + ";" + "path\to\tpp", "User");
Usage
print output to console:
tpp filename.tpp
print output to file (must be the same filename):
tpp filename.tpp -o filename.ls
interpret using an environment file:
tpp filename.tpp -e env.tpp
include folders:
tpp filename.tpp -i ../folder1 -i ../folder2
See tpp --help
for options.
[!INFO]
All of these options can be accessed through vscode using the Fanuc TP-Plus Language Extension
[!INFO]
All of these options can be specified in the Rossum package manager through thepackage.json
file