kewakl (Customer) asked a question.

P1-540 datalogger Where are my logged samples going?

I tell the logger to log the tags. Using remote access- Pen Drive Files webpage, I can see that the filesize has increased by about 300 bytes and the timestamp changes.

 

I download and open the file in excel, NO CHANGE. No new data.

 

The tags DO HAVE DATA. I am attempting to log 50 strings of ~12 characters.

IS this too much for the logger in one cycle?

Manual or automatic triggering the logger yields similar results - sometimes new data, usually not. After a project transfer, the logger usually works - once.

The uSD card is a 4GB Sandisk.

 

I have disabled all code except the TMC for triggering the logger and the PDME/PDMR eject/ready code. Same results.

I have used the logger ON THIS SAME PLC a few times in the past.

Any ideas?

 

 

 

 

I am using 3.8.0.14 now, earlier I was using 3.7.0.10 (same FW 1.2.8.30 as in the link above)

 

updated to FW1.2.9.27 - no observable changes - maybe I will go back to 3.7.0.10 and compare.


Newbie and mashva like this.
  • ADC Community_02 (Automationdirect.com)

    Currently the buffer is not flushed when accessing a file via web server. I have put in an improvement request to our development team.

    Selected as Best
  • ADC Community_02 (Automationdirect.com)

    @kewakl (Customer)​ Can you attach your project or PM it to me. We would like to try and duplicate here on our end using your project.

    • kewakl (Customer)

      I can, probably tomorrow. It is about quitting time and I am trying for a minimal reproducible verifiable example (MRVE).

      I did drop back to 3.7.0.10 - still an issue. So I will go back to 3.8.0.14

      The MRVE will have almost no code- just what is required to handle PMDE/PMDR.

      It will have the logger configuration/trigger.

       

       

       

      Expand Post
    • kewakl (Customer)

      I am not sure what is going on.

      I created a new project using AR2S32 instead of AR2STR tags.

      I logged 10 tags from the array using TMC of my LogIt tag.

      An image of my capture is attached. (3.7.0.10)Logger Issues 

      The first log triggers may not create files.

      I attached a simplified copy of my project - however it is not aptly named, anymore.

       

      [Edit: I used another P1-540 for this test. FW 1.2.8.25 I used the same uSD - will look for a different uSD]

      [Edit: I located and use the 16GB ADATA uSD from a P1-START kit. Same response.]

      Expand Post
      • ADC Community_02 (Automationdirect.com)

        I noticed you have the logger to trigger every 10 msec. I would suggest backing this off to 100 msec to see if this captures all your data. Then lower that time to see when you start to lose data.

      • kewakl (Customer)

        From some time back, this is the logger config that I logged a LOT of data:Journal_LoggerForProductTransitionHere is one image of the logged data:

        Journal-LoggedDataNote from the bottom tabs, there is much more data here.

        I also have many files with similar datasets - so I know that the logger can work, something is just 'off' in my data/config/hardware...?

        Expand Post
      • kewakl (Customer)

        That TMC time is intended to be the duration of the log trigger signal, not the trigger interval.

        I have been experimenting with trigger duration signal, too: from a TMC preset of 10 to 500.

        I went back to the log project from a couple months back. I used STMR with preset of 200 for the trigger signal duration. From that info, I tried TMC Preset of 2000. No change.

         

         

        Expand Post
  • kewakl (Customer)

    I have not. The PLC is, however, doing nothing else and I am waiting 'seconds' before attempting to read. I also have gotten into a (maybe bad) habit of refreshing the remote web page 2 or 3 times before downloading the file(s.)

    I am paring down what I am attempting to log, to see if I am reaching some data size limit- I do understand that strings are 'large' even if only 15 12-15 characters.

     

     

    Edit, correct string size

    Expand Post
  • z28z34man (Customer)

    have you tried in different hardware than a P1-540. Just wondering if the problem would persist in a P3?

    • kewakl (Customer)

      I am not discounting your suggestion.

      This is the same PLC that I used to do a lot of logging a couple months ago.

      At this time, I am leaning on the total byte count - rather than tag count - as the issue.

       

      I mentioned in the OP:

      The tags DO HAVE DATA. I am attempting to log 50 strings of ~12 characters.

      IS this too much for the logger in one cycle?

      hoping that someone could be able to corroborate my assumptions that the total byte count of the STRING datatype/number of string tags is just too much for one triggering of the logger.

      I am paring the list in an attempt to find that balance.

      Expand Post
10 of 56