Jump to content

ORSO2001

Members
  • Content Count

    225
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by ORSO2001

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

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

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

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

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

  6. 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
  7. 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).

  8. 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).

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

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

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

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

     

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

  14. 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
  15. 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

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

  17. Dear All,

    I am starting for the first time to work with DB in a server PC using SQL (SQL server) query.

    I am using the SQL example...all works fine...I do the connection...I create the table...I am able to insert, update, get and cancel the "info" with this DB...what I saw and I don't understood is that if I send a query to have some information refered at a specific ID (...WHERE employeID =?) and this ID is not present in the DB the query result, BIT about query success, is turned as "1" ...I was expecting that the "fail BIT" arise !?

    Maybe this is correct, sorry I don't know deeply this matter...can someone confirm?

    thanks

  18. Hi Shaun,

    if you are "online" with your PLC you can only modify the value of the tags (set/reset bit, insert a number or change a string)...not the ladder flow/logic.

    to modify the ladder flow/logic you must be "offline" and after you have to download the program...if you modify only logic and not HMI you can select the "download logic only"...after the compilation of the program the system, berfore the phisically download, will ask about a reset or not of the actual value of the tags(retained or not is the same)...I never do this with a system in working mode, I have always set the system in "off", so I don't know what really happen with the phisical output.

×
×
  • Create New...