Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 07, 2012, 08:29:05 am
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Host Engineering Forum
>
General Category
>
CTRIO
>
CTRIO Count Inhibit
Pages: [
1
]
« previous
next »
Print
Author
Topic: CTRIO Count Inhibit (Read 1131 times)
watertech2
Jr. Member
Posts: 11
CTRIO Count Inhibit
«
on:
July 09, 2009, 03:04:24 pm »
I am using the CTRIO cards to calculate flow based on pulses from a paddle wheel. There are some instances, in which I have a reverse flow, when I do not want to include the pulses in my count. Reading the manual, I noticed that there is a hardware "inhibit" input option and am assuming that I can also directly write a count inhibit using certain states w/in my PLC. What register/method would I use for this function.
Logged
ATU
Internal Dev
Posts: 670
YKPAIHA
Re: CTRIO Count Inhibit
«
Reply #1 on:
July 10, 2009, 08:58:09 am »
I don't believe that you can inhibit the counting where you can freeze the current count other than being at zero. The only software control is that you have a reset bit and the actual count. I guess the reasoning being that if you needed a high speed counter then trying to inhibit the counting in software would be inaccurate.
However, you could still accomplish what you want either by configuring an unused output on the counter for RAW if you are not using it and tie it back to the enable input. Then enable/disable that output to inhibit/enable the counter. Or use another output. Another option is to capture the count in the counter when you want to freeze the count and then write it back when you ready to count again. Both instances you have to be mindful of delays in your program scan to get an accurate count.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> MX Technology Preview
=> General Discussion
=> CTRIO
=> DirectSOFT
=> DNLoader
=> DSData
=> EBCs and EBC100s
=> ECOMs and ECOM100s
=> EDRV
=> ERM
=> Ethernet SDK
=> MB-GATEWAY
=> NetEdit
=> Profibus
=> WinPLC
Loading...