kmhsystems
Member
Anyone have an example how to do this? OPC server I assume but have never done this. What would I need.
Thanks for any help.
Thanks for any help.
Anyone have an example how to do this? OPC server I assume but have never done this. What would I need.
Thanks for any help.
You can't do this directly from the PLC, you need something to handle the exchange.
A hardware solution like this is a rack module:
http://www.softing.us/product/1/eatm-tmanager/
Or if you have some type of SCADA software you typically can write a script to connect to the database through an ODBC connection and do what you need.
There are plenty of dedicated software solutions as well. Kepware, FT Transaction Manager, Ignition SQL Bridge...etc
Yes you can. In fact I was just going to create a new thread for this asking if anyone had any progress in doing this on their own?
There is a company that sells a package (including AOI) that does this.
http://www.sql4automation.com/en/fe...ase-connector-plc-rockwell-allen-bradley.html
There's an appliance that sits between the PLC and the database. Still a neat idea, though.
EDIT: I'm gonna retract that for a moment. There's some conflicting stuff I'm seeing. I'll take a closer look...
The SQL4automation Connector V3 runs as a service on Windows (XP and up) or Linux (Ubuntu).
The connection between PLC / robot control and the Connector is established via TCP/IP. The connection to
the database is made via ODBC. This means control system, connector and database must be able to
communicate with each other via TCP/IP.
Gotta say, that's just cool! And kinda jealous he got his hands on a Pi Zero.There is nothing spectacular about doing this except that he has it running on the Raspberry Pi Zero (the $5 computer)!