Jump to content

ORSO2001

Privileged Member
  • Posts

    308
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by ORSO2001

  1. Is there an example that show how to import and export a "recipe"? to be clear I 'm able to export the recipe file but when I trying to import I always have a "-4" status as a result and I don't understand what I'm doing wrong. thanks
  2. Dear Ofir, many thanks...I choose the first option that you wrote...it is good for me. regards
  3. Dear All, exist a way to disable the UNIAPPS menu or parts of it?..or put it under password? thanks
  4. Dear Saragani, yes I mean the elements in the toolbox and yes it was disabled, now works thanks
  5. Dears All, I have upgrded two laptop (home and work) with the last version 1_17_58; in the laptop that I use in my home the menu Modbus Advanced is not more present...same thing if I open an existinfg project or if I create a new one; in the laptop that I use at work the menu is present. what I have to do to enable again the menu? I have alredy dowloaded the program and try to install it many times. If can help: home PC has Win10; work PC has WIN7pro thanks
  6. Dear Saragani, I created a BIT array (same for int., buffer, string...) for each function that I have done; obviusly in the block you can see only the name of the array but not the single BIT (see attached image); trust me if I say that this bit is used only in the two contiguous rungs for: set, contact, reset. I saw both example "built in alarm" and the "alarm example with events"...at the end I choice the second way because I have to manage 10 slaves that is, at same time, master of 61 slaves with different features and alarms and a single alarm has different "source" associated...so 610+10 slaves...but huge quantity of alarms variables...In this way, with the alarm function event I can combine multiple tags value to have, at the end, the alarm description that I need...maybe I am wrong but it works.
  7. Dear All, after I have "studying" your example about the alarms management I have created my function with "alarms actual" and "alarms history"; at the beginning I created a loop to check if an alarm is present in "actual" and reset the row after transfered it to "history"...it worked. In the next step I added a BIT check (image 1) to verify if the alarm was reseted by the device that I have to controll with the PLC...and if it still present do as set (reset row and transfer) and add a "note" in other DTI...if it was already reset do only what was set (reset row and transfer). after this modification the loop doesn't work anymore...works only for the first row detected with an alarm...I checked and I found that the BIT highlighted in GREEN, in the immage 2, is set in rung 1 but is not reset in rung 2 (at the end of the row). I done a lot of test and modifications...at the end I had to insert a reset and a timer ON of 15 ms (image 3a) to do the reset action of it...in this way it works....only reset without the timer doesn't work. In this case the BITs that I used are "global" and are used only in this function; are present only in two rungs (set, contact, reset) Some suggestions? thanks
  8. ORSO2001

    3a

    From the album: Files for UniLogic Forum

  9. ORSO2001

    3

    From the album: Files for UniLogic Forum

  10. ORSO2001

    2

    From the album: Files for UniLogic Forum

  11. ORSO2001

    1

    From the album: Files for UniLogic Forum

  12. Dears All, I fixed my issue...was a "wrong" tag assignment.
  13. Dears All, sometimes the "insert row" don't works...I try to explain below: I have created two DTI; one is used to record some values from slaves, and its status, and one is for the alarms. Each row of the "record DTI" is referred on slave that has the same number....at the beginning of each cycles I catch the value of one slave from the field...I read the recorded data of it and do a compare...if something mismatch the new data will replace the old data and, if it is an alarm, it will "insert a row", every time the first row, in the "alarm DTI". This action is done in the same rung. the DTI of "record" is everytime updated but the DTI of alarm not!?...in this way if an alarm is present it will be updated in the "record DTI", the new row in the alarm is not insert, and when I will check it again the new alarm don't appears because the status is the same as before. I managed the "stop" status of the slaves as an alarm...If I put in "stop" 2 contiguous slaves, at same times, this issue happens...if I let few seconds between these action it works.... Each cycles (read, compare,write etc) need more or less 100mS...
  14. Dear all, I need to write a second row description in a button (as I seen in the example) but I don't understood how, can someone help?
  15. Dear FLEX727, you are right...I have to build my "rungs" more simple...and that you don't have seen the rungs with "if" tree...i am a beginner and I hope to find a good way to do my projects...I have to try more
  16. Dears All, In my project I have create few ladder function; each ladder function is enable when I select the related HMI page...and automatically te others will be disable. In some ladder function I used few single timer...and as you can see in the attached pic in the rung before the TON I use a Treset of it. What happened...I see that when I add two more TON (with same timer) and I enabled the page/ladder function ALL the timer set itself the current value at the preset value (but the BIT remain 0)...and the timer reset doesn't works...it means that the counter doesn't start and the BIT don't become 1...if I add two more TON (with different timer) all works fine.
  17. Dear Saragani, Thanks...It is clear.
  18. Dear Saragani, yes, I have seen that the DTI store "give" an output status as 0,1,-1...and I have used it to know if the action is done or not...but I need to know, more or less, how much time will be needed because it will put in "pause" the checking of the external devices...I calculate that a complete check of all external device will needs 9 sec...if the store action will need 15 sec, during which the check will put in pause, will be lost 2 checking cycles and it is too much for me...otherwise I have to create a second DTI and switch the saving when one is in store mode.... Thanks
  19. Dear Sam_ry, thanks for your answer; in the next days I will test it (my function).
  20. Dear Gugulanov, i don't know how Visiolig works, but, in Unilogic, if I well understood, after you done the "compile" action in the botom tools bar, if you select "output" you will have a count list of all used elements in the project and a count of retained and non retained Bytes... reagrds
×
×
  • Create New...