audriusk3000 Posted October 10, 2015 Report Share Posted October 10, 2015 Hi. What function should I use to write pulses from encoder to memory. That I can repeat count the same number of pulses. Link to comment Share on other sites More sharing options...
s.pratt Posted October 12, 2015 Report Share Posted October 12, 2015 Hello, Upon setting up a shaft encoder input, you will have a tag automatically created for you in the associated I/O struct. This is where your pulse reading will be held. For instance, if you are using a UID-0808THS module, your counter value will be in UID-0808THS_X.B1:Counter (for block 1 counter value). In the UID-0808THS_X struct, there are other values related to this block one input you may use, such as frequency and direction of the pulses. If you wish to move this to another tag, you may simply use a store block to do so. Hope this helps. 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