
adccommunitymod (AutomationDirect) asked a question.
Productivity Data Logger Auto Export
Created Date: December 15,2016
Created By: FishFacs
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
Hello, Can anyone suggest a way to automatically export the CSV files from the data logger on a productivity PLC to a network drive? Or even an FTP server? Doing it manually is getting tedious. Thanks FF
Created Date: December 15,2016
Created by: FishFacs
Hello,
Can anyone suggest a way to automatically export the CSV files from the data logger on a productivity PLC to a network drive? Or even an FTP server? Doing it manually is getting tedious.
Thanks
FF
Created Date: December 17,2016
Created by: HDowns
Here's a pretty good option. http://www.aggsoft.com/serial-data-logger.htm . There's a demo period, which may be enough time to decide and test all features. Look at their plugins and tutorials sections.
Created Date: December 17,2016
Created by: g.mccormick
I believe that advancedhmi can log data to csv file.
http://advancedhmi.com
I have used advancedhmi before and recently... and I am sure you could do this if you know how to map to the SD card??? But that is the piece of the puzzel that I am missing??? ANY HELP ON THIS FROM ANYONE WOULD BE GREAT!! heapere@vytron.com if you can please!!!
Hi @REHJ (Customer)
Currently, the Productivity line of controllers does not have an FTP server. There are a few ways that this can be done.
Email and Text Communication – Video
Google is removing “Less Secured Apps” in the mail app. (Gmail) If you are using this to send email from your controller, you must enable 2-step verification. This will then give you the option to generate an “App Password” for your controller or program.
Gmail Less Secure App Access – App Passwords
Data Logging – Video
FTP (File Transfer Protocol) – Video
Modbus RTU / TCP Communication – Video
Node-RED SQL Database Log – Video
Node-RED SQL Database Spreadsheet Connection – Video
Productivity PLC Node-RED MQTT – Video
Additional Links for reference:
https://accautomation.ca/series/productivity-1000-plc/
https://accautomation.ca/series/c-more-hmi-series-panel/
https://accautomation.ca/series/node-red-iot-enabling-software/
I hope this helps you out.
Regards,
Garry
ACC Automation
Thanks Garry for your response! You mention using AdvanceHMI and I would love to do that! That has been my plan as my plan in the end is to log all the info from ALL 11 production lines to one database. This would give us the instant ability to compare line stats and how well parts perform on each line given the variations we have... but how can I read these files has been my issue. What specifically I am needing is how to map to the SD card on the PLC? I know it can be done as they do this with the html software... so somehow there is a path structure I need to get there. Something like this... Public MyFileLocation As String = "\\192.168.81.173\MemCard\Logfile.csv"
OR
using the canned function of ModbusTCPCom2.Read("400021", 2) where the pointer to the IP address includes the path to the file or something I am not familiar with????
If you can let me know how to get the file uploaded using this programming method that would be AWESOME!!!
THANKS GARRY!!!
Roy Heape!
heapere@vytron.com
Hi Roy,
I do not know how to get this information from the SD card. I would call AD directly to see if they can point you in the right direction. 1-800-633-0405
If you plan on using AdvancedHMI then I would log my own information direct from the PLC. This would then bypass the SD card. Once the information is in AdvancedHMI, it would then be easy to store in a database file.
https://accautomation.ca/productivity-1000-series-plc-advancedhmi-modbus-tcp-ethernet-communication/
Regards,
Garry