Jump to content

Skout

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by Skout

  1. Before closing this topic I would like to know if is it possible to create a folder named YYYY ( Year) where i will stock the both of the files created from "Store DTI to File", How can i use it with this function ? Or how can i choose the folder's path from this function
  2. Thanks for answering me, understood what you suggested and tried it out without exporting it in my program maybe I got an issue with the program because of this : am I supposed to get that in the output ? It's the same with almost the other formats EDIT : Used an outdated version ( maybe ), tried another one in the same folder it's working, i will try to do the job, and get back for some feedbacks
  3. UP I think the main reason is the missing of the sd card, i got one today and i tried out the Ladder Actually its working, it writes date correctly, but the Storing Status doesn't set to 0 even if it ended writing ( verified ) is it a problem ? I would like to have everyday separated file named with the day when they were created like this one "20180522" , I'm using "nom fichier table" as a tag, How can i do it ?
  4. Got the first thing but the SD Busy bit, what does it mean?, what should i do using this output tag?
  5. Hi ! Yeah i found Save DT Busy, but i don't know how to deal with it :p But the second thing you were talking about seems interesting, so I will be comparing the status of the Store DTi to 0 just before starting the storage, if it's ok we can continue storing if it's not 0 it will wait ? And I want to get only some analogs inputs ( current - voltage ) get them in the DTI then store them in files on SD, i don't need to read or view them through Ladder ( it's available in UniApps ) EDIT: Tried out the second suggestion, nothing.. I'm pretty sure doing something wrong, I really need some help
  6. Hey ! Its so fast, the increment, how can i manage it ? i have tried all the timers we got in unilogic it doesn't work, even thought sometimes it works if i isolate the timer using his output's contact
  7. Hi, My application Ladder code writing to an "Indexed Data Table" (DTI). I'm getting in the writing "Store DTI to File" Ladder function the status (-6) which means "Write file error". I think that issue is coming from the speed of "Store DTI to File" calls. I use a timer to put a delay between every row, maybe i don't know how to use them, but it doesn't work for me when i put a timer and try it online, it doesn't work.
  8. Hi I would like to know how can we compare the date , i want to compare the current date with the right next one so once it doesn't equal, the program isn't executed
  9. Hi Alex, Hi lirana Thank you guys for your quick answer. What lirana said seems to be more familiar to me, i will do it but the only issue is that next to the date and time i want something like that « AAAAMMJJ enreg » Do you guys think it is possible to work ?
  10. Hey guys, I need to store files through the "Store DTI to File" Ladder function, but the more complicated is we need to generate them everyday ( everyday we have a new file ) named with the Date and Time it were created, and same for files that contains information for a month. To make it brief, at the end of the month, the SD should contain about 30 files for the daily information, and 1 file for the month. Do we really need to use the "Schedule" Ladder function?
×
×
  • Create New...