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 - cdenk

Pages: [1] 2 3 ... 11
1
Technical support / Re:Online monitoring default file open problem
« on: December 23, 2013, 04:51:47 AM »
Thanks for the quick reply :)  Had been battling with that a while, simple fix/work around. :)

2
Technical support / Online monitoring default file open problem
« on: December 22, 2013, 09:07:43 AM »

T100MD-r50, Trilogi 6.46 and 6.47, Windows 8

When I go to online monitoring > local > Open matching source file > open local, the default file has appended to it " 1.pc6"
Example
real file name "clean.pc6'
default  name "clean.pc6 1.pc6"

Deleting the added > enter and file loads OK
I have tried renaming, copying and renaming with no success.
Clicking on the file name form the list will replace the default with the correct name.

I have just updated to v6.47 with no change in behavior.

3
Technical support / Re:Auto startup Trilogi >
« on: December 21, 2013, 04:04:56 PM »
Thanks for the reply. The variables of interest are stored in DM[]. What you are suggesting is one way, I would consider, except, it's not worth more than $20 in software at best. My main thinking was toward the "Run" line has arguments similar to a script that would open the right windows, and connect to the PLC. I haven't looked to see if I could send commands to the PLC, much like communicating with a modem with "AT...".

Oh, though at the moment, it's a Windows computer, it could in future be Ubuntu Linux or similar.

4
Technical support / Auto startup Trilogi >
« on: December 20, 2013, 06:47:31 AM »
T100MD-r50, Trilogi 6.46 (will upgrade to latest before I get answers to this), windows 8. The PLC is connected to the PC with serial cable, and is the only PLC on the system.

Is there a way to put Trilogi in Startup > On-Line-Monitoring > View  automatically at PC startup?

The default LCD display has items for others to view without many key strokes. This doesn't justify the cost of Excellink, but If there is another way to request the few values from the PLC and display it, with a little outline of the method, I probably could implement it. :)

The application is to monitor a gas well pressure.

5
Technical support / Counter values not the same
« on: April 19, 2013, 10:16:04 AM »
This is Trilogi 6.45 - 05 and 08, T100MD Computer is running Windows 8 Pro, with the recommended Java.

Piece of code from Custfun
 IF " < 10
CTRPV[3] = CTRPV[3] +1
ELSE
CTRPV[3] = 1
ENDIF

In Online monitoring mode:

In the Custfun, select "CTRPV[3]"

Displayed in the lower window:
CTRPV[3]
Current Value (retrieved from PLC) = 0

From the Online monitoring contact value screen
Counter 3 = 1

From, SETLCD 3,20,STR$(CTRPV[3],1)
"1" is displayed on the screen

Recently I had taken advantage of the new feature of defining DM[]'s with names. The program had worked previously, and general runs OK, but appears to be acting as if CTRPV[3] = 0

Any thoughts. I see the new feature where I can use a name in the CTR argument and probably will convert that to names in the future after I get this working. :)

6
Technical support / Re:Trilogi editting problems
« on: March 06, 2013, 04:19:03 PM »
Understand, probably should have clarified, I do not have the "_" in 1st, 2nd, or last positions.

Thanks again. :)

7
Technical support / Re:Trilogi editting problems
« on: March 06, 2013, 03:47:54 PM »
Good work! I had only 2 Label names that ended in "R", and only one of those was at the end of an active line, but numerous times. Adding the " " to the end of the line cured the situation. The other variable never was at the end of an active line, but "r" did occur numerous times at the end of comment lines and were not an issue.

There are numerous contact (input, relay, etc.) names ending in "R" (and including "r") that have not been a problem.

The 16 character limit is OK, I had only 1 name that was 16 characters, all the others were less.

I do still have numerous contact and label names that do have an underscore "_" not at first or last position that have not been a problem, is there any reason to remove the "_" from those instances? It would be nice if a few other characters were allowable.

8
Technical support / Re:Font display issue in Win7 x 64, JRE 1.4.2.19
« on: March 06, 2013, 01:38:16 PM »
Just a suggestion. Not having this problem with Trilogi and Windows 8 Pro, but could it be the video card and driver. I have had issues with Firefox on the same machine with various ATI cards when running XP PRO and the Ubuntu 11.*. Very different Fonts and line spacings. Ubuntu OK, Windows 8 needs improvement.

Thanks for the tip on the "TAB" between the label and the number

I am having issue with another software package (Intellicad) on Windows 8 not being able to run VBA. Apparently between 7 and 8 Microsoft deleted a bunch of VBA  support files from the install. When doing an upgrade the remnant files are left behind, no problem, but on a fresh install the files are missing. When run under a VM doesn't seem to be a problem. Just another one of those gotchas, these things popup in the wildest ways. :(  

