Jump to content

ORSO2001

Members
  • Content Count

    225
  • Joined

  • Last visited

  • Days Won

    6

Everything 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 in
  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 w
  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. 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.
  7. hi, can be the DTI sorted from the beginning or you also need to know the time order that each record was insert? how many rows are in the DTI?
  8. hi GonzaloRoldan_, what data type are column A and B?
  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 unistre
  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 div
  11. hi...I think that all the values of your table are the result of a math formula calculation...why you don't use the same formula to have the same result in real time instead of a static (boring to do) DT?
  12. 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
  13. 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 s
  14. Hi Meetto, at each valve you can couple 2 Bits...one is to enable (pop up) the ON/OFF window, and this bit will be common for each valve, the second bit, that is unique for the specific valve, will let you set it by the ON/OFF command.
  15. 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.02
  16. Eh Eh...sorry...my brain was off...I meant: connect the unistream PLC with some devices and also with a Vision PLC...and the Vision with others devices... the slaves can works or at 9600 or at 19200 baud rate...
  17. 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 on
  18. 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
  19. 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...
  20. Hi Gonzalo, that I know is not possible, at run time or in late binding, decide the length of an array or of a DT...you have to do this at compile time. What you can do is store (append) in a SD file, or in a SQL table, the DT and recall these.
  21. 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
  22. 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.
  23. 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 d
  24. 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
  25. Hi Marco, I am not sure about what you need...but you can use a second variable to store the value, afer that you done all that you need, or previously, then you will have an ActualValue and an OldValue
×
×
  • Create New...