OkiePC
Lifetime Supporting Member
Alrighty, my application for case check weighing is coming along nicely, but I have some Crimson 3.0 questions. I am creating a directory on compactflash daily, and creating a file in that directory simply called data.csv. My directory is in the format yy-mm-dd, so today's directory is "10-09-23", on the root of the CF card.
Each time a case is weighed by the CompactLogix PLC, the value is sent to a 5/04 PLC which will correlate that weight with the barcode value and increment a counter.
In the G306A, I watch that value from the SLC and via event trigger with a data change of "1", I call a program that appends the csv file I created by adding a line with the date, time, barcode value and gross weight. This happens about 10,000 times a day.
Questions:
1) Am I writing to the compactflash 10,000 times per day, or does the G3 cache some of those writes and perform them in bigger blocks, or does this caching only occur when using the built-in logger?
2) When I remote view the G3 with IE8, and click on the View Logs link, I get a 404 error page not found. Have I broken the system logs by creating a directory? How can I get the system logs to work? I have never seen the system logs, but I think they might be useful.
Each time a case is weighed by the CompactLogix PLC, the value is sent to a 5/04 PLC which will correlate that weight with the barcode value and increment a counter.
In the G306A, I watch that value from the SLC and via event trigger with a data change of "1", I call a program that appends the csv file I created by adding a line with the date, time, barcode value and gross weight. This happens about 10,000 times a day.
Questions:
1) Am I writing to the compactflash 10,000 times per day, or does the G3 cache some of those writes and perform them in bigger blocks, or does this caching only occur when using the built-in logger?
2) When I remote view the G3 with IE8, and click on the View Logs link, I get a 404 error page not found. Have I broken the system logs by creating a directory? How can I get the system logs to work? I have never seen the system logs, but I think they might be useful.
Last edited: