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.


Topics - garysdickinson

Pages: 1 ... 3 4 [5]
61
Technical support / Set/Clear of RTC.ERR
« on: February 18, 2009, 10:50:47 AM »
Is there a way to set/clear the RTC.ERR using ladder logic or custom functions? I'd like to clear this bit after setting the TIME[] and DATE[] variables.

I notice that the RTC.ERR bit is cleared via the "Set PLC's Real Time Clock" diaglog in i-TRiLOGI.

I can load the TIME[] and DATE[] with correct time/data info by use of the <READ RTC> NS command.  The writing o the TIME[] and DATE[] values does not effect the RTC.ERR status.

Ladder logic can use "RTC.ERROR" as a contact but cannot use this bit at the end of the logic as a COIL (output, relay, ...) nor can it use "RTC.ERROR" as the target for a functions (latch/clear/Reset).

62
Technical support / TLServer File Services and On-line Monitoring
« on: February 09, 2009, 10:19:35 PM »
I'm working with T100MD+1616 hardware and would like to log PLC data to a PC using the TLServer and the <APPEND xxx.txt> mechanism.

The problem that I am having is that I'm using the same COMM #1 port for both debug (online monitoring) and the <APPEND xxx.txt> activity.  It believe that the data streams for the <APPEND xxx> file services are getting intermixed with the On-Line Monitoring requests to "see" what's going on with the PLC.

The TLServer help files state:

The TLServer will close the file after it receives the end-of-service tag "</>" from the PLC and it will in turn send a "<OK>" tag to the PLC to acknowledge that the APPEND  request has been successfully completed. It is up to your PLC program to check for the "<OK>" tag to determine if it the service it requested have been completed successfully.

The Help file gives no suggestion on how the PLC program should check for the "<OK>" tag.

I use the following code to read the <OK> tag I really mess up the On-Line Monitoring:

' Get Response from TLServer
'
A$=""
N=0
I = INCOMM(1)
WHILE I<>-1
    A$=A$+CHR$(I)
    N=N+1
    I = INCOMM(1)
ENDWHILE

Is there a special (correct) way to check for the "<OK>" token?

Is the <OK> tag buffered differently from the commands send/received as a result of the On-Line Monitoring?  Is there a special TLBasic function that I should use?

Would I have less problems if I used the XServer rather than the RS-232 connection?

63
Technical support / Use of MDS100-BW and I-7017 on same RS485 port?
« on: February 07, 2009, 06:14:16 PM »
I've got a I-7017 connected to an T100MD1616+ PLC.  I'd like to add the MDS100-BW to the same RS-485 port.

Can the MDS100 co-exist with the I-7017 on the same RS-485?

64
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?

65
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 ... 3 4 [5]