Jump to content

Search the Community

Showing results for tags 'SD'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Our Community
    • Come on in!
  • News and Announcements
    • Latest Release! UniLogic Spring 2020--Loadcell, BACnet IP Server and more!
    • VisiLogic:9.8.64 - Link to mobile app, Ladder: 2x the Space!
    • New!!! ***** U90 Ladder*****
  • UniStream HMI + PLC Programmable Controllers & UniLogic Software
    • UniStream: Hardware
    • UniLogic Software
    • UniLogic UDFBs
    • Industry 4.0, IioT, MQTT, OPC UA
  • Vision, Samba, Jazz and M90 PLC + HMIs & Software
    • Vision & Samba PLC + HMI Controllers & VisiLogic Software
    • Jazz, M91 PLCs and U90Ladder
  • Software Utilities
    • SD Card Suite
    • Remote Operator
    • Remote Access
    • DataXport and DataXls
    • UniDownloader
    • UniOPC
    • UniDDE
  • Utilities for .net and Visual Studio
    • Unitronics PCOM Protocol
    • COM Object ActiveX .dll
    • .NET driver
  • Project Design
    • ...I have a project...what hardware do I need?
  • User Application Stories
    • Just finished a great project?
  • Tips and Tricks
    • Best Programming Practices
    • Tips and Tricks
  • Job Board
    • Projects seeking Programmers
    • Programmers seeking Projects
  • General Discussion
    • We're Listening...
    • The Lounge
  • News and Announcements Copy


  • Community Calendar


  • Unitronics' Blog: PLCs, HMIs and more
  • Saragani's Blog
  • Simon's Blog
  • Ash Neilson's Blog
  • Joe Tauser's Blog
  • Unitronics en Español
  • Powered by AMPS
  • Alldrives UK's Blog
  • Unitronics, Howman Style
  • PLCNewbie's Blog
  • Telestar Automation Blog
  • Webinars Collection
  • Tim's Corner
  • Blog
  • TELESTAR (Italian)
  • i4 Automation
  • i4 Automation (UK)
  • Unistream UDFB's


  • From Headquarters: Sample Applications
    • From Headquarters: VisiLogic
    • From Unitronics: U90 Ladder applications
  • User-submitted Applications
    • From Users: VisiLogic applications
    • From Users: U90 Applications


  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media


  • New Features
  • Other

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 37 results

  1. Dear All, I am using the USB key to transfer some DTI...all works fine but sometimes, after I removed the DOK, a windows appears and highlighted me that I done this action in a not security way...and tell me to use the " safely remove DOK" !?...in the UniApp I have it but how I have to do to insert this "button" in the ladder...where I find the function? into the "external storage" I found only the BITs about the SD and DOK presences. thanks
  2. Hello. I have a problem that might be related memory capability in the SDcard. Suddenly (after a Power Off/Reset) all my trends stopped. When I open the trend it is empty and the Run/stop button displays Run. If I press the Run button nothing happens, but I am still able to open and view the "History" trends. Also all my trends had status -3; Save file error (File name may contain illegal character) (my file names are the same as when the trends was working). In my Project I use 12 data samplers/trends, 4-8 REAL variables in each trend, sampling interval 1s - 1min.The trends had been running for several weeks when the problem occured. After I changed my SD card to a new (empty) one, the trends worked again. So I assume that the problem was related to running out of memory on the SD. My SDcard is 16GB Do I have to delete history files from the Unilogic program to avoid running out of memory, or is this automaticcaly handeled by Unilogic? If I have to do it from the Unilogic program, do you have any examples on how to do this? Thanks!
  3. Dear All, I have to store a DTI table, when it is full (1000 rows and 8 columns), in the SD card...and after I have to clear the table to start again with the recording of the data...how much time is needed to store compleately the table to enable the "clear DTI" ladder function? in the "help" I found an extimated time only if I use this function followed by a "load from file" function. thanks
  4. Hello, I'm doing a project where I have to save alarms to SD. I have a V570 with 2GB SD card (The SD Card is formatted with SD Card Suite). I set the SB352 (Write alarm history to SD) and it does that, it writes alarms directly to SD card. If I have some alarms in buffer (SI76 value is greater then 0) and I set SB352, the value in SI76 clears and ALARM.UAL is increasing in size. So I think the alarms are written to SD Card. The problem is when I use the FB "Show alarms" with "Alarm history" option. It shows the history, but after a PLC Init and Reset, the history is cleared. It shows the history from PLC Memory, not from SD Card. So, my question is how should I save alarms to SD and then display them? Thanks!
  5. I know it's possible with the Advanced Web Server to download a file from the SD to the PC via web explorer. Now I have a finished application where the customer needs to download the CSV without use the SD Card Explorer. Copy and paste all the application to the .vlp with the embedded webserver is a task for titans but I don't know how to start to make a simple application to download a CSV. It will be about chunks... Anyone can help me? Project: A PLC with IP and a CSV called test. Download from internet explorer:
  6. Hello everyone, I have a few questions about the software Unilogic and using it together with the USP-070-B10. First, what I want to know if it is possible to read the files on the SD card in the map "/DT" and especially the files for the data table because I want to show the user which files are on the sd card, but I dont want to use the uniapps menu. I have created now that everytime the user send a file over ftp to the PLC, the data table will add a new row with the name, but if the user change the sd card or remove a file from it, the PLC need to see this also. Second, I have created a data table with strings, if I'm trying to search for a specific string a column. But if the string is for example 10 long and the word I'm trying to search is only 4 long, I cannot find it. But if i make search first from 10 long and the second 9 and the third one 8 the value will be found. but the fourth value cannot be found with a length of 7. this mean that I can only search for 3 different lengths, but if the users insert more different values between 1 and 10, only a few values can be found in the data table. But if you use integers and search for integers he can find all the values. how can this problem been solved? the search value will be typed in a text box on the display. third, Is it possible to program on the PLC that if there are any excel files on the SD card to create a data table file on the PLC itself. then the user can send the excel file through TCP to the PLC and does not need to send the data table file. If someone could help me with this problems, you would be thankfull! Leon
  7. Hello, Is it possible to put an extention cable in the SD slot? I need to access the SD slot without opening the panel door. Also, is it possible to download/View trended data/graph form the SD card using SD Card Explorer via Com Port? Thanks in advance!
  8. hi all, i would like to ask if is it possible to save all 8 trends from a v1210? i need to save at least 5. also how many tables can i save on the sd card? thanks
  9. My PLC is V350-35-T2 I have been having trouble displaying in my PLC a trend written to my SD card. I am able to write the trend to the SD Card and view it in the SD Card Manager but I am not able to view it in my PLC. I write the active Trend to a file called InnUt.utr When I try to use the "Trend from SD" variable in another display, it displays nothing. When the file "InnUt.utr" does: -exists the "Trend load error bit" is "0" -NOT exists the "Trend load error bit" is "1" So I must have the filename and folder correct in my program. Can anyone help me figure out how to display the the Trend in my PLC?
  10. Hello, I am working on a project that requires recording the trending data from 4 separate trends to the SD Card. They want to record the data "no less than once every 5 minutes". I based my code off of the program in the examples file in the help menu and was able to get a single trend screen to record (I did it on the v570 for testing) based on a series of timers. The code worked fine however when I used the identicle code for the v1210 (setting up a single trend screen for recording) my start->trend SD Status message reads 256 which I assume is "failed to open file". Does anybody have any pointers on getting the trends to record to the SD card for a v1210? I would export the subroutine and attach it to this post but it won't let me export due to "elements that refernce Named Constants"
  11. I have a V350 with trends and csv to SD. It works well but sometimes when the customer switch on the PLC we see the SB217=0. If you remove the SD and insert again the error is the same. I have seen that the only way to back to run is remove SD from OPLC, to insert in a PC doing nothing more and back to the OPLC. The application is a datalogger, if we have problems with the SD we will have a serious problem. Any idea to resolve it?
  12. People who see the SD Card Explorer in action usually sometimes wish to have the same functionality in their own application.Some of them contact Unitronics in order to get some details on the protocol, or ways that they can do the same, while others fear from the worst: that it's a lot of work.I know very few people that will be happy to write the whole protocol by themselves.The only guy I can think of in that matter is Ash Nielson... I have no idea where he gets his strength and energy from, but the solution for this problem is actually simpler than you think.You don't have to be energetic as Ash in order to write your own SD Card Explorer because the .Net communication driver actually contains all the logic If you don't know what the .Net communication driver, then please refer to the Downloads section on the main website (not the forum) it has some examples + the source code of the .Net communication driver.For those of you who does know how to work with it, I can assume that you are already familiar with the all mighty and magical PLC object.Within the PLC object, hides a small sub class called SD.This class gives all the capabilities of reading and writing files and also listing directories and deleting files.So how do we get started:Lets assume that we have a Serial port called serialLets create a PLC object:PLC plc = PLCFactory.GetPLC(serial, 0);All the code that I will write will be in C#, but the syntax in VB.net is not much different.Now that we have a PLC object called plc, we can access it's SD Class.Please note that SD capabilities are only available to the Enhanced PLCs (V570/V130/V350).Before I give any more code examples, I'll list the Public functions inside the SD Class:public Folder Dir(ProgressStatusChangedDelegate del)Returns a Dir of all Folders and files in the SD (Dirs the Root). ProgressStatusChanged is being used to return the Status, Pecentage and Action of the current Statuspublic Folder Dir(SdFolder sdFolder, string filesExtension, bool scanSubFolders, ProgressStatusChangedDelegate del)Requests Dir Syncrhronously. Accepts SdFolder enum as the path to list, extension for example "*.*", and some other paremeterspublic Folder Dir(string folderName, string filesExtension, bool scanSubFolders, ProgressStatusChangedDelegate del)Requests Dir Syncrhronously. Same as above, but path is string and not enumpublic byte[] ReadFile(string folderName, string fileName, ProgressStatusChangedDelegate del)Read File Syncrhronously. Reads the whole file from SD and then returns it's content as Byte Arraypublic byte[] ReadFile(SdFolder sdFolder, string fileName, ProgressStatusChangedDelegate del)Read File Syncrhronously. Reads the whole file from SD and then returns it's content as Byte Array.Gets SdFolder as path instead of stringpublic void ReadFile(string sourceFolderName, string sourceFileName, string targetFolder, bool resumeRead, ProgressStatusChangedDelegate del)Read File Syncrhronously. Reads the file and each chunk that is being read is instantly written into diskpublic void WriteFile(SdFolder sdFolder, string fileName, byte[] fileContent, ProgressStatusChangedDelegate del)Write File Syncrhronously. Since we only allow writing files into Authorized folders only then this function only accepts SdFolder enum as path and not as stringpublic void DeleteFile(string folderName, string fileName, ProgressStatusChangedDelegate del)Deletes a file... DUHH!!! (Sorry, I had to do that)public void DeleteFile(SdFolder sdFolder, string fileName, ProgressStatusChangedDelegate del)Same as above, but with SdFolder enum as pathAlso consider using:public static string GetSdFolderAsString(SdFolder sdFolder)and the opposite function:public static SdFolder GetSdFolderFromString(string path)Coming up next... Real code. SD Card Explorer Code revealed.Come back to our next episode next week
  • Create New...