Productivity PLC: Read csv from uSD card?

theColonel26

Lifetime Supporting Member
Join Date
Feb 2014
Location
West Michigan
Posts
782
Is there any way to read a CSV file from the uSD card on a Productivity PLC? I would like to have a config file for the end user (Non Controls guy) to beable to set certain variables on the PLC.
 
I don't think so; the microSD interface is a faceplate in the software for data logging and possible program transfer. The logistics of being able to parse the file and making sure the CSV data is valid would be difficult. Does SCADA or an HMI exist? PVplus can access a network file storage device and read data.

Setting aside common practice, they could plug a laptop into the ethernet port and run a python program you will have to write. Use the productivity "Custom Protocol In (CPI) Instruction" and write a python program using sockets. Python would read the file and send the data over your protocol. Or read the CSV file and send data over Modbus TCP with the help of this modbus library. Search gitHub and pypi, they have the most common protocols implemented in python, even in EtherNet/IP.

py2exe will convert a python program into an executable .exe
 
Last edited:

Similar Topics

Are there any HMIs besides C-More that offer a driver for the Automation Direct Productivity series PLCs? Running into some issues with C-More and...
Replies
10
Views
1,518
Hey guys, I am using the logging function of the Productivity PLC (P-550) to log 64 tags into a CSV file. I can access these files using the...
Replies
10
Views
4,309
Replies
12
Views
3,764
Hello, I have a new customer that wants to retrofit a packaging line that is currently running a keyence PLC. It is a pretty simple process...
Replies
11
Views
4,042
This is my first post on ANY forum and following the first private message I received I am posting this here so bear with me. I have been working...
Replies
4
Views
4,032
Back
Top Bottom