Internet PLC Forum

General => Technical support => Topic started by: cdenk on February 25, 2006, 11:19:12 AM

Title: Deleting deleted custom functions in *.PC5 file
Post by: cdenk on February 25, 2006, 11:19:12 AM
When printing the custom functions of a *.PC5 file that has deleted Custom functions in it, an empty block with only a number label prints (in addition to the normal custom functions). How can I delete these custom functions from the file. If this requires using a text editor, what are the delimiters of the info? Is the format of a PC5 file available?
Title: Re:Deleting deleted custom functions in *.PC5 file
Post by: support on February 25, 2006, 01:26:20 PM
Make sure you delete all the while spaces in the empty function, then save the file and re-load it from hard disk. It shouldn't be printed if it is completely empty. If this doesn't work on your version of TRiLOGI, then update your TriLOGI by following the "Upgrade" path in your "Help" menu.

If you want to use a text editor to edit it, make sure that you make a back up copy and work on the backup copy first.

Note that the function number are represented as zero offset in the file. So to clear CF #6, you can look for the text such as "Fn#5, nn where nn is a number. Then delete the lines from the line "Fn#5, nn" up to the next "Fn#" and the CF will be removed.
Title: Re:Deleting deleted custom functions in *.PC5 file
Post by: cdenk on February 25, 2006, 02:25:55 PM
Thanks for the quick reply, even on Sunday. Deleting the spaces and saving the file worked great. Also deleting all spaces after the actual text in the custom functions saved considerable white space during printing. I didn't have to resort to a text editor. :)