Author Topic: Data Logging  (Read 6057 times)

Sdgraham

  • Newbie
  • Posts: 1
  • I'm a llama!
    • View Profile
Data Logging
« on: March 27, 2017, 01:21:19 PM »
I have looked at the example program on how to save data to the extended memory area of the PLC, but do not understand how to retrieve it using a standard web browser. Any help would be greatly appreciated. The manual makes it sound like it should be easy, but apparently I am missing something.

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3170
    • View Profile
    • Internet Programmable PLCs
Re:Data Logging
« Reply #1 on: March 28, 2017, 01:37:28 PM »
If you have extended file memory, then all you need to do is to use PRINT #8 to open a file, and then write data to it and close the file at the end. The file is now available for download via your web browser.

Note that the file names must be Zxxx.yyy e.g. Z001.TXT, Z002.CSV etc. You need to allocate enough data file space for the file.

Now you can point your browser to http://192.168.1.5:9080/Z001.TXT

and the file will appear on your browser.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS