Author Topic: CAN messages delayed by 10 ms  (Read 647 times)

Offline diah.wulandari

  • PLUS+1 Novice
  • *
  • Posts: 1
  • Karma: +0/-0
CAN messages delayed by 10 ms
« on: May 20, 2026, 06:25:21 AM »
Hi everyone,

I am transmitting CAN messages from an SC024 controller on a 500 kbps CAN bus.

In PLUS+1 GUIDE, I configured one CAN Tx message with a periodic transmission time of 10 ms and another with 100 ms. However, in the CAN analyzer, the actual message periods appear to be around 20 ms and 110 ms.

I have checked the CAN Tx block configuration, and it seems correct. This is the first time I have encountered this behavior.

Has anyone experienced a similar issue, or does anyone have suggestions on what might cause the transmission period to be different from the configured value?

Thanks

Offline Lukey

  • PLUS+1 Guru
  • *****
  • Posts: 101
  • Karma: +12/-1
Re: CAN messages delayed by 10 ms
« Reply #1 on: May 20, 2026, 08:03:57 AM »
I've had a similar thing happen before, it's related to your .ExecTimeOut:
Found in Pages TOP > Inputs > OS
Default is 10ms which explains the 10ms difference you are seeing.
Try changing it to 1ms and see what happens.

Offline Marbek_Elektronik

  • PLUS+1 Guru
  • *****
  • Posts: 359
  • Karma: +12/-0
    • Marbek Elektronik
Re: CAN messages delayed by 10 ms
« Reply #2 on: May 20, 2026, 08:56:11 AM »
yes, you are right.
The periodic time is maximum +1 loop-time!

Take 10x1ms and not 1x10ms and
take 10x10ms and not 1x100ms.

What ist your loop time?
Marbek Elektronik, Dipl.-Ing. Bernd Konrad
Dienstleistung, Entwicklung, Herstellung