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


Forums

  • Our Community
    • Come on in!
  • News and Announcements
    • New! UniLogic V1.24 introduces VFDS from Unitronics!!
    • 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--Looking forward
  • 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

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


Location


Interests

Found 35 results

  1. 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!
  2. Hello, (Unistream PLC and 10.4 Inch screen) I Try to export the trend data from a Datasampler to a CSV (EXEL) File I get it from the SD-card with filezilla. Sometimes the file will be generated and sometimes it won't I stop the data sampling and then i set the create CSV bit. in ladder function. But it not always generate the file (.ZIP) Is there an example how this file must be generated. I use Unilogic version 1.9 rev 19 I have tried a full download and so on but sometimes it works sometimes it won't Is there any example how this works. Thanks René
  3. 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
  4. 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
  5. 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!
  6. 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
  7. 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?
  8. 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"
  9. 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?
  10. 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...