GonzaloRoldan_ Posted February 28, 2018 Report Share Posted February 28, 2018 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 Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted February 28, 2018 MVP 2023 Report Share Posted February 28, 2018 Does Reset Numeric or Store Direct 0 into the MI not work? Link to comment Share on other sites More sharing options...
GonzaloRoldan_ Posted February 28, 2018 Author Report Share Posted February 28, 2018 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. Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted February 28, 2018 MVP 2023 Report Share Posted February 28, 2018 Sorry, replied without thinking. You need to configure a hardware reset. One specific digital input can act as a reset - see the help file. Another thought is to use an ML or DW to avoid overflow. Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted February 28, 2018 MVP 2023 Report Share Posted February 28, 2018 Also, I thought the Immediate Reset HSC should work, but I can't find any Help entry on that. This is not a function I've used recently. If you don't get any other help here, just send your question to Unitronics Support. They'll get back to you pretty quickly. 1 Link to comment Share on other sites More sharing options...
GonzaloRoldan_ Posted February 28, 2018 Author Report Share Posted February 28, 2018 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 Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted February 28, 2018 MVP 2023 Report Share Posted February 28, 2018 2 hours ago, GonzaloRoldan_ said: I'll post their answer here in order to help anyone that's having the same trouble. Thank you for that! Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted February 28, 2018 MVP 2023 Report Share Posted February 28, 2018 Have you got the Immediate Reset as the only element in the net along with it's activating condition? Aus Link to comment Share on other sites More sharing options...
GonzaloRoldan_ Posted February 28, 2018 Author Report Share Posted February 28, 2018 Hi Ausman! Yes, I've already tried it, but it didn't work.. I attach the whole net. Cheers, Gonzalo Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted February 28, 2018 MVP 2023 Report Share Posted February 28, 2018 And is it in a subroutine that is definitely being called when needed? Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted February 28, 2018 MVP 2023 Report Share Posted February 28, 2018 Please also do a full Initialise and Reset and then see if it works. Link to comment Share on other sites More sharing options...
GonzaloRoldan_ Posted February 28, 2018 Author Report Share Posted February 28, 2018 3 minutes ago, Ausman said: And is it in a subroutine that is definitely being called when needed? Yes, the subroutine is always being called. 1 minute ago, Ausman said: Please also do a full Initialise and Reset and then see if it works. I've just tried it, but it hasn't worked. I don't know what could be wrong with that. Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted February 28, 2018 MVP 2023 Report Share Posted February 28, 2018 Sorry Gonzalo, over to others more knowledgable! I don't use HSC at all, but there is obviously something I am missing in my interpretation of how to do it...same as you! Before we finally give up, have you tried changing your MB350 to one of the Function keypad inputs SB? Maybe this is not being called properly? I look forward to other people's thoughts. cheers, Aus Link to comment Share on other sites More sharing options...
GonzaloRoldan_ Posted February 28, 2018 Author Report Share Posted February 28, 2018 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 Link to comment Share on other sites More sharing options...
MVP 2023 Joe Tauser Posted March 1, 2018 MVP 2023 Report Share Posted March 1, 2018 Post your code. I have a V350 I can load it into. Joe T. Link to comment Share on other sites More sharing options...
Gabriel Franco Posted March 1, 2018 Report Share Posted March 1, 2018 I can reset ML counter without issue. In hardware configuration, set HSI as a High Speed Counter using an ML operand, then in ladder resetting ML as needed. I use HSC with SNAP-IN. Link to comment Share on other sites More sharing options...
GonzaloRoldan_ Posted March 1, 2018 Author Report Share Posted March 1, 2018 16 hours ago, Joe Tauser said: Post your code. I have a V350 I can load it into. Joe T. 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. 4 hours ago, Gabriel Franco said: I can reset ML counter without issue. In hardware configuration, set HSI as a High Speed Counter using an ML operand, then in ladder resetting ML as needed. I use HSC with SNAP-IN. 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! Link to comment Share on other sites More sharing options...
Gabriel Franco Posted March 2, 2018 Report Share Posted March 2, 2018 6 hours ago, GonzaloRoldan_ said: 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. As far as I know and remember, using expansion modules, require you to use hardware reset for HSC. Link to comment Share on other sites More sharing options...
MVP 2023 Ausman Posted March 2, 2018 MVP 2023 Report Share Posted March 2, 2018 I've just looked at hardware configs and it is interesting that HSC Reload only appears for snap-ins, perhaps other controls only work on snap-ins as well. So Gabriel and Flex are probably right in their thoughts. It seems strange that a reset on an expansion requires a full hardware reset. What Gonzalo wants doesn't seem to be too unusual. Creators please! Aus Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted March 2, 2018 MVP 2023 Report Share Posted March 2, 2018 @Cara Bereck Levy, this issue might need to be addressed in more detail in the help file. If there is a difference between Snap-In and expansion modules in how the HSC behaves, the customer needs to know for proper hardware selection. 1 Link to comment Share on other sites More sharing options...
GonzaloRoldan_ Posted March 2, 2018 Author Report Share Posted March 2, 2018 13 hours ago, Gabriel Franco said: As far as I know and remember, using expansion modules, require you to use hardware reset for HSC. 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? 13 hours ago, Ausman said: I've just looked at hardware configs and it is interesting that HSC Reload only appears for snap-ins, perhaps other controls only work on snap-ins as well. So Gabriel and Flex are probably right in their thoughts. It seems strange that a reset on an expansion requires a full hardware reset. What Gonzalo wants doesn't seem to be too unusual. Creators please! Aus 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. 21 minutes ago, Flex727 said: @Cara Bereck Levy, this issue might need to be addressed in more detail in the help file. If there is a difference between Snap-In and expansion modules in how the HSC behaves, the customer needs to know for proper hardware selection. Thanks Flex.. We'll see. By the way, I contacted Argentinian's Unitronics Support, but the didn't answer. Cheers people! Gonzalo Link to comment Share on other sites More sharing options...
Cara Bereck Levy Posted March 4, 2018 Report Share Posted March 4, 2018 Hi guys--I just pinged Support and asked one of the commandos to have a look here. If I need to clarify the Help--no problem @GonzaloRoldan_ Please feel free to write to Unitronics' headquarters for support as well, regarding your issues. support@unitronics.com. (y puedes escribir en Castellano, si tu quieres--uno de nuestro ingenieros de soporte, Eduardo, es de Argentina) Link to comment Share on other sites More sharing options...
Guy Sela Posted March 4, 2018 Report Share Posted March 4, 2018 Hi Guys, There is no direct option to reset HSC which is on expansion unit. Attached is application which implements resetting HSC using virtual HSC. In the attached application instead of working directly with the MI that linked to the HSC (which you are unable to change/reset) working with the virtual HSC. Expansion HSC reset.vlp 1 Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted March 4, 2018 MVP 2023 Report Share Posted March 4, 2018 This is fascinating. I'm learning some things about the differences between expansion I/O modules and Snap-In I/O modules that I haven't thought much about in the past. My thinking is that there is a more "intimate" connection between Snap_in modules and the PLC than expansion modules. There are 8 pins (lines of communication) between expansion modules and the PLC, while there are 34 pins connecting the Snap-In module to the PLC (they may not all be used and at least 2 or 3 are used for power & ground). This would seem to allow for certain additional capabilities that Unitronics takes advantage of. Clearly one of them is the ability to interact with the HSC in real time that can't be done with the expansion module. Any of this sound right? Link to comment Share on other sites More sharing options...
GonzaloRoldan_ Posted March 4, 2018 Author Report Share Posted March 4, 2018 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. 6 hours ago, Cara Bereck Levy said: Hi guys--I just pinged Support and asked one of the commandos to have a look here. If I need to clarify the Help--no problem @GonzaloRoldan_ Please feel free to write to Unitronics' headquarters for support as well, regarding your issues. support@unitronics.com. (y puedes escribir en Castellano, si tu quieres--uno de nuestro ingenieros de soporte, Eduardo, es de Argentina) 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. 3 hours ago, Guy Sela said: Hi Guys, There is no direct option to reset HSC which is on expansion unit. Attached is application which implements resetting HSC using virtual HSC. In the attached application instead of working directly with the MI that linked to the HSC (which you are unable to change/reset) working with the virtual HSC. Expansion HSC reset.vlp That's a good way to avoid using hardware reset. Thanks for sharing Guy Sela! I might implement something similar.. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now