Jump to content

Search the Community

Showing results for tags 'SD'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Our Community
    • Come on in!
  • News and Announcements
    • UniLogic 2021-- UniCloud IIoT Cloud Platform, EtherCAT & more!
    • VisiLogic: 9.9.00 - Protect Your Vision and Samba Systems with New Security Enhancements
    • 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
  • Motion! Servo Drives, Motors, Actuators, & VFDs by Unitronics
    • Motion: Unitronics Servo Drives, Motors, Actuators, VFDs--by Unitronics
  • UniCloud: the end-to-end IIoT Platform for Unitronics Controllers
    • Everything UniCloud!
  • 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?
  • Everything HMI!
    • UniLogic: HMI Design Inspiration
    • UniLogic: Graphics, from Community!
    • VisiLogic--HMI Design
  • 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

Calendars

  • Community Calendar

Blogs

  • 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

Categories

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

Categories

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

Categories

  • New Features
  • Other

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Interests

  1. I use trends and they fill up the SD card on the UniStream. I tried to use the file browser object to manage the SD card. Specifically I'm trying to delete the 'samples' folder created by the trends. When I try using the file browser and UniStream SD Delete (or the one in UniApps) after selecting the 'samples' folder I get an error Any ideas on how to do this correctly? Is something writing to the disk or not properly stopped? Right now I have to pull the SD card and delete it on my laptop then put it back into the PLC. Not very elegant and difficult to do remotely... Thanks!
  2. good morning i need to write a row in a temporary table in the ram memory this table contains one row and 12 columns, the first one is a long integer entred and the second is a string, both are entered with the keybord of the plc and the rest are integer with 100 velues in each cell and those are mesurment of voltage from the analog input one mesurment every 0.1 seconds during 100 seconds and i want those mesurments to be triggered by a button. once finished it has to coppy that row to a bigger table with the same columns but lets say 1000 rows in the sd cardso i can later use that informations to feed the analog output with the same voltage mesured with the same amount of time 0.1s until the first zero . i want all that to be controlled from the plc the writing and the copying and the search of the row later . is that possible and if yes, is there any exemple that might help me. thank you.
  3. Why does the "Store to DTI File" function create multiple files when I set "F" Parameter to #1 (Create CSV file). I expected just a CSV file, but it created a "*.UDTF", "*.CSV", and a "*.CSV.ZIP" on the SD card too? I would prefer the program only to save the DT to "*.CSV file". DTI Infolog Sub.pdf
  4. Hello , is there is a restriction on the number of files in the directory "/data tables" on SD card?
  5. Hi, I'm trying to get trend from SD card to display on a V700. I cannot get any trend to display. I have checked that the trend does exist in the SD card via SD explorer and shows correctly in SD manager. I have stopped the writing of the trend when I loaded the HMI page with Trend from SD variable. The trend load error bit of the Trend SD variable is showing 0. The only anomaly that I can find is SB119 is constantly showing 1. I cannot find any literature about why SB119 is always on. Please help. Regards, Qinsong
  6. Hi, I'm trying to move data table from SD card to USB memory stick. What is the default DOK file path?
  7. Hi support and forum members I have successfully used the Visilogic project examples to log data using an SD Card. However, the example program uses SB13 to write data to the SD card every 1 second. This is far too frequent for my application. I want to log data every minute, or every 10 minutes. How can I reduce the write frequency? Do I need to use some delay timers? Can anybody assist me with the correct/optimal ladder for this. Picture of code attached. I'd also like to know how to display the free space in MB or GB left on the SD card Best Regards
  8. Hi, What is the reason for difference between timestamp "last modified" of file written on SD-card, and the PLC time when this file has been saved? I have 3 hours difference between them. (I connect to PLC with FileZilla ftp client)
  9. Hi I have a project with USP-104-B10 (UniStream 10 inch) ַַ& Unilogic 1.15.70 and in the project I build a trend screen. Now I have to save the data into the SD card ,transfer the data to my computer and convert the data to csv and generate a graph. It's a very long process. how can I shorten it? can I save the data straight to csv? is there a software that can take the data format of the trend file and make a graph?
  10. 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!
  11. 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
  12. 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!
  13. 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 192.168.1.201 and a CSV called test. Download from internet explorer: http://192.168.1.201/EXCEL/TEST.CSV
  14. 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
  15. 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!
  16. 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
  17. 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?
  18. 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"
  19. 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?
  20. 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...