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 ... 32 33 [34]
496
Technical support / Re:Launching TLServer 3.15
« on: January 31, 2009, 03:43:57 PM »
This is how I installed TriLOG 6.21:
  • I uninstall the current TRiLOGI version first. I use the Windows Control Panel "Prorams and Features" (Vista).
  • remove the remaining directory structure C:\TRiLOGI or C:\Program Files\TRiLOGI.  Your uninstall routine does not remove all traces of TRiLOGI.
  • I perform a clean install using the file that I down loaded from http://www.tri-plc.com/trilogi5-upgrade/


I have done this 10 times.  If the TRiLOGI 6.21 is installed into C:\Program Files\TRiLOG  thenTLServer fails.  If TRiLOGI is installed at C:\TRiLOG then TLServer runs.  I have, also, installed into C:\TRiLOG6_21 and everything is fine.

The value of fontIncrement in the en_laguage.txt for the TLServer section is set to 0.  As I am doing a clean install, I have not modified this file.  If I change the value of fontIncrement, I DO SEE the font on the PLC WebServer get larger and smaller. However, the layout of the window does not look like the sample you have shown nor does it look like the version of the server that shipped with TRiLOGI 6.14.

I'm OK installing TRiLOGI in slightly non-standard locations on my hard disk.  It's just a tool.  

I will e-mail Mr. Yew a screen shot of the PLC WebServer Window (I don't have an easy way to include it on this bulletin board).  I've been helping him test some of his code.

497
Technical support / Re:Launching TLServer 3.15
« on: January 30, 2009, 05:30:34 PM »
I think that I understand the problem.  The fix (work around) is to install the program in the default location.

If I install in "C:\Program Files\TRiLOGI" TLServer DOES NOT run.

If I install in "C:\TRiLOGI", then the TLServer DOES RUN.

I specified "C:\Program Files\XXX" because this is where most Vista executable programs are installed and because YOUR installer opened a "Select Destination Directory" window asked me to select a folder.

As a minor point, when the TLServer does execute, the window that opens "PLC WebServer" partially hides the "Help" button and the "Version 3.15" text in the lower right corner.  The "Serial Port Setup", "Configure Users", and "Setup Emails" buttons are not centered horizontally.  The window cannot be resized.  If you pull on the bottom corner (diagonally) it will show the complete "Version 3.15" text momentarity, but the window snaps back to it's initial size.

Gary D.

498
Technical support / Launching TLServer 3.15
« on: January 30, 2009, 12:41:24 PM »
I'm having difficulties getting the TLserver 3.15 to run.  The TLServer window fails to open.

I'm running Windows Vista SP1, JRE 6.11.

I was running TRILOGI 6.14 w/JRE 6.03 before installing TRILOGI 6.21.

If I execute the tlserver3.bat from a DOS window, this is what I see:

C:\Program Files\TRiLOGI\TL6>java -jar TLServer31.jar

String counts = 83
Installation Directory = C:\Program Files\TRiLOGI\TL6/
Serialio Library: version 9.9.9: build 9191
Copyright (c) 1996-2008 Serialio.com, All Rights Reserved.
os.name="Windows Vista"  os.arch="x86"
TRi Amendment1:OS Name =Windows Vista
SerialPort class loaded: jspWin
Serial ports reported by system:
COM1;COM3;fsdir = C:\Program Files\TRiLOGI\TL6/FileService/
Getting Server IP addresses from O/S
IP Address1 = gary-PC/10.0.0.6
IP Address2 = gary-PC/fe80:0:0:0:4432:c14c:a57:df19%8
IP Address3 = gary-PC/fe80:0:0:0:1c18:ca2:f5ff:fff9%9
IP Address4 = gary-PC/2001:0:4137:9e50:1c18:ca2:f5ff:fff9
java.lang.NullPointerException
java.lang.NullPointerException
             at TLServer31.TlServer.a(Unknown Source)
             at TLServer31.TLServer.<init>(Unknown Source)
             at TLServer31.TLServer.main(Unknown Source)


Any thoughts on how to proceed?

499
Technical support / Re:Trilog 6.21 Printing of I/O Tables
« on: January 27, 2009, 11:21:57 PM »
The <tab> is still in the file.  

fontIncrement  -2 has no effect on the printing of the I/O tables.

If you label any Input, Output, Relay ... using more than 9 uppercase characters, the label will not print within the column width.
"12345678" prints within the "Inputs" column
"1234567890"  prints across both the "Inputs" and "Outputs" column.

I am unable to duplicate the behavior that you see for the"fontIncrement" parameter.  We must not be describing the same "elephant".

As you have evolved the programming logic to support longer label names, it would have been nice to have updated the printing routines to accommodate labels longer than 8 characters.


Thanks for your kind consideration.

Gary D

500
Technical support / Re:Trilog 6.21 Printing of I/O Tables
« on: January 26, 2009, 11:18:17 PM »
Thanks for the help.  I see that the custom functions are mono-spaced fonts. I see that the ladder logic comments use variable-pitched fonts.

I have restarted the TRiLOGI program after modifing the "en_language.txt" file, but still see no change in how the I/O Tables are printed.

I am editing the "en_language.txt" file, however I have two of them:

c:\program files\TRiLOGI\TL6\en_language.txt
c:\program files\TRiLOGI\TL6\public\en_language.txt

I have been editing BOTH versions to see if either one has any affect.

How about providing an option to output the I/O tables as a simple "CSV" formatted text file.  This could then be easily reformatted using EXCEL or WORD.

Gary D.

501
Technical support / Re:Trilog 6.21 Printing of I/O Tables
« on: January 26, 2009, 07:10:15 PM »
Thanks,
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
    ENDIF
  ENDIF
ELSE
  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
    ENDIF
  ENDIF
ENDIF

502
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 ... 32 33 [34]