Jump to content

ORSO2001

Privileged Member
  • Posts

    303
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by ORSO2001

  1. Hi Saragani, I tried many checks; to be clear I always let the three languages selectable ( I don't tried the single one whitout the others included in the project)...also at the moment I don't have translate any text...I saw this (language selected) by the builtin keyboard and the languages shown in the UniApps....I will send the project by mail to the support.
  2. Dear All, in my project I create a screen about language selection; I insert 3 buttons to select English, French and Italian; for each button I add, in the action list of the button, a BIT set that will be used in the actions list in the soluction explorer....and for each of those BITs I select the language to recall...I found that I have to invert the selection between French and Italian ...English works properly. I am using 1.24.56
  3. Dear All, is the first time that I use the web server...I tried to find what I need but, unfortunatelly, without success...I need to know when some one is conneced by web server, if is doing something by the web pages (push something...buttons or simply the screen) and how to load a web page by a BIT change....I try to explain...I created my DTI for the user/password ( I don't use the built-in function)...my web server main page will ask to insert these information...if the log will be ok a new page will appear and let the user do what she/he wants...if not action is done in some time automatically she/he will log out and the main page has to be loaded again...is it possible? thanks
  4. Hi Saragani, sorry if I were not clear...the projects are not the same...one was done with a previously version, maybe 1.19.xx...I have to check, this is a new project (totally different) start with 1.23.25 and from yesterday with 1.24.56. I will send both and also a video for both.
  5. Good morning Saragani, yesterday I upgrade the Unilogic at the last version 1.24.56 and the "problem" still be present. OK I can send the project and/or make a video....have I send all at the usual mail?...I can send the video by JUMBO MAIL? thanks
  6. ok...I tried with a PLC cycles counter of 1000, for each Samples.Start/End_Sampling...and works (also .CSV file is created)...I reduced until 2 cycles (very fast action) and also works...then seems exactly a buffer problem when 1 cycle is not enough to reach the "save file" command.
  7. ok...I will try and I let you know...anyway ...seems strange that , as for the DT functions, is not present a value, in the "Sampler.Status" to highlight "record in progress" or that the "SD Files.Save DT Busy" is not blocking the next action...
  8. hi Ausman, thanks for the answer...if I well understood you are suggesting to add, for every sampler, a time counter to let the enough time, after every BIT reset, to close and safe the file!? ok...I can try.
  9. dear All, ok...I understood the cause of this issue but I don't found a solution; at the end the procedure that I am using to reset and set the BIT start/stop sample, let me say, don't stay at "0" enough time to enable the file close and record in the SD...if I force manually the BIT at 0 , and let it 0 enough time, all works. I have add a check about the "isSDbusy"; a check about the record status of the sample struc (that can be 0 if all is good or a negative value for error...I don't see a value for "progress")...but all these don't works...what I can do? regards
  10. Dear All, I am finalizing my project and now I am testing if all works properly; at the moment I have 2 issue...one is reported in another topic (problem with HMI object) the second issue, but that is multi points, that I am having is with the sampler. - I have 10 sampler, each with two feeds; in each sampker struct I have set as "start value" 1 for the .CSV file but when I switch from 1 to 0 the BIT about start/stop sampler the .CSV file is not created. - when I try to save the sample file I pass to the struct its file name...that will be the name of the device and the date time; at the end the String will be length 24 characters; I saw that the struct take the String but the file tha was created don't has this name but still have the name automatically passed by the PLC (as the String name is not present) - I don't know why but sometimes the file is not saved...also if the folder is empty...why? to be clear the "save" cmmand is managed by checking the RTC.dayMonth...when this is not equal about a tag that I insert I will active a BIT that will put in "off" the record of the sampler...this for all sampler...at the beginning of each ladder row for each of this command I insert the "controll" of the SD status (busy). I am using 1.23.25
  11. Dear All, I am sorry if the title of this topic is not clear....I will try to explain...I have a page in my project where I insert many selectable options...one of these, when selected, open another function panel (not a new page but a custom control with some other options); this last is smaller than the complete screen and my intention was covered the other parameters byt a "simple object" set up to be a "fog"....in this way this "simple object" will cover the selectable field making these not selectable any more...in my previously projects this has work...now this don't works and all stay selectable...I already pushed this in the "top/front" ...the layer is for all 1...what can I check or what I missing? I am using 1.23.25 thanks
  12. dears All, for a new project (feeding system of plastic granules) customer has many feeding sources (130 fixed pipes) and many material receivers (70) that can be connected with the material sources by flexible pipes. I (customer) need to be sure that the flexible pipe is connected/coupled with the right fixed pipe...in some factory I saw that was used a RFID tag (key shaped) for the flexible pipe and a RFID reader (with hole for the key tag) for the fixed pipe; these last were connected with a "concentrator" connected by RS485 with a PLC. has someone a suggestion where ask for this kind of solution (RFID)...and/or has already used this with Unistream? thanks
  13. Hello EduMarg, thanks for replay...yes this clarify a lot. other question is about the "Maximal number of files in SD" that I can set (32_512)...one of the options is for "dat sampler files"...If I have 10 trends, then I will have 10 subfolder in the data sample folder, the maximal number of file is referred at the sum of all 10 folders or is referred at the single folder? thanks
  14. I am totally agree...is what I do and I don't have surprise when the real project is installed and running.
  15. Dear All, I my next project I have to check and record the weight inside some SILO (10); I will use UINT32 tag for the weight and a UINT8 for the filled %; I need to sample these value every minute and create a daily files records, one for each SILO; I will show these information in 10 individual trend graphs (one for each SILO)...at the end I will have 10 folders (one for each data sampler). My question is: doing in this way I will have problem with the PLC memory capacity?...or all will works without problem? sorry but is the first time that I use the data sampler...I checked the example and how this works is clear...I have only a doubt about the memory. regards
  16. Dear Skout, for each second the PLC do a lot of complete cycles; if you let active the BIT for a request, like "store DTI to file" this will return the error "-35" that means too many request. I don't know your complete sketch but you have to arise only one time this command and check for the "answer"...usually you can add a simple reset (R) of the BIT command immediately after the UDFB "store DTI to file" and enable another BIT to check the result with "equal" that will do other stuff. same thing for the instructions INC and DEC etc...if you let active the BIT these will increase/decrease by one every PLC cycle...than wil be very fast. EDIT: as SARAGANI wrote to avoid that two instruction are done very close you can check the BIT "SD BUSY" or you can use your own BIT...depends on how you want manage these situation.
  17. ok...in my projects I created a DTI of 1 row that is referred at a struct called EVENT; in this struct at the end I included 4 strings variables; DATE, TIME, DEVICE, EVENT. DATE and TIME are used to know when the action was done; DEVICE is what was modified; EVENT is a "long" string that contain the informations...for example last value and new value...or other things. every time that something happened you will trig a BIT to populate the DTI and save (append) the DTI in a file in the SD....this file will be your Events LOG file. Usually I do this to know the power ON of the PLC....and save every x minute the ON status of the PLC to understand if it is powered or not...to know who is logged in or logged out...to know what was done...etc to do this I create an UDFB that accept 4 functionIN...(DATE, TIME, DEVICE, EVENT); in this way I can pass or static strings or composed by what I need to know/insert. to know if something was modify I usually create a local copy of the information that the HMI has at the moment and I verify if this is changed or not...obviously depends what you are managing as data. I hope that is clear enough
  18. dear remy, I am not sure that I have understood what you need...want you save an "event" if the users have modified something in your program like a temperature set point or a number value?...also if a user has done the login and logout?
  19. Hi, for example...you have 2 variables Uint16 (A = higher, B = lower) and 1 variable Uint32 (C)... you have to multiply the A for 65536 and store the result in C...after you have to add B in C. I think that also you can use some buffer functions...but with first only 2 actions are needed.
  20. dear Roger, i think that the best way is create a general structure called SERVO that include all the variable types needed...after you have to define 4 global struct SERVO variale (one for each servo) and 1 global struct variable for the HMI...after this in the ladder you will create your flow that will pass/store the servo structure to the HMI servo structure. I hope that I explained clearly the thing.
  21. Dear Saragani, just to give you more info...in this last project I have had other issue that was already reported at your service department...when I was trying to duplicate an HMI page the program won't worked and reboot itself....at the end I found the one element of the HMI (pdf elemet) seemed "locked" , no resizing was possible...not file assignement was accepted...at the end I cancel the HMI and create a new one and it start to work... in this last I created a UDFB ...as I wrote I created 10 Fubction OUT variables (8 BIT and 2 UINT32)...and 10 was count in the local function...but after a compile I have had an error like "max allowed output..."...these variables have a composite name like "BIT_Alarme...."...in many test that i tried to understand I observed, but I am not sure, that with "long variable name" I were able to inser 8 with short name like "a" or "b" I were able to insert 9.... Now after a reinstalling of the unilogic I have the UDFB with 10 and works (see attached)
  22. dear All, I tried to install again the Unilogic...now seem works...accept until 10 variables
  23. Dear All, I created my UDFB where I need to have 10 Function Out variables (8 BIT, 2 UINT32)...I am not able to create, in any way, these 10...the "program" sometimes let me insert 9 sometimes 8...ok...I can create an array of BIT and other of UINT32 and after the UDFB store the value in the real variables...but why I can't create 10 Function out? and why sometimes 8 and sometime 9? EDIT: sorry...I can't create an array for the Function out...then what I can do? EDIT2: I can create a INT8 variable (GLOBAL) use this both as Function in and Function out...set the single BITs and check this after the UDFB...right? thanks
  24. Hi NoamM, thanks for answer...yes this is what I thought...I was searching if an already existing function, that maybe I was missing, could do this. ok ...no problem
  25. Dear All, Is there a simple way to find if a specific value is present more than 1 time in a DT column? thanks
×
×
  • Create New...