9
Technical support / Re:Trilogi editting problems
« on: March 06, 2013, 04:27:55 AM »
Thanks for the quick reply, slowly the picture is evolving. One big question at this time, are my label names too long?? What is allowable length and characters. I have replaced many, there are near 80 DM[]'s in the program, and the majority have now names. Before I go further, need to know to not waste time.

The comment at the end of the line is very interesting. The DM[4000] only appears in one Custfun, but numerous times. I could send the entire Custfun if would help, or even the whole program. This application was started 7 or so years ago, and has occasional additions and modifications over the years. It's just recently that I have worked at cleaning up the code and changing mainly DM[]'s to names for readability. There are many contact and Custfun names with underlines in them. Hasn't been a problem yet, but something to keep in mind with future revisions.

10
Technical support / Re:Trilogi editting problems
« on: March 05, 2013, 08:06:52 AM »
More experience:~(
Was able to type in new half dozen lines in new inserted lines above problem lines, then delete the problem lines, and then copy paste with minor editing (changing index numbers) for the 7 more instances of the lines. The file is usable, but still editing problems that need to fix for future.

Started with a new file, added a ladder rung with 1 relay contact and 1 Custfun. The Custfun is only a one character comment, a 1 line "=" statement, followed by another one character comment. The 2 arguments of the "=" are entered into the define table. It does compile, but try to edit the "=" line, it disappears, add or delete a line above, and it's back with the editing just done. I did open the file with a hex editor (http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm#download), and didn't find anything weird. Most items are separated with 00h, and 00A end of line where should be.  Did a little experimenting, could be my label names are too long, but there are many others that similar lengths. My previous posts looking for variable name criteria haven't yielded any good results.

See attached Zip file, it's all of 444 bytes :)

11
Technical support / Re:Trilogi editting problems
« on: March 04, 2013, 06:49:14 PM »
A little more info:
Opened file in Firefox, didn't see anything in the problem area that looked strange. Closed without saving.

Apparently it's more a display problem then an editing issue. I can select the item DM[4000], and paste the replacement "ScreenNumOld". Display loses editing line, and numerous blank line appear below after several untouched lines. Hit the "ESC" key, exiting CustFun. Reopen the Custfun, the editing is complete and displayed properly. Trying to edit other instances of the DM[4000] results in the same issue. DM[4000] is the last (or very near) instance of any DM[] that has not been replaced with a label name. But no problem editing anything else in the Custfun. Both DM[4000] and "ScreenNumOld" are in the define table, and the label is accepted, orange color.

Here is troublesome code that appears 8 times in the custfun:

IF ScreenNumOld <> ScreenNumber
ScreenNumOld = ScreenNumber
SETLCD 0,1,CHR$(1)
ENDIF

If I put the cursor at the end of the second line and hit "DEL", the line disappears and  the empty lines below appear. Then if hitting "Enter", every thing goes back to before"Del".

12
Technical support / Re:Trilogi editting problems
« on: March 04, 2013, 03:33:16 PM »
Thanks for the quick reply. The .002 backup seems OK, but that's loosing a lot of work. The computer does dual boot Ubuntu Linux, would an editor like Gedit open the file, and help in repairing. The problem seems isolated to a few lines.

13
Technical support / Trilogi editting problems
« on: March 04, 2013, 02:49:15 PM »
This is Trilogi 6.45 - 05, T100MD Computer is running Windows 8 Pro, with the recommendedd Java

Had been doing considerable editing of a large (113KB) file, changing DM[] to variable names after importing a DM table, and was going well. The file did recently compile, and load to the PLC with no errors and apparently running correctly.

Did a find all of"DM[" to locate last remnants to change, found first of several instances, adjusted the selected string, and started typing a new string. The entire line including cursor disappeared, and numerous empty lines below. Problem seems isolated to one custfun possibly.  Opened file on 2nd computer running XP Pro Sp3 with same results.

Reloaded Trilogi on Windows 8 with no change.  

At the moment I'm assuming the file is damaged, how can I repair it?

14
Technical support / Re:Variable name limitations
« on: February 09, 2013, 05:49:51 PM »
Did a little research (don't take this for gospel, it's just a start), entering label names into the Define Variable names table, and then looking at the *.PC.6 file with a hexadecimal editor. Found the following:

1: Trying to enter special characters 2nd character or further to right (shifted top row of the keyboard), the only symbol accepted was "#", all other characters appeared as an underscore "_", but when looking at them in the hex editor, they appeared as 00h.

2: Maximum number of characters for a label name is at least 32, I didn't try more. The name "A234567890123456789012345678912" was accepted, Simulate compiled and seemed to work in a small program OK.  

As I said, this is a start, not to be relied upon at all. The only thing I kind of learned. There are no characters available to use a word separators for readability, which means the "_" I have been using is not good, and have a lot of editing to do.

15
Technical support / Re:Variable name limitations
« on: February 08, 2013, 09:37:51 AM »
Still looking for some guidance on what the variable name allowances and restrictions are: Length, forbidden characters.

Pages: [1] 2 3 ... 11