Jump to content

ORSO2001

Members
  • Content Count

    187
  • Joined

  • Last visited

  • Days Won

    6

ORSO2001 last won the day on July 9

ORSO2001 had the most liked content!

Community Reputation

7 Neutral

About ORSO2001

  • Rank
    UniGuru
  • Birthday 10/21/1975

Profile Information

  • Gender
    Male

Contact Methods

  • Skype
    abertoldo.piovan

Recent Profile Visitors

2,271 profile views
  1. hi...i never used the THS module but i think that you can consider the overflow of the variables...i mean...both signed and unsigned variable start with no BIT high...then value "0"...if the unsigned receive a "-1" command all the BITs will be HIGH that will give you the max value of this variable...but if you do the same with the signed variable you will have all the BITs HIGH that means "-1"...then i think you can use a simple store value block to store the value of the UINT32 into an INT32.
  2. hi Saragani, I sent a mail to the support that include the project and the .csv file that show the problem. the object of the mail is the same of this thread I confirm that if the local struct is "reset", see the first row of the UDFB where the problem arise, that in the copy that I sent is disabled, the problem is not present; seems a problem with one of the strings of this struct that exceed its lenght...if you will check the .csv file will see that the not inizialized strings take "strange" characters. thanks and regards
  3. I will try to do a single UDFB project to replicate the issue...otherwise I can send the project, is not so big, and I will highlight where I do this.
  4. Hi AlexUT, thanks for the answer...one thing is not clear (for me)...before write the SD file I store the local struct to the DTI...is not like save in a "global variable" (DTI) and use this to write the information to the file?
  5. Dear All, I have a Struct that have 13 variables (String, Bit, and uint32); I created 4 global variablea to record these datas; I have created a DTI with a single row to take these information and save into a file if some event arise. When the event arise I don't have to record all the informations as these are but I have to modify a litte; then when the event arise I store one of the global struct into a local struct (same struct) , write this in the DTI and copy (append) this DTI in the file (already present). what I have is that if I use a LOCAL struct the data is store with "wrong value" (strange characters) and also the last value that is a BIT is stored in a 14th column in the csv file that don't exist; if I use a global Struct (convert the local to global) all works. I don't tried to "reset" the local Struct, to inizialized, before populate it...but until now (other projects), if I well remember, was not necessary. I am using last version of Unilogic 1.26.
  6. hi Mshak, in the toolbox, for the DT indexed, exist a command called "insert"; use this to insert a record in a specific row of your table...the selected row, already present in the table, and the others below will be pushed down by 1; the last in the DTI, that will be out of range, will be "lost".
  7. Dears All When I create a DT I have to referred this at a specific STRUC; when I save this DT to a .csv file the "column" will take the name of the variables; exist a way to change the column name's? I mean...for example...usually my project include Italian, English, French and Dutch languages because who, usually, committed me the jobs has customers in different country...what I need is if I have a struct variable like: myStruct.hello the column in the csv file will be, referred at the language selection, "hello" or "ciao" or "salut" or "hallo"...is possible without create 4 different struct?
  8. Hi jvalstar, I never had this problem...what I can suggest to check is, if the shuffled column is always the same, where this column is "used"...maybe you are copying an array in this column and you haven't the full control of this action...I mean that maybe you haven't managed all the possible causes that can enable this action... if you want share your project and highlight which column has this "problem" maybe someone can will take a look. regards
  9. dears All, I will have to modify an old project where I used a lot of retained tags (was my first project and I was not very skilled...for sure worst than now 😁 )...I want to replace the retained tags with a struct referred at a DTI...then save this on the SD. my question is...if I will upload a new project , the same but with more UDFB-tags etc, the retained tags that are used at the moment still contain the same value or will be reset? just to know if I can do this without problem, because I will also update the PLC version, or if I have to think something to save the retained tags and upload these later. thanks
  10. Dears, I will have to include a pdf file that is 25 MB; this pdf has 20 pages and each page is sized as others...then, more or less, 1300 KB for each page....what is the max size of the pdf file and for the single page that the pdf viewer can manage? until now my pdf files was around 300-400 KB and I don't had problem but this file include many pictures with "high" definition then is quite heavy...then I need to know if I have to reduce again the quality of the pictures or not (I know about the HMI resolution...in my case 800x480). thanks PS: I found in the "hardware" forum that, as internal storage, the limit is 4MB...I will store the pdf in the SD...then each page can has a size until 4MB?
  11. dear anas, sorry and forgive me if I am brutal but if really you don't have time maybe is better if you "pay" someone to do the program...otherwise, if you will find the needed time, you will appreciate the Unistream world (software, forum and devices). Said this...about your questions....1->A bit to define the up/down direction and a bit for enable or disable the action; 2->has to be a settable speed but fixed or has to be reuglated by some "logic" like PID ?...both has to refer at the previously two bits. 3-> in the HMI page you can add some elements, one of these is to insert number; this element has to be linked at a tag; also for each element you can decide/set some characteristics...like...only read or read and write; min and max value that you can digit; visibility and touchable property etc...if you enable the "writable" option when you will push the element in the touch screen a keypad will appear to let you insert the value. About the point 2...which VDF?...unitronics or other branch?...if you will decide unitronics the Unilogic program, when you will add the VDF element, will create a specific struct (assemble of tags) to let you manage this and have information from this...and the PLC<->VDF connection will do by a bus line. other suggestion is, before start with the program, check how many and which tyoe of input/output that you need to buy the right hardware...for example the actuator has move between a safety min or max switchs?...the mixer has to have a "sensor" to check the rotation of the shaft? also...have you to check the safety cut off of the mixer motor/actuator? etc etc. and these are NO or NC? etc etc
  12. hi Rinehartrr, are you talking about "generic PLC alarm" or "generic alarm of your project"? If it is the first one...if I well remember a tag about ERRNO is present in the General struc...maybe others tags...but I don't remember exactly. if it is the second one ...how are you managin the alarms in your project?...by the builtin alarm manager or by something done by you? in my projects I don't use the builtin alarm manager (that is good) but something done by me... in this way,in the struct that I use for the new/actual alarm, I include many information for each alarm and what the PLC has to do for each of them...obviously if an alarm is present I have included an OR bit for the alarm that enable the horn and the red lamp.
  13. Hi DENSOHUD, if I well understood what you need and you are talking about a GUI made in the HMI of the unistream PLC...one of the project example is referred at the alarms management, not by the builtin alarm management but at store and read alarms from a DTI; I think that this is pretty way to do what you need.
×
×
  • Create New...