Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: jwbaker3 on February 02, 2023, 09:06:36 AM

Title: High speed up counter
Post by: jwbaker3 on February 02, 2023, 09:06:36 AM
There are 3 high speed up counter functions built into the PLC (BX-DM1E-36ER3) can I add another one? I need 4 if possible.

Thanks,
JW
Title: Re: High speed up counter
Post by: franji1 on February 02, 2023, 09:11:13 AM
BX-HSIO-x expansion modules.
https://automationdirect.com/pn/doc/spec/BX-HSIO-1 (and -2)
https://automationdirect.com/pn/doc/spec/BX-HSIO-4
Title: Re: High speed up counter
Post by: jwbaker3 on February 02, 2023, 09:27:41 AM
I was hoping to be able to add it to the main PLC. I already looked at the HSIO but I can't add another card to the rack. I'll have to add another CPU for the card.

Thanks for the quick answer!
JW
Title: Re: High speed up counter
Post by: BobO on February 02, 2023, 11:35:12 AM
I was hoping to be able to add it to the main PLC. I already looked at the HSIO but I can't add another card to the rack. I'll have to add another CPU for the card.

Thanks for the quick answer!
JW

They are physical things implemented in FPGA logic. Can't be added.

How fast do you need the counter to count?
Title: Re: High speed up counter
Post by: Garyhlucas on February 03, 2023, 05:36:18 PM
I got a faster 4th counter using the interupt routine Its used in every waste treatment plant we built to count flow meters.
Title: Re: High speed up counter
Post by: BobO on February 03, 2023, 05:45:24 PM
I got a faster 4th counter using the interupt routine Its used in every waste treatment plant we built to count flow meters.

This is what I was about to recommend, if his speed requirement isn't too high.
Title: Re: High speed up counter
Post by: jwbaker3 on February 06, 2023, 08:24:31 AM
The rate is ~7,500 counts per second. A standard counter misses about 75% of the count. The interrupt is a good idea, I'll look and see if I can get it working.

Thanks,
JW