ORSO2001 Posted December 18, 2015 Report Share Posted December 18, 2015 Dear All, I tried to use the Data Table Index; I created a Struct with 2 columns...a number INT16 and a name STRING with lenght 10...I put online the PC with the PLC to check the data table refresh and I see that to transfer the values into the data table is needed 10 or more seconds...same thing to write a row already inserted. Some suggestions? Link to comment Share on other sites More sharing options...
s.pratt Posted December 18, 2015 Report Share Posted December 18, 2015 Hello, I don't know if I properly understand what the issue is. It takes 10 seconds for the data table in the PLC to update in UniLogic while online with the PC? Are you directly connected to the PLC? Does the data table data update instantly on the PLC, or does it also take a long time? Link to comment Share on other sites More sharing options...
ORSO2001 Posted December 21, 2015 Author Report Share Posted December 21, 2015 Dear Pratt, sorry for delay answer...yes the PC was directly connected with the PLC by usb cable...yes both transitions (read from and write to DTI) needed 10 sec...but I want update the situation...I have replaced the SD card that I used with a new one (I bought it yesterday...for this reason I write only now) and now all works properly...the function is the same I don't modified nothing...I tried it because after that I have checked how the transfer of DTI to SD works I have found that the SD was not recognized!...is possible that a fault SD can be the cause of it! I don't came back in the original situation to test maybe I will try it next days. Link to comment Share on other sites More sharing options...
s.pratt Posted December 21, 2015 Report Share Posted December 21, 2015 Thank you for the update! Yes, a faulty SD card would be the cause of delayed read and writes to the DT. We can verify if the PLC recognizes the SD card and if there are any faults through the status integer in the DTI struct and through the system struct, 'External Storage' and 'SD Files'. If you would like a further review, please send your program in to support@unitronics.com with the brand and capacity of the faulty SD Card used. Also, if you can verify any faults with teh faulty SD card when trying to read or write to the DT, please let us know of these too. Link to comment Share on other sites More sharing options...
Saragani Posted December 22, 2015 Report Share Posted December 22, 2015 Hi, write row and read row are instant, since the table is located in RAM of the CPU and it is all done in ladder. The only things that takes time is Saving the DTI to a file or loading it from a file, since this requires accessing the Panel (where the SD is located), and furthermore, file system operations takes a long time (You can see it in your computer, when you copy a file). The 10 seconds delay might be related to the Online (It somehow got a delay, which is maybe related to the faulty SD Card), but that doesn't mean that it took 10 seconds to read or write a row to the DTI, since it involves only RAM operations of the CPU. Link to comment Share on other sites More sharing options...
ORSO2001 Posted December 23, 2015 Author Report Share Posted December 23, 2015 Dears Pratt and Saragni, Yesterdy I was stesting some modification (I have created a new DTI) of my program, the PC and PLC was connected together by a USB cable,..the SD card is the new one (32 GB , mSDHC)...now I have that the PLC update the tag's value immediatelly when it try to read an existing row...the update of the DTI grid on the PC needed a very long time and for 2 times the PC interrupted the connection with the PLC with an alarm windows and the PLC crash and reboot itself...? after the second crash the situation is back "normal" (no crash). today I will send you my program to check it and the old SD data. thanks in advance Link to comment Share on other sites More sharing options...
ORSO2001 Posted December 23, 2015 Author Report Share Posted December 23, 2015 Dears Pratt and Saragani, I sent an email at support@unitronics.com with attached the program that I am creating. Thanks for your help Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now