PLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

  1. 602129929@qq.com
  2. Proficloud
  3. Wednesday, 11 March 2020

Hello sir:

We know that PLCnext supports offline caching to Proficloud: for example, use PLCnext to connect to Proficloud. All configurations are normal, the network is normal, and you can upload time series data (TSD) to Proficloud via PLCnext.But all of a sudden, the network cable is pulled out or the network signal is bad, the PLCnext data has not been able to upload to Proficloud for a while, and then when the network is back up again, the data can be sent to Porficloud again.And we tested it, and it worked.

 However,how do we measure this offline caching capability?For example, Is there a limit on the number of bytes of data transferred, or the time limit after offline, or there is a corresponding cache on PLCnext?once the data is exceeded, the upload cannot continue. Could you tell us how does it work and it's relevant parameter  ?

Looking forward to your reply.Thank you very much!

Martin PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello,

You can see the Proficloud settings in this file:

/etc/plcnext/device/Services/ProfiCloud/proficloud.settings.json

The two parameters sampling_buffer_size_elements and sampling_rate_ms give an idea of how long data will be buffered before data loss will occur.

As with all files installed with the firmware, it is highly recommended that you do not change the contents of this file.

~ Martin.

 

Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support

  1. more than a month ago
  2. Proficloud
  3. # 1
602129929@qq.com Accepted Answer Pending Moderation
0
Votes
Undo

Could you explain what is the mechanism of this cache? Is the ring - buffer? Once the buffer exceeds the storage limit, does the new data overwrite the old data? Or what kind of mechanism?

We did a simple test as follows:

PLCnext connected to the network through the router, and then connected to the Porficloud. The time series data (TSD) was uploaded normally. The operation of PLCnext's cached data in the case of network outage was tested by unplugging the cable interface. All PLCnext about Proficloud configuration parameters are set by default.

We did the following tests:

1. When we unplug the network cable for a short time (such as 5 minutes) and then plug it in again, we need to wait a little time, and the data can be restored normally.

2. When we unplug the network cable and wait for a long time (such as 1 and a half hours) and then plug it in, it occurs that the data in the intermediate time (from unplugging the network cable to plugging the network cable) cannot be uploaded to Proficloud, and the time after the subsequent plugging in the network cable cannot be uploaded any more. It seems that the whole data uploading process of plcnext-proficloud is no longer carried out.

When we restarted PLCnext, PLCnext was able to resume uploading data to Proficloud, but the data before were not uploaded successfully.

Please see the attached picture.

This happens to our customers in practice, and they are very concerned about this caching feature. Whether you've done any similar tests? How can such problems be solved?

Looking forward to your reply! Thank you very much!

Attachments (3)
  1. more than a month ago
  2. Proficloud
  3. # 2
Martin PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hello,

Yes, the PLCnext Control has an in-memory ring buffer so old values in the buffer will be lost after being disconnected for a certain time, and all buffered values will be lost if the device is powered off.

What you are seeing sounds like a problem, so I will ask for this to be investigated.

~ Martin.

 

Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support

  1. more than a month ago
  2. Proficloud
  3. # 3
602129929@qq.com Accepted Answer Pending Moderation
0
Votes
Undo

Hello

Waiting for your test! If you get a conclusion ,please inform me.

 

Thank you very much!

 

  1. more than a month ago
  2. Proficloud
  3. # 4
Martin PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hi, can you please confirm that this problem happens with AXC F 2152 firmware version 2020.0.1 ?

Apparently there was a problem similar to this in earlier firmware versions, but that problem has been fixed. If you are seeing this problem with the latest frmware version, then we will investigate further.

~ Martin.

Phoenix Contact Electronics Headquarters - PLCnext Runtime Product Management and Support

  1. more than a month ago
  2. Proficloud
  3. # 5
602129929@qq.com Accepted Answer Pending Moderation
0
Votes
Undo

after_Proficloud_disconnected_with_AXC_F_2152_for_long_time_and_AXC_F2152_restart.MP4

Hello sir

we update the firmare to the 2020.0.1LTS, however the PLC is still the same conditon, after we insert the cable , wait for a while, the PLCnext controller restart and Fail and RUN lights are blinking. and it could n't work any more. So please can you test it ,if you have time.

 

Looking forward to your reply!

  1. more than a month ago
  2. Proficloud
  3. # 6
Arno PLCnext Team Accepted Answer Pending Moderation
0
Votes
Undo

Hi, could you send to me (to arno.fast@phoenixcontact.com) the output.log  file from the PLC after the problem happens? After that we can investigate it more.


Phoenix Contact Electronics Headquarter - Support Center

  1. more than a month ago
  2. Proficloud
  3. # 7
602129929@qq.com Accepted Answer Pending Moderation
0
Votes
Undo

OK, we will send your  an email!

  1. more than a month ago
  2. Proficloud
  3. # 8
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.