Is it possible in B&R to take Continuous 1 hour of Trace, like I want some variables to watch for some cycles as my cycle stuck automatically after some time?
If Possible then How? and what does Trace Buffer 32767 means in Seconds? Like how much time Trace is available to watch?
Is it possible in B&R to take Continuous 1 hour of Trace, like I want some variables to watch for some cycles as my cycle stuck automatically after some time?
the builtin variable trace is limited to 32767 records but it might work with CoTrace. But there are limitations here as well.
and what does Trace Buffer 32767 means in Seconds?
If you use the trace in a task class with a 10-millisecond interval, that amounts to 32767 * 0.01 seconds.
Alternatively, you can configure the trace to record data only every nth cycle. In that case, of course, information could get lost.
The B&R Logger is also a good way to identify sporadic errors by logging your own variables (e.g. state machines) there.
Iām going to take this opportunity to promote my own library, which simplifies these tasks a bit.
However, the community has also developed other libraries for this purpose.