Tfutil Comau
Tfutil Comau
TFUTIL Tool
Introduction
The Tool/Frame Utility (TFUTIL) is a software utility that operates on the PC and can be used
for analysing and modifying variable (.VAR) files of PDL2 programs. The main operation
performed by this tool is to modify program positions (POSITION) or extended positions
(XTNDPOS) with changes due to a new set of tool or frame values. The new positional variables
are written out to a new variable file.
How it works?
TFUTIL is based upon a combination of a very limited interpreter and the RCS motion library.
The utility is able to load .COD and .VAR programs (similar to Memory Load command); interpret
them to determine motion statements and the tool and frame applicable at the statement; perform
kinematics (inverse and direct) on the determined motion destination.
Files needed
Two files are provided as part of this utility: TFUTIL.EXE and RCSCOMAU.DLL. Both should be
in the path directory.
Also the following files should be present in the directory: C3G.SYS of 5.6x software version,
TT_TOOL1.VAR and TUVFRAME.VAR.
• /h
Help information on usage of the utility.
• /n
Action to perform data analysis with the new tool/frame data.
• /s
Handling changes in C3G.SYS. his includes difference in $BASE, $TX_RATE and the
check of the integrated slide.
Example
The command:
updates the variables of lp24 into a new variable file lp24a taking into account new frames and
new tools. Variables which have already been converted or which fail are displayed.
To use the command a BATCH file needs! (See “Use of command (.BAT) files for starting
TFUTIL”).
Error messages
There are three "sources" of error messages and three ranges:
1. < 0
RCS generated error. Consult RCS manual.
2. 43009..43021
TFUTIL generated errors. Note that these are not the same errors as those used by applications
programs on the controller.
• 43012:"Variable uninitialised"
The variable is uninitialised.
• 43013:"Transformation failed"
The conversion from Cartesian to joint position failed.
• 43014:"Parse failure"
The motion statement could not be parsed.
• 43017:"Tool uninitialised"
The specified tool has not been initialised. Initialisation of a tool is checked by the
tool mass not the dimension.
3. The rest
Standard C3G COMAU errors. Use the PCINT tool for inquiring about the meaning of a single
error or for generating the file with the description of each COMAU error.
Rules
The utility works based upon a defined set of rules. These rules were defined by Volvo and include
the following:
Notes:
• If a new position is out of range, it is not updated so at least the old position can be used and
manually modified.
• Multi-arm robot programs cannot be handled.
• If a variable is declared in the robot program and the /new operation is performed then the
newly created .VAR file will contain this variable with an uninitialised value.
DOIT_TF.BAT, for changing the tool and the frame, with the following content:
DOIT_CAL.BAT, for changing the calibration data, with the following content:
• Modify the tools and/or frames in the TT_TOOL1.VAR and/or TUVFRAME.VAR accordingly to
what needed.
• Copy in C:\TFUTIL directory the files: C3G.SYS (of 5.6x version), <program_name>.COD and
<program_name>_OLD.VAR.
• If only TT_TOOL1.VAR file has been modified, copy in C:\TFUTIL the files: TT_TOOL1.VAR and
TT_OLD.VAR. Issue, from DOS prompts in C:\TFUTIL, the command:
• If only TUVFRAME.VAR file has been modified, copy in C:\TFUTIL the files: TUVFRAME.VAR and
TUV_OLD.VAR. Issue, from DOS prompts in C:\TFUTIL, the command:
• If both TT_TOOL1.VAR and TUVFRAME.VAR files have been modified, copy in C:\TFUTIL the
files: TT_TOOL1.VAR, TT_OLD.VAR, TUVFRAME.VAR and TUV_OLD.VAR. Issue, from DOS
prompts in C:\TFUTIL, the command:
• The result of these operation is a <program_name>.VAR file. This file must be copied in the
controller Ram Disk (RD:). The updated TT_TOOL1.VAR and TUVFRAME.VAR file should be
copied in RD: tool if not present yet.
• If LP26 is the name of a program containing movements, examples of how the .BAT files can be
run is:
DOIT_T LP26 LP26_OLD