Jhav Posted February 22 Report Share Posted February 22 I am using a IO-D16A3-RO16 expansion module for its 2 HSC but it does not come with the option to have the HSC and frequency measurements, so i will have to create my own frequency measurement so far i have a reseting a timer at 1 sec sampling the counter. is there a way to store the sample and subtract it from the last sample taken? anyadvice wold be appreciated . Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted February 22 MVP 2022 Report Share Posted February 22 Try using the Store and Subtract functions. All kidding aside, is there something you're trying to do that I'm missing? Quote Link to comment Share on other sites More sharing options...
Jhav Posted February 23 Author Report Share Posted February 23 I am just new to unitronics and have not programmed a PLC since school 11 years ago. This forum is a good resource. I am trying to get flow rate in GPM. Quote Link to comment Share on other sites More sharing options...
AlexUT Posted February 23 Report Share Posted February 23 1. Look at following article: https://support.unitronics.com/index.php?/selfhelp/view-article/calculate-totalizing-or-integral 2. Expansion module you use IO-D16A3-RO16 is relatively "slow", as it ise serial type of communication with PLC. But if you read sequential values at fixed time interval, let's say, 1 sec, it will work for you. 2. Other way is to use "Frequency Measurement" option: This can give you estimated frequensy, proportional to flow, at selected time interval. You can use MI or DW for both, High Speed Counter and for Frequency Measurement. 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.