Hi Rupeshk,
The line I provided in my original post is the only relevant line of code. To make my original question more clear; that line is from a ".nc" program. When I load that onto the robot controller, it attempts to convert it to a .tp (and .ls) file using the NC Program conversion option (R775). When the above line contains a negative number in the T code, the conversion fails. I have not been able to find any combinations of parentheses or brackets that allows that to convert successfully.
I ended up getting around this by using the absolute value of the desired T code and then creating a new M code so I could pass a 1 or 0 for if the original number was negative or not. Not an ideal solution, but it works.
Thanks.