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. Quote 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.