Jump to content

GonzaloRoldan_

Members
  • Posts

    62
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by GonzaloRoldan_

  1. Hi! Sorry for the delay, but I was working on that because I needed to solve it asap. The DTI can be sorted from the beginning. The number of rows is variable (no more than 20). I managed to work it out, it wasn't the most efficient way I think, but it works. If someone needs it, just tell me and I'll post it here. Cheers people!
  2. Hi people! I'm developing a project with UniLogic v1.25.61 for the UniStream USP-104-B10. I need to sort an entire Data Table (2 columns, A and B), sorting just one column (A), has anyone ever try this? The other option is to have 2 arrays (A and B), sort one (A) of them and then I need to sort the other one (B) the same way I sorted the first one (A). I don't know if I'm being clear enough so here you have an example: Before sorting: A={1,4,2,3} B={Q,W,E,R} After sorting just column A or array A: A={1,2,3,4} B={Q,E,R,W} Thanks in advance! Cheers, Gonzalo
  3. Hi @Pista , That was the solution. Thank you very much! I've just changed the language and it started working. And I agree completely with this line (despite I don't understand why it's like that): Cheers, Gonzalo
  4. Hi everyone! I'm developing a project with UniLogic v1.25.61 for the UniStream USP-104-B10. Everything's working well, but I made some changes in some buttons and fixed texts of the WebServer and when I download the project to the PLC and surf in the WebServer, the texts are not updated but everything else is refreshed. I've tried Full Download, but it's not working. I also try surfing in the WebServer from a new PC, but it's the same. Have anyone experience this before? It's quite strange because all the other functions of the WebServer are updated, but not the texts! Thanks in advance, Gonzalo
  5. Yeah, @Flex727 , it is a combination calculation indeed, but not for a game 😂. I need to calcute how many combinations of working pumps a system has.
  6. Hahaha, something like that!.. No, the real reason is that I need to calculate this: and sometimes the "n" is bigger than 13, so it doesn't fix in 4 bytes.
  7. Hi everyone! I'm writing a C Function in UniLogic. I would like to use a local variable, bigger than 4 bytes, like a long long int. Is it possible? Because I have no compilations errors, but I think it doesn't work. Thanks in advance.
  8. Hi @Yarik, I would really like to know how did you solve it! Please, share it with the community. Thanks
  9. Hi Orso and Flex. First of all, thanks for your answers! Considering what both are saying, I understand that it's not possible to do it. The reason why I wanted to do it @Flex727 was that the vector size depends on the result of a mathematical equation, which most of the time is under 100 combinations, but sometimes is over 10000 combination. And I did not want to create a vector which length is 10000 when around 90% of the time, it won't be needed to be more than 100 of length. But no worries, I'll do what you recommend. Thanks again!
  10. Hi! I'm programming an UniStream Modular USP-070-B08 + CPU USC-P-B10 with UniLogic v1.25.61. I want to create an array of INT16, which its length, will be set by the user through the HMI. Is it possible? Because when I create the array in Ladder, I can only set a constant value for the array's length. I want to try something similar with the number of rows for a table. Thanks in advance!
  11. Thanks @Cara Bereck Levy! Hope you've enjoyed your holiday weekend :).. Yes, it was not the answer I was waiting for, but at least, it's working, that's the important thing. Thanks again to everyone!! Cheers, Gonzalo
  12. Hey Aus.. They seem to be completely different as you said.. You're right about the existence other models that have more HCS inputs, but the point is that I chose and bought this model because it has others features I need (PT100, analog inputs, PWM, transitor outputs, etc.). So I bought the expansion I mentioned before in order to reach the number of HCS I was needing (an other features of course), thinking they work the same way as the onboard IOs do. So if there's no other option, I'll have to reset it by hardware.. But I'm still surprised that it's impossible to do it by software, it's kind of weird. Cheers, Gonza
  13. Hi Joe!.. As Ausman said, you can use an ML o DW, buy it'll has a finite limit like you comment. I'll consider the EXF-RC15 module for future machines, but in this case I have to solve it without it. If there's no possibility to implement a reset via software, I'll do it via hardware associating a DO to the physical reset of the HSCs. Hey Ausman! I agree with you too.. I have to say that I don't know very well how it works. The V350 model that I have, has only 1 HSC, it's the V350-35-TA24. Cheers, Gonzalo
  14. Hi people!! Thanks everyone for the interest and the willingness about this topic. I'm learning new things I haven't thought before, as Flex said. Perfecto Cara!! Lo tendré en cuenta también para futuras cuestiones. Finalmente me dieron soporte desde los representantes de Argentina, aunque no hemos llegado a un conclusión aún. Muchas gracias por la amabilidad. That's a good way to avoid using hardware reset. Thanks for sharing Guy Sela! I might implement something similar..
  15. I didn't know that and I think it's not well explain anywhere (help files, installation guides, etc) as other people said in this forum.. Where did you read that? I completely agree with you Aus!.. At the moment I made it work but using a digital output connected to both hardware reset pins of the HSCs, but that's really useless.. It's strange that people cannot reset it by soft. As you say, it doesn't seem to be too unusual. Thanks Flex.. We'll see. By the way, I contacted Argentinian's Unitronics Support, but the didn't answer. Cheers people! Gonzalo
  16. Hey Joe T. I would like to post it, but my boss does not allow me to post the whole program. I'll try to reduce it and give it to you. Hey Gabriel!.. I have just tried using HSC with snap in, and I could reset it.. The problem is when I try to reset the HSC of the expansion module IO-D16A3-RO16, I can't make it work. And I do need to use it, because I have to use 2 HSC and the V350 has only one. Thanks!
  17. Hey Aus! I read your post and immediately tried it, but it also didn't work haha.. I'm not giving up, I'll win this battle .. Hope we can find a solution Thanks!! Gonzalo
  18. Yes, the subroutine is always being called. I've just tried it, but it hasn't worked. I don't know what could be wrong with that.
  19. Hi Ausman! Yes, I've already tried it, but it didn't work.. I attach the whole net. Cheers, Gonzalo
  20. Yes, I will use an DW to avoid overflow, but once the process is finished I do need to reset it before starting a new one. That's why I wanted to do it by software.. I'll wait a little more and if there no more replies I'll write to them. I'll post their answer here in order to help anyone that's having the same trouble. Thanks Flex!! Cheers
  21. No.. I've already tried it.. I also tried a block function that is call "Reset HSC" (Utils - Inmediate), but it didn't work, or maybe I'am not using it well.
  22. Hi everyone! Is there any way to reset the MI associated to an HSC input by software? The problem is that if I don't do that, it will overflow. Thanks in advance, Gonzalo PS: I'm using a V350
  23. Thanks Flex!! It's good to know that it won't cause any problems.. Cheers, Gonzalo
×
×
  • Create New...