Ziwi Posted September 17, 2010 Report Share Posted September 17, 2010 Hi Team I have configured a high speed counter on a IO-DI8-RO8 connected to an EX-RC1. The counter is incrementing as the flow meter pulses (which is very slow) If I try to store a zero value to the MI assigned to the flow meter, it holds the zero whilst the condition is forced, but then reverts back to the previous value as soon as it is released. --[MB0]------STORE 0 to MI50 If I use a positive transition on MB0 I dont even see the zero. I use a HSC on a different V350 and it works great in this way as a crude shaft encoder using a proxy sensor on a toothed pulley. Thanks Link to comment Share on other sites More sharing options...
rocal Posted September 26, 2011 Report Share Posted September 26, 2011 Hi Team I have configured a high speed counter on a IO-DI8-RO8 connected to an EX-RC1. The counter is incrementing as the flow meter pulses (which is very slow) If I try to store a zero value to the MI assigned to the flow meter, it holds the zero whilst the condition is forced, but then reverts back to the previous value as soon as it is released. --[MB0]------STORE 0 to MI50 If I use a positive transition on MB0 I dont even see the zero. I use a HSC on a different V350 and it works great in this way as a crude shaft encoder using a proxy sensor on a toothed pulley. Thanks Having exactly the same problem with a IO-DI8-TO8. expansion module. This is connected to a V130-33-RA22. Have a second flow meter connected to the V130 and I can store a zero value to the MI used with this HSC. However when I try and store a zero to the MI assigned to the expansion module HSC it reverts back to the previous value as discribed by Ziwi. Can anyone please help. Link to comment Share on other sites More sharing options...
Damian Posted September 26, 2011 Report Share Posted September 26, 2011 Where are you resetting the value to zero? In the OPLC or in the EX-RC1? If you are simply resetting it in the OPLC you are forgetting that the EX-RC1 is re-writing that value. Link to comment Share on other sites More sharing options...
jbuter Posted December 11, 2013 Report Share Posted December 11, 2013 This is an old discussion, but the solution is not shown. I have the same problem here. I cannot store a value to the ML connected to the shaft encoder. Anybody with a solution? Link to comment Share on other sites More sharing options...
Michael_P Posted December 11, 2013 Report Share Posted December 11, 2013 Jbutler, You will not be able to directly store a value to the encoder register. What you can do is generate a buffer of sorts. Use another register as an offset, add the two together and store into a new register that will be the intended final value. For example, DW0 (Configured in HW configuration) + DW1 (Offset value, user entry) =DW2 (Engineering value, final value). If making a change you must first ensure the counter value is reset to 0 for the expected result. Link to comment Share on other sites More sharing options...
jbuter Posted December 12, 2013 Report Share Posted December 12, 2013 Thanks all. Problem solved. ML1 = counter direct from hardware ML2 = correction ML3 = display value normal => ML1+ML2=ML3 reset to zero => ML1 * -1 = ML2 powerup bit => ML3-ML1=ML2 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