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

Pages: [1]
1
A new error from ExcelLink
"com neva.DdeException ddeError=04000 - A request for a synchronous advise transaction has timed out[A request for a synchronous advise transaction has timed out]"

The error occured during a disruption of the Excel file.  Are such errors non-recoverable for ExcelLink?  It appears ExcelLink must be completely shutdown to recover from this error message.

2
Technical support / ExcelLink Timestamp TimeZone
« on: July 09, 2008, 10:51:44 PM »
ExcelLink is recording the date Timestamp into Excel 2007 on a Windows Vista machine.  The timestamps as written to Excel in GMT.  Excel time function, NOW(), records time in Central time zone (a five hour difference).

Why does the ExcelLink timestamp record time as GMT while Excel is recording time as Central time zone?

3
Technical support / Re:Tri-ExcelLink 1.02 ArrayIndexOutOfBounds
« on: July 09, 2008, 10:44:55 PM »
Further testing completed.

1)  The ArrayIndex error occurs more often when dCusF functions are called often.  The error rate is nearly eliminated when a minimum time between any dCusF function call is set to 5 seconds (timer value of 50).  Prior arrangement triggered various dCusF calls based upon the special bits 0.5 sec, 1sec and utilized timers and logic conditions.  There is a hard relationship between the ArrayIndex error and the time between dCusF calls.  When the minimum time between calls is reduced, the arrayindex error quickly returns.  When the time is increased, the arrayindex error is nearly eliminated (or takes more than a day to occur).

This test was conducted by allowing dCusF calls to only occur in a specific order and only after a minimum time interval completed since the last dCusF completed.  Only then would the next dCusF function be called.

2)  In response to the previous post:  The SAVE_EEP and LOAD_EEP statements have not be executed on the most recent tests (as related to the recent blog entries).  The dCusF functions containing these instructions are inactive and never triggered (never executed).

3)  SOLUTION IMPLEMENTED - ARRAYINDEXOUTOFBOUNDS ERROR:
ExcelLink data recording utilizing the ExcelLink Run/Pause/Stop buttons has been abandoned.  Excel macros have been developed to start/stop ExcelLink actions.  The macros also monitor data recordings using the TimeStamp features of ExcelLink compared to the NOW() Excel function.  If the time between NOW() and the most recent ExcelLink data entry exceeds a predefined setpoint, the following command sequence occurs:
1) DDE STOP command issued to ExcelLink
2) The current Excel sheet is copied to a new sheet
3) The original sheet is cleared of all recorded data
4) DDE RUN command is issued to ExcelLink
5) Data recording continues at the top of the cleared Excel sheet.
Special Conditions:
ExcelLink must not be started for at least 1 minute following the error, otherwise the RUN command may fail.  I am guessing this corresponds to the "Suspended for 1 minute" message from ExcelLink.  The Excel Macro command "OnTime" is utilized to send the DDE RUN command following a 1.5 minute delay.

Further details of the Macro design are available if desired.

4
S3 and S4 both pointed to the same PLC.  Both computers were running the same ExcelLink configuration (same CFG file used on each of the two Windows computers).

An Excel macro has been written to monitor for loss of data writes from ExcelLink.  As part of the process, ExcelLink is sent the "Stop" comment, the current Excel data is saved to a new sheet and ExcelLink is then sent the "Run" command.

I have given up using ExcelLink directly (by using the ExcelLink Run/Stop buttons) and now rely on Excel macros to start and stop the ExcelLink data actions (by using the DDE Stop and Run commands).

5
ExcelLink was running on two different computers.  Both computers were recording data into an Excel spreadsheet from one PLC.  After running for over 23 hours, the following error message was received:

CommException: readline() Exception: java.net.SocketException: Connection reset

Computer 1 stopped recording at 55:08 min:sec (Office)
Computer 2 stopped recording at 46:27 min:sec (Lab)
(The 1st entry in each ExcelLink are selected to include TimeStamp)
Both computer clocks are within 1 minute of the same time.
ExcelLink record time is set for 50 (5.0 seconds)

ExcelLink error messages for each computer are listed at the bottom of this post.

I find this error message on the forum, but in relation to emails.  No email calls are used in this application.  The application contains 3 circuits with 2 outputs (one per circuit) and two dCusF calls on the third circuit.  The 2 dCusF are no more than 8 lines long performing range check and 1 setDAC command in each.

Is this error message related to a PLC event or issue?

