Author Topic: Writing analog inputs to file  (Read 13727 times)

PDirac

  • Guest
Writing analog inputs to file
« on: March 22, 2004, 09:50:14 AM »
Hi,

I've been trying out examples of ladder and Tbasic and I
find it cool. There's one question that I haven't had any answers to : How do you write values of an analog input
to a file for curve fitting or processing ?

Best regards,

Bob

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:Writing analog inputs to file
« Reply #1 on: March 22, 2004, 02:31:40 PM »
The PLC itself does not have a file system. However, you can save the data within its 4000 data memory DM[1] to DM[4000] and then use the ExcelLInk program to retrieve the data memory into Excel spreadsheet for charting purpose.

Alternatively, since the PLC is able to command the PC running TLServer 2.0 to create a file on the PC harddisk,  the PLC can save the acquired data into the PC as when when it log a new set of data. The file can be saved as comma delimited so that it can be opened by an Excel program later. In this case there is practically no limit to the size of the data file.

(Note: TLServer is part of the TRiLOGI software)
Email: support@triplc.com
Tel: 1-877-TRI-PLCS