Data from PLC to DATABASE

randheerp

Member
Join Date
Aug 2006
Location
Bangalore
Posts
77
Hi,

What will be the cheap and best way to log data from PLC (let that be Modbus supported) to SQL server? I don't want SCADA or Historian.

Need your valuable suggestions...


Rgds,
Randheer
 
Randheer,
Also related to your other post - the Ignition solution would most likely be the SQL Bridge Limited module ($950). You could evaluate the whole thing with a trial.

http://www.plctalk.net/qanda/showthread.php?t=52709&page=2

Alternatively, do searches on "OPC data loggers", keeping in mind that you may need to purchase both the data logger utility and the OPC server (if you don't have a license for software compatible with your device).

I assume that "SQL server" is referring to Microsoft SQL Server...

I haven't heard of free packages that do what you're looking for. Some do exist that provide visualization capabilities (like Archie's VB based AdvancedHMI project). Some also exist with Excel spreadsheets (like the RSView->Excel over DDE), but that path is a nightmare to maintain.

Hi,

What will be the cheap and best way to log data from PLC (let that be Modbus supported) to SQL server? I don't want SCADA or Historian.

Need your valuable suggestions...


Rgds,
Randheer
 
I absolutely agree with Nathan; Ignition's SQLBridge is the easiest, most robust database-oriented automation software system I have used.

If your PLC supports Modbus/TCP, you are all set; the free OPC-UA driver works with Modbus/TCP.

If your PLC supports Modbus/RTU over serial, you will need a Modbus TCP->RTU converter. There are many models on the market, including from vendors like Digi, Moxa, and Lantronix.
 
I am not necessarily trying to be a cheerleader for Ignition, it's just that I am working on a different product this week and have spent literally days stitching together a laborious correlation between an HMI panel's data log, a PLC's embedded data log, some custom VB software, and an Excel report.

If this system was built using Ignition, everything would be in one SQL database. Finding the time and sequence of a set of events would be nearly trivial.

As it is, I have to spend literally ten minutes holding down the "scroll" key, then taking photographs of the alarm history on a touchscreen, then matching their timestamps (not synchronized except to a couple of minutes) to an Excel file.

I would still have my other firmware problems and calibration problems and training problems. But I would have no database problems.
 

Similar Topics

Hello, For my general information and knowledge, how is querying and storing data from a AB PLC (Compact or Control Logix) typically...
Replies
15
Views
7,380
Hello Eveyone, I need your advice on one problem.I am using CompactLogix PLC.I am looking for some ways.So, that a PLC program can read data from...
Replies
26
Views
13,626
Good Afternoon All. We have a 5 generator power station at site, with each generator controlled by an Allen Bradley SLC 5/02 PLC. These all...
Replies
5
Views
19,813
Hi, Wy we log data in PLC using DLG instruction, when we have option to log data in HMI
Replies
1
Views
80
Hi Iam using monitouch hmi(V9 soft) with omron plc cj2m (CX programmer). In this I want to read a data from hmi to plc. The data was like...
Replies
0
Views
95
Back
Top Bottom