Issue
Tam32 error message appears when Editing a Function Block program. When editing the program, this error appears and elements are removed from the program.
Product Line
EcoStruxure Building Operation
Environment
- Function Block/Menta Editor
- Found when files created in an older version are used in a newer version of StruxureWare Building Operation.
Cause
This error message is literal. The line indicated as an error is a corrupted part of the function block program. You can determine this line by editing the file in a text editor such as Notepad++ and viewing the indicated line.
NOTE: These programs will continue to work as originally programmed.
Resolution
To identify the part of the program causing the error:
- Edit the Program that is in error
- When the message appears, note the line number and file before you press ok.
- Do not edit or attempt to save the program.
- Locate the file specified in the error message. In this case tempaut1
- The AppData folder is usually hidden, so you will need to manually type the file path into Windows Explorer
- Edit the file with notepad++ or another text editor
- Find the indicated line and determine what type of object is in error. In this example, the line indicated in the error was 116. It is a comment.
Method 1:
- Compare the error line to another other line of the same type in the document and correct any abnormalities. In this case, I removed an extra comma. If it is a Comment, note that @ = carriage return and should be left in, but remove any other symbols or uncommon characters from the comment. You may just want to replace all of the comment text between the : and } with filler text.
- DO NOT delete the line of code.
- Save the edited file to the desktop, be sure not to save it as a .txt
- If needed, right click>edit the program from the system tree and click OK when the error appears.
- Select File>Import
- Import the edited file saved on the desktop.
- Check to see if the changes you made have corrected the application and Save.
Method 2: May be used if the build the file was created in is significantly different than the current build.
- Edit the program
- Copy the indicated tempaut file to the desktop
- Install the version of SmartStruxure which the function block was created on or locate a PC at an older revision
- Import the files to an AS or ES at the original build
- Edit the program
- Remove the objects in error.
- Export the edited files and re-import in the current build
- Add back any removed elements that are required for the program to function.