Jump to content

ORSO2001

Privileged Member
  • Posts

    305
  • Joined

  • Last visited

  • Days Won

    11

Posts posted by ORSO2001

  1. 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

  2. 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?

  3. 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

  4. 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.

  5. 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.

  6. On 2/5/2019 at 5:40 PM, cmarcus said:

    Not sure this is the proper location for my question, but will there be a .NET driver or communications protocol for the UniStream as there is for the Vision? 

    I've used literally dozens of Vision PLC's simply because I can tie together PLC operations and production control operations with several other peripheral devices (bar code scanners, RFID readers, measurement gauges, keyboard wedge devices, etc.) into a single PC based application, then integrate it into my customer's production systems or warehouse systems (SAP,  SAGE, MFG Pro, and custom SQL databases).  I've hesitated migrating to the Unistream models because I haven't seen a method as clean as the Vision .NET driver to read and write to specific memory locations in the PLC.

    Thanks,

    -Chris

    Hi all,

    untill now I used the MODBUS protocol to connect the PLC with PC (C#) ...now I am trying for the first time the SQL and FTP (two different jobs) but a library/driver for the .NET like in the VISION (I took a fast look) could be nice.

    thanks

  7. Hi German,

    in your UDFB you can insert the timer function TON, TOFF , TRESET...etc.. referred at a specific timer...is at your charge enable or disable these function by a BIT status; however you can pass as functionIn the current (UINT32), preset (UINT32) and the out status (BIT) of a timer.

  8. hi...if the DTI can be sorted from the beginning (when this is populated) you can check the valuo of the row "0" if this value is less of the row that you have to insert increase a variable to check the next row...do so on...when the result is positive (the new value is less on the read row) you can use the "insert row" UDFB...and reset the variable to check the row.

    I hope that my explaination is clear.

    • Like 1
  9. hi Meetto,

    maybe I misunderstood what you mean/need...has the PLC take the information directly from the excell file in your PC or these information can be stored in a DT in the PLC?...the cells values are variables or static?

    just to be clear....the columns in a table are indexed by a "name" not by a value...then if you have a table X with columns A,B,C you can search/insert/cancel/read a value in the X.A or X.B or X.C...the result can be or the table row where the value is stored or the value of the specific row in the specific column etc.

    If you search "excell" in the unistream help file you will found many interesting things about how to use .xls files with the PLC...but, in my opinion, and I repeat maybe I have wrong what you really need, you have to find the way to combine and manage the information that you have (as I wrote in my previously post).

  10. Hi Meetto,

    ok...so you have to play at "battleship"...i am not sure to have understood how your table works...the "sound" cells increase every time by 0.05 then is a constant that can be used to define the rows in the table...also the trim variation is always by 0.5 then other constant...so I think that you can create a single table for each trim column...you can check if the trim has a specific value to determinate which table has to check...by the sound value you can check/load the row value...for this last, to determinate the row number, you can multiply the sound value for 100 and divide for 5...example...sound 0 will be (0*100)/5=0 (row 0 in the table)...sound is 0.25 will be (0.25*100)/5 = 5 (row 5 in the table).

  11. Hi all,

    a customer ask to have a double access control...one by "username/password" and also a fingerprint control...for the first no problem...about the second (fingerprint) some suggestion for the hardware? I checked but I found or cheap model that can be connected/used with arduino/raspberry or something "higher level" but that use an owner software for PC connection.

    thanks

  12. Hi Meetto,

    I don't know exactly what you have to do but I think that each valve will be a "binary immage" item that will contain the ON/open and OFF/close status.

    also for this item, in its property window, in the "action attributes" you will add the SET action for these two bit...one is to open the pop up menu...second is to enable the action of this pop up menu for the specifici valve.

    in the ladder you will have a row for each valve that include...a contact for the selected valve, a contact for the ON command, the ON command, a reset for the pop up menu bit, a reset for the selection of the valve and a reset for the ON command.

    the same for the OFF command.

  13. ok...I think that I tried all the possible register...and I don't found any that can be releated with the  ID...as I wrote I am quite sure that is a fixed ID because these two devices is a part of a "static" system that always manage these as device 49 and only one can be present in the system...also are present others static ID like 50, 51 , 52 etc.

    said this, unfortunately, the way with one or more Vision is not accepted by the owner of the project...I have to use only one PLC + HMI.

    said this (2)...I have to buy a module to add the serial ports...at this point can I buy the UAC.02RS2, that has 2xRS232, and connet each port with a RS232-485 converter?...or some problems can arise?

  14. Hi Ausman,

    thanks for the answer...I will check if a register contain the ID 49 and if I can change this...but I am quite sure that is not present and that the ID49 is "fixed inside" by its program.

    You are right...I didn't know that the RS232 of the 02RSC has a "problem"...thanks to have highlight this...also the UAC-02RS2  (2 x RS232) has problem?

    so you are suggesting connect the unistream PLC with soresting me device and also vith a Vision PLC...this last will be connected with the others devices...uhm can be interesting...but if possible, in this case, I prefer have only one PLC.

    I will update this topic after the check about the ID register.

     

  15. Dear All,

    for my next project I have to manage a ModBus RTU data exchange with 57 devices by RS485 port...but the system can be enlarged in the future...where the Unistream works as master.

    two of these devices has the same ID 49 and it is fixed and is not possible to change...in the others can be selected.

    one port is already present in the PLC;  I know that exist the external module (UAC-02RSC) to have +1 RS485 and +1 RS232...but it would be nice have a module to have +2 RS485...exist a way to have this withou buy 2 x UAC-02RSC to have 3 x RS485?

    thanks

    PS: can be a solution connect a converter RS232/RS485 with the module UAC-02RSC or some problems can arise?

  16. hi Interroga,

    the local varialbles are "created" and "destroyed" at each PLC cycle...you can't use a local variable to store a value and use this later...you have to use a variable defined in the global scope...or save in a DT this value and recal this value, with the specific function, then if necessary you can upload the value in a local variable and use this to do what you want. 

    I don't know which experience that you have but is the same as in C  or C++ or other programs languages...

     

    • Like 1
  17. hi Saragani,

    thanks for the answer...yes obviously you are right...thinking better I understood that I am asking to search if some element has a specific ID and the answer is "no one item has this ID"...then the request is done in correct way and also the answer is back in the correct format...thanks

  18. dear All,

    ok...now that I better checked I saw that in the query with SELECT command its struct has description string about the result...when I ask for a not existing ID I have "Number of records 0"...I was expecting an "exception" error but ok...this is managed in this way.

×
×
  • Create New...