Computer 1 ExcelLink error messages (Only S3 is Active)
Execute Active Actions from Active Sites
CommException: readline() Exception: java.net.SocketException: Connection reset in S3
Access to S3suspended for 1 minute
java.lang.ArrayIndexOutOfBoundsException: 16 in S3
Access to S3suspended for 1 minute
(ArrayIndexOutOfBounts) error repeats from this point forward

Computer 2 ExcelLink error messages (S3 and S4 are Active)
S4 contains 2 reads and 2 writes.

CommException: readline() Exception: java.net.SocketException: Connection reset in S4
Access to S4suspended for 1 minute
CommException: readline() Exception: java.net.SocketException: Connection reset in S3
Access to S3suspended for 1 minute
CommException: readline() Exception: java.net.SocketException: Connection reset in S4
Access to S4suspended for 1 minute
java.lang.ArrayIndexOutOfBoundsException: 16 in S3
Access to S3suspended for 1 minute
CommException: readline() Exception: java.net.SocketException: Connection reset in S4
Access to S4suspended for 1 minute
java.lang.ArrayIndexOutOfBoundsException: 16 in S3
Access to S3suspended for 1 minute
CommException: readline() Exception: java.net.SocketException: Connection reset in S4
Access to S4suspended for 1 minute
java.lang.ArrayIndexOutOfBoundsException: 16 in S3
Access to S3suspended for 1 minute
CommException: readline() Exception: java.net.SocketException: Connection reset in S4
Access to S4suspended for 1 minute
java.lang.ArrayIndexOutOfBoundsException: 16 in S3
Access to S3suspended for 1 minute
CommException: readline() Exception: java.net.SocketException: Connection reset in S4
Access to S4suspended for 1 minute
java.lang.ArrayIndexOutOfBoundsException: 16 in S3
Access to S3suspended for 1 minute
CommException: readline() Exception: java.net.SocketException: Connection reset in S4
Access to S4suspended for 1 minute
java.lang.ArrayIndexOutOfBoundsException: 16 in S3
Access to S3suspended for 1 minute
CommException: readline() Exception: java.net.SocketException: Connection reset in S4
Access to S4suspended for 1 minute
java.lang.ArrayIndexOutOfBoundsException: 16 in S3
Access to S3suspended for 1 minute
java.lang.ArrayIndexOutOfBoundsException: 16 in S4
Access to S4suspended for 1 minute
(ArrayIndexOutOfBounts errors repeat from this point forward)

6
Technical support / Re:Tri-ExcelLink 1.02 ArrayIndexOutOfBounds
« on: June 30, 2008, 05:17:35 AM »
SAVE_EEP and LOAD_EEP exist in the program, but are never called under the current test conditions.

Can you further explain the error message: java.lang.ArrayIndexOutOfBoundsException: 16 in S3

Also, why would only one of two computers experience a communication error?  Both computers are running the same ExcelLink configuration file - recording about 75 DM values (set to record every 5 seconds).

Communication loss is not a problem as long as ExcelLink recovers and continues.  There have been recording sessions where the "CommException: A29:No response from PLC ID=1 in S3" message is displayed, but ExcelLink continues recording.  Sometimes the "java.lan.ArrayIndex..." error message appears without the "CommException..." error.
Whenever the "java.lan.ArrayIndex..."error message is displayed, ExcelLink stops recording (fails to recover).  


7
Technical support / Re:Tri-ExcelLink 1.02 ArrayIndexOutOfBounds
« on: June 29, 2008, 03:11:29 PM »
Updated Runtime Results - Blank Program Loaded
>Ethernet XServer in use
>2 Computers are on the network
>Computer 1 and the Ethernet XServer are connected to the same Switch
>Computer 2 is on the ethernet, but is connected along the following hardware:  switch 1 TO switch 2 TO ethernet to phoneline adapter TO phoneline to ethernet adapter TO wireless router TO notebook computer.

