Log file in PLC

Hi everybody, I will like to write a ladder that could save some values in a log file that could be easy to read in the event of trableshooting. Example: a sensor is working normal and suddenly fail, I want to save the value of the sensor failure in a log file that could tell me ,that this sensor needs to be replaced or adjusted.
My question is how to write a ladder to save the failure value of the sensor in a log file. Also how to write the log file using RSLogic500.
Thanks.
 
Well a little more info is needed. is the input analog or discrete?
What it senses is constant in time or a variable? The log file is easy but lets take care of the other items first.


Drewcrew6
 
Thanks for your answer.
The input is discret and the sensor is sensing a countinuous movement.
I am new PLC lerner and I will like any example how to do this Log file and rung.
Thanks again.
 
PLC memory is limited, and predetermined. In creating a log file, you need to decide, up front, how many log records you will be storing, and the amount and type of the data each "record" will contain.

I want to save the value of the sensor failure in a log file

The input is discret

Then the "value" is either One or Zero.

How are you determining that the sensor has "failed"?
 

Similar Topics

Overview I have 3 registers, 32 bits each, to log to a CSV file. And I'd like 'THE PROGRAM' to read 4 registers and write the data (first 3) to...
Replies
17
Views
21,173
PanelView Plus 7 Perf I would like to upload the fault history from the panel to the PC, if it is possible to transfer the file to CSV format or...
Replies
0
Views
777
Hi, I have an S7-1500 CPU which is data logging using DataLogCreate and DataLogWrite. I am logging at 5Hz so I want the ms value to be in the...
Replies
3
Views
2,029
Dears, I need to add Siemens SITRANS FC430 to the existing PROFIBUS on the machine. I have downloaded GSD files, but while trying to update...
Replies
8
Views
2,460
Newbie so sorry if this question is very general or has been discussed elsewhere already. We have a R/O system installed presently and I am...
Replies
1
Views
2,505
Back
Top Bottom