Home > Forum > Controllers SlimLine e Netsyst (LogicLab) > How to use the SDCard for saving log files
- This topic has 19 replies, 10 participants and was last updated 4 years, 10 months ago da Sergio Bertana.
-
AuthorPost
-
June 23, 2016 at 3: 50 pm #39634Sergio BertanaAdministrator Forum
You probably confuse the old operating system for the “A” versions SFW167 and the new one for the “B” versions SFW184. Between the two operating systems the management of the file system and the relative commands has changed, in the SFW167D220 the format was like this:
Format s, c Where: s = "Storage" c = "SDCard"
Examples format 2, 10, formats the "Storage" disk so that it can contain up to 2 files, and the "SDCard" disk so that it can contain up to 10 files.The maximum number of files that can be managed in total (therefore the sum of those present on the 2 disks) is 12. The web pages were inside the firmware. The System directory did not exist. In this topic find other references.
January 16, 2017 at 5: 22 pm #39823LucaParticipantThanks, these examples are very useful.
However, I found the StringToLog FB, so I developed a FB that saves 20 REAL (input) values in a daily log file, always using the RETAIN variable (which is passed as an input / output variable).January 17, 2017 at 12: 46 pm #39824Sergio BertanaAdministrator ForumWe have released a new version of the FB called StringToLog_v1 in this topic find an example of use. To find the functions and the FBs, refer to the IEC61131-3 Programming Manual, as you can see on each object the name of the library where the object is located is shown. In your case as seen from the screenshot, the library is there eLLabLogLib_B100, which means that starting with version 100 of the library the object is found. To import the object you will need to select the latest version of the library from the Project-> Import objects menu (In this case it is eLLabLogLib_B100). Then you can choose the object and import it into your project. Since version 4 of LogicLab the extension of the project and library files has changed, so you must update the project with the extension plcprj (Topic).
May 23, 2019 at 6: 10 am #47633CorradoParticipantHello, the 512mb SD cards are becoming practically impossible to find and the few left have exorbitant prices is it possible to use SDHCs with larger dimensions and format them at 512mb?
May 23, 2019 at 6: 16 am #47635Sergio BertanaAdministrator ForumThe PLC CPU module SlimLine LogicLab Cortex M7 now manages the FAT32 formatting of the SDCard (Topic), and there are no more limits on the type of SDCard that can be used.
-
AuthorPost
- You must be logged in to reply to this topic.