Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - garysdickinson

Pages: 1 ... 31 32 [33]
Technical support / Re:Trilog 6.21 Printing of I/O Tables
« on: January 26, 2009, 07:10:15 PM »
However "fontIncrment" had no effect on printing (nor anything else in the TL program.  I tried values of 6, 4, 2, 0, -2, -4 and  -6 and found no changes in appearance.  You might let your software team know that "fontIncrement" has not be implemented.

I found that I could change the font used by the TL program by modifying some of the other lines in the en_language.txt file:

sanSerifFontName   SansSerif
monospacedFontName   Monospaced
dialogFontName   Dialog
menuFontName   Dialog
functionmenuFontName   Monospaced
menuItemFontName   monospaced
labelFontName   Arial
labelNarrowFontName   Arial Narrow
commentFontName   Arial

It would be nice to be able to use a mono spaced font such as Courier New for comments in the ladder logic and for custom functions.  I am an old C++ programmer and try to make my code marginally readable. It is nearly imposible to format code using ASCII " " (space, 0x20) when working with non-monospaced fonts.  

Example code:

IF (E > 0)
  ClrIO Heat       ' Tank is above set point so no heat needed
  IF (E > 9)
    SetIO Cool       ' Turn on coolers at .1 above set point   
    IF (E > 300)
      SetIO TooHotErr ' Tank is way too hot
  ClrIO Cool      ' Tank is at or below set point no cooling needed
  IF (E < -9)
    SetIO Heat      ' Turn on heaters at .1 below set point
    IF (E < -300)
      SetIO TooColdErr   ' Tank is way too cold

Technical support / Trilog 6.21 Printing of I/O Tables
« on: January 26, 2009, 03:28:20 PM »
Will there be an option to reduce the font size (or use a fixed pitch font) when printing I/O tables?  

Long, but legal, names do not fit into the columns and overlap with the next column.

Example, "F1Key_EDGE" as a Input name will print across both the Inputs and Outputs column.

Pages: 1 ... 31 32 [33]