The information at the link below says "A maximum of five encoders per RevPi can be used."
Is that per RevPi CPU module, or per RevPi I/O module?
Link ref: https://revolutionpi.com/en/knowledge/c ... ng-encoder
Encoder support in RevPi DIO and DI modules
Re: Encoder support in RevPi DIO and DI modules
Hi ctf,
I don't have direct hands-on experience with encoders, but your question was interesting enough that I decided to test it. And I can confirm: the limit is 6 encoders per I/O module, not per CPU module.
With a RevPi DI alone, you can configure up to 6 encoder pairs without issues
When you try to add a 7th, PiCtory immediately throws an error "ERR: number of counter values is too high (max: 6; Encoder-pairs only count as one)".
I then added a RevPi DIO to the same configuration, and the DIO independently allows another 6 encoder pairs. Again with the same error appearing if you exceed that per-module limit.
So in a system with both a DI and a DIO, you can have up to 12 encoders in total... 6 per module.
I think that the documentations article stating "a maximum of five encoders per RevPi" is incorrect... the number should be 6, and it applies per I/O module, not per RevPi system.
You can verify this in the module-specific footnotes for the RevPi DI and RevPi DIO, which already state the correct limit of 6.
Footnote DI - Ref2 https://revolutionpi.com/en/docs/revpi- ... tnoteref_2 Footnote DIO - Ref2: https://revolutionpi.com/en/docs/revpi- ... tnoteref_2 I'll get the knowledge base article corrected in the coming days.
Thanks for raising this, it turned into a useful test.
I don't have direct hands-on experience with encoders, but your question was interesting enough that I decided to test it. And I can confirm: the limit is 6 encoders per I/O module, not per CPU module.
With a RevPi DI alone, you can configure up to 6 encoder pairs without issues
When you try to add a 7th, PiCtory immediately throws an error "ERR: number of counter values is too high (max: 6; Encoder-pairs only count as one)".
I then added a RevPi DIO to the same configuration, and the DIO independently allows another 6 encoder pairs. Again with the same error appearing if you exceed that per-module limit.
So in a system with both a DI and a DIO, you can have up to 12 encoders in total... 6 per module.
I think that the documentations article stating "a maximum of five encoders per RevPi" is incorrect... the number should be 6, and it applies per I/O module, not per RevPi system.
You can verify this in the module-specific footnotes for the RevPi DI and RevPi DIO, which already state the correct limit of 6.
Footnote DI - Ref2 https://revolutionpi.com/en/docs/revpi- ... tnoteref_2 Footnote DIO - Ref2: https://revolutionpi.com/en/docs/revpi- ... tnoteref_2 I'll get the knowledge base article corrected in the coming days.
Thanks for raising this, it turned into a useful test.
Mit freundlichen Grüßen | Best regards | Muchas gracias
Ramiro Gsponer.
Ramiro Gsponer.