logix real-time logging

cking2729

Member
Join Date
Jul 2014
Location
texas
Posts
9
Hello,
I am trying to find a solution so I can make a real-time event log for customers which logs PLC events in a .txt or .csv or even .xls format.
For example, when the OTE for motor 100 turns on in the controller, give a real time event log reading "Motor 100 has turned ON." Obviously that's a very simple example and most users would be able to tell that by looking at the HMI. But other examples where the log history comes in handy with a customer that isn't PLC literate:
At 10:55:34am a box is assigned to get kicked down a certain path based on the logix and at 10:55:37am the solenoid OTE fires to kick the box. My sequential log file would read something like
"10:55:34am Box 44 is assigned to LANE 21"
"10:55:37am Box 44 diverted down LANE 21"

I have several solutions than can get data and I/O states over to a PC via OPC server, but I was hoping there's a solution that could accomplish this as well as create the lines of EVENT text that corresponds. I need actionable info for the customer, not just raw data.

Unfortunately, FactoryTalk Alarms/HMIs aren't financially feasible. SQL databases are kind of overkill because all I need is a .txt or .csv file in sequential order on a local PC.

I was really hoping there was some way I could accomplish this in the PLC using structured text or after it reaches a PC via OPC using one method or another.

If any one has any ideas or software suggestions, the help would be greatly appreciated!
 
Since you mentioned FactoryTalk I am going to guess that you are working with AB PLCs. If that is the case, AdvancedHMI can get fairly close to want you want with its BasicDataLogger. If the BasicDataLogger doesn't get you exactly there, using a Data Subscriber with a few lines of code will get you exactly what you want.

Cost is not a problem because the base package with everything you need to do data logging is free. It even includes the drivers, so no need for an OPC server.
 

Similar Topics

Is there a way to use LREAL Data type on L71. I am getting 64 bit Double (IEEE754 Double precision 64-bit) data from a modbus device onto PLC via...
Replies
6
Views
955
I can't say I recall ever encountering this, but when adding a decimal number to a REAL, I'm getting a strange precision. For example, starting...
Replies
4
Views
1,468
My company imposes programming standards and insists on using AOIs for AI, AO, DI, DO points. I like AOIs and use them as subroutines when I have...
Replies
10
Views
3,074
Greetings fellow PLC programmers, I know there is a simple way to get the system date time of the RSLogix system. But, is there then a way to...
Replies
12
Views
8,587
Hi all I thought I had this working but upon doing a checkup a few months after the machine was commissioned, I found that adjusting the RTC via...
Replies
4
Views
1,852
Back
Top Bottom