Jump to content

Vesp123

Members
  • Posts

    9
  • Joined

  • Last visited

Vesp123's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Thank you guys for your ideas - you have both been very helpful!
  2. Thanks for your answear @ORSO2001. Not having a possibility to use positive contacts is a shame :/ I can omit it by creating a global tag and putting into a UDFB however this idea does not work when I do more than 1 call to UDFB with different input variables. I am not sure if I understand correctly what you mean by "milis" control. Does it mean creating a variable e.g. "timer12" in a struct and control a timer that would be in another subrutine? Thats a way to go! Also another variable eg. "timer12_out" would be needed. This way I can have only one version of subroutine that could be copied freely without hasitation to other soubroutines(I am talking about my idea from previous post). If needed, I would create/delete a timer in struct and in separate subroutine with timers. At least in theory, I need to check it out yet.
  3. This is what I meant by not being able to put a Positive Transition Contact: U can only put a direct contact. If 'var1' tag would be placed on HMI as monostable button it would be impossible to perform operation that needs single trigger e.g : incrementation, toggling. Meanwhile, I came up with a different approach that omit using UDFB: I will create 20 subroutines, however each of them will be separated to 3 regions. subroutine1: Region 1 - copy struct1 to structX Region2 - program based on variablesX Region3 - copy structX to struct1 subroutine2: Region 1 - copy struct2 to structX Region2 - program based on variablesX Region3 - copy structX to struct2 ... This way I do not have to put variables of each room to every basic element(every contacts and so on). Whenever I need to change something in program, I copy Region2 to every subroutine and change structs if needed. There is one flaw in this idea, I cant copy e.g Timer1 to TimerX, Timer2 to TimerX ... because it will not work, so in Region2 of each subroutine I need to put correct timer variable(Timer2). I cannot leave TimerX. Anyway, its better than changing all the basic elements. Do you have any other ideas?
  4. Hey all, I am looking for your suggestions/ideas in regard to writing a below described program. Lets say I need to control lighting(many lamps) in 20 rooms. Each room has the same, very advanced funcionalities. How do I write a program avoiding creating 20 exact multi-lines subroutines with different variables in each subroutine? Copying and pasting would take me perhaps 2 days, but maintaining it would be horrible, because when I make small change I need to make it in every subroutine every time! Is there a better approach? I thought that I could use UDFBs while passing as "Function In" a proper variables related to each room, but it seems like UDFB does not allow using Positive contacts. This way UDFBs are useless to me. What am I missing guys? How should I do it in Unilogic?
  5. Thanks for ur answears guys. I didn't know about the possiblity of changing graphic resolution - as it turned out graphic was not a problem, silly me Recently, I figured out that there are new 10' and 15' Unitronics screens from USL series (USL-101-B05 and USL-156-B05) so my problem was solved.
  6. Hey guys, I am looking for alternative to PLC Vision V1040 that I have been using for few years. I mostly used it without a snap, but with connection to additional I/O, because my needs forced me to separate PLC from control panel so I am not interested in Unistream Modular but rather Unistream Built in or Unistream PLC with Virtual HMI. However I would like to still use a 10 inch screen. My questions: 1. Why Unitronics did not provide USL-010 (Unistream Display) or US10(Unistream Built-in) screens? 2. Maybe graphic is much worse when sb tries to use Unistream PLC like e.g. USC-B10-XXXX with a 10 inch screen? Did someone of you check how such configuration(Unistream PLC + 10 inch screen through VNC) would look like? I am looking for your replies, Thanks in advance
  7. Hey guys, I am struggling to use Polish signs such as "ł" in text in v1040 screen because these signs are not accessible in complex keyboard. Is it possible somehow? I tried so use indirect MI(136 value) to string from library but I didn't help. Thanks in advance
  8. Hi, The plc has about a year and works(touchscreeen and its functionality) but the keys underneath the screen don't seem to respond. They are not needed to daily use(mainly they are use for showing status or some settings menu). I will go to the factory where the plc is placed in 2-3 weeks and try your idea. After that I will give a reply in this topic unless the plc has a hardware issue. Thanks for your answer!
  9. Hi all, Is it possible to lock function keys underneath main screen in v1040? It happened and I am not sure if the PLC needs to be fixed or there is a trick to lock and unlock. Thanks in advance!
×
×
  • Create New...