Pibridge cycle time configuration

Topics about the Software of Revolution Pi
Post Reply
BuiMinhNhat
Posts: 2
Joined: 10 Jun 2024, 06:30

Pibridge cycle time configuration

Post by BuiMinhNhat »

I am working on a RevPi Core with EtherCAT gateway module use PiBridge for module connection
As the PiBridge specification, Pibridge data tranfer cycle time is 5ms as default
I want to ask that can i config this Cycle time on C program ?
I want to config the cycle time to 1ms or less than 1ms. Is it possible ?
thank you
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: Pibridge cycle time configuration

Post by dirk »

Hello BuiMinhNhat and welcome to the Revolution Pi community! Interesting questions and also the assumption that the PiBridge has a cycle time of 5 milliseconds.
So the fact is that the cycle time depends on the hardware configuration used.
It cannot be adjusted. In Variable RevPiIOCycle, the measured cycle time is in full miniseconds without rounding.

I can recommend the following article, even if you don't plan to measure analog data with the DIO module,

Measuring analog data with the RevPi AIO module
BuiMinhNhat
Posts: 2
Joined: 10 Jun 2024, 06:30

Re: Pibridge cycle time configuration

Post by BuiMinhNhat »

dear Dirk, thank you for your answer

we found same question below the URL link and with your answer,
i can conclude that the cycle time depends on the hardware with cycle time can be 2ms to 4ms. in fact, I measured the cycle time myself, on my hardware the cycle time is approximate 3ms.
URL : viewtopic.php?t=628
I expect a device that can get data without loss even high speed data transfer like EtherCAT and wait for your product

thank you for your support
User avatar
dirk
KUNBUS
Posts: 2174
Joined: 15 Dec 2016, 13:19

Re: Pibridge cycle time configuration

Post by dirk »

Yes it is hard to predict that because it all depends on your requirements so if they tend to be well hard to reach maybe you can use an alternative setup. Take a look at this helpful article that can bring some inspiration:

How to use the KUNBUS Gateway modules

You can i.e. use a Soft-PLC like CODESYS to use, i.e. EtherCAT on an alternative system setup than with the Gateway modules.
Post Reply