>A blank program was loaded into the PLC
>ExcelLink data is set to record every 5 seconds, Excel columns A through BX
>Computer 1 logged the 1st 24hrs with no issue - No program in the PLC (blank program loaded)
>Computer 2 logged the 1st 24hrs with no issue - No program in the PLC (blank program loaded) (Note:  Computer 2 has been logging information for 73 hours - continuous (longest delay between datapoins logged to Excel - 1:29 (min:sec))

>Lab program loaded into the PLC
>Computer 1 logged data to ExcelLink for 19hrs 45minutes.  The following error messages were listed in ExcelLink:
----------------------------------------------------------------------
Saving Excel file...Done!
Saving Excel file...Done!
CommException: A29:No response from PLC ID=1 in S3
Access to S3suspended for 1 minute
Saving Excel file...Done!
java.lang.ArrayIndexOutOfBoundsException: 16 in S3
Access to S3suspended for 1 minute
java.lang.ArrayIndexOutOfBoundsException: 16 in S3
Access to S3suspended for 1 minute
-----------------------------------------------------------------------
The above error messages occured 19:45 into the recording session at around 3:15am -  there was no active interaction with either computer for hours prior to this point in time.

>Computer 2 logged continuously through the entire 24hr period - ExcelLink as running on computer 2 displayed only one message:
-----------------------------------------------------------------------
Saving Excel file...Done!
-----------------------------------------------------------------------
Computers 1 and 2 are recording data in parallel - both connected via ethernet running independent copies of ExcelLink

Are there any suggestions on further testing or means of increasing the reliability of the data logging from ExcelLink into Excel?

Differences between the two computer setups:
Computer 1:  ExcelLink configured to AutoSave every 180 seconds
Computer 2:  ExcelLink configured with AutoSave entry blank

8
Technical support / Re:Tri-ExcelLink 1.02 ArrayIndexOutOfBounds
« on: June 12, 2008, 06:17:39 PM »
I have updated to ExcelLink 2.0
A new 2.4Ghz quad core computer has been purchased
Microsoft Excel 2007 installed
Windows XP SP2

"No response from node 1" error message continues to plague the system.  TriLOGI 5.3 is connected and on-line monitoring is in use when the error message is displayed.  On-line connection is lost.  This remains to be a common error, no correlation with any system device has been determined.  No correlation with the ArrayIndexOutOfBoundsException error.

ExcelLink error - ArrayIndexOutOfBoundsException continues to plague the system.  This error seems to be associated with specific PLC boards.  However, I can not keep buying new PLC boards hoping this is the problem.

Are there further items you can suggest?

9
Technical support / Re:Tri-ExcelLink 1.02 ArrayIndexOutOfBounds
« on: May 27, 2008, 05:09:12 AM »
Thank you for the quick response time

1)  We are using the XServer

2)  Online monitoring drops out at random times but ExcelLink remains active.  This was specifically monitored for a few hours and no relationship between the Online Monitoring losing communication and the stated ExcelLink error message could be found.

3)  I will perform the test and report back.

4)  Still have 1.02.  Is 2.0 available for upgrade for current users or must 2.0 be purchased?

10
Technical support / Re:Tri-ExcelLink 1.02 ArrayIndexOutOfBounds
« on: May 26, 2008, 05:37:11 AM »
The ArrayIndexOutOfBoundsException continues to be a problem.  The problem seems to be associated with the T100MD888+ PLC.  A new PLC unit was installed into an existing lab setup.  The previous PLC rarely experienced the ExcelLink exception.  The new PLC experiences the ExcelLink exception between 10 to 20 minutes into monitoring the process.

Is there any new information or version available to address this problem?  Is there any chip or item on the PLC that may be an issue that I could replace?

Thank You

11
Technical support / LCD goes blank - backlite stays on
« on: February 21, 2007, 08:13:03 PM »
Using the T100MD888+ to monitor analog and digital inputs along with digital output controls.  A 4x20 LCD is also in use to display menus and data.

After running without issue for 6 months, the LCD now appears to turn off on occassion.  After cycling power, the LCD functions normally.  The LCD backlite stays on with the power.  Connections have been tested, a second LCD was tested with the same results.  The problem appears to be on the PLC board and not with the LCD (the 2nd LCD unit has only a few hours of run time).

Why does the LCD appear to turn off?
Is there any method other than power off/on to reset the LCD connection?
Has this problem been noted?
Is there any solution?

The LCD data may be monitored from a computer connected via XServer and the data programmed to the screen is updating.

Thank you,

Michael

12
Technical support / Tri-ExcelLink 1.02 ArrayIndexOutOfBounds
« on: October 31, 2006, 08:07:29 PM »
Saving data to Excel with ExcelLink software.  Many successful data collections achieved.  On longer runs (45 minutes and up), the following error began to appear (no specific frequency or trigger event observed):

java.lang.ArrayIndexOutOfBoundsException:
Access to S2suspended for 1 minute

All data entry stops.
Using the STOP or Pause button does not result in the continuation of data logging.  The only solution has been to close Tri-ExcelLink and restart.

What is this error?
What triggers this error?
Is there any way to avoid this error?

Pages: [1]