Jump to content

HSC wont accept store.


Recommended Posts

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

  • 1 year later...

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

  • 2 years later...

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...