I think I have figured out the source of the issue. When I delete all rows from Modbus Extended data, the errors go away from journalctl. When I add the rows back in, the errors come back. I tried a brand new Pictory project and as soon as I add all the rows, the errors appear.
Here is the RSC file:
I also noticed that all modbus data returns 0 when the driver is reset (piTest -x) and I receive the following messages in journalctl -r.
I have to restart the pi in order to receive modbus messages.
Code: Select all
May 05 09:39:01 Pi1 CRON[4833]: pam_unix(cron:session): session closed for user root
May 05 09:39:01 Pi1 CRON[4834]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
May 05 09:39:01 Pi1 CRON[4833]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
May 05 09:17:01 Pi1 CRON[4810]: pam_unix(cron:session): session closed for user root
May 05 09:17:01 Pi1 CRON[4811]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
May 05 09:17:01 Pi1 CRON[4810]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
May 05 09:09:10 Pi1 systemd[1]: Finished Clean php session files.
May 05 09:09:10 Pi1 systemd[1]: phpsessionclean.service: Succeeded.
May 05 09:09:10 Pi1 systemd[1]: Starting Clean php session files...
May 05 09:09:01 Pi1 CRON[4748]: pam_unix(cron:session): session closed for user root
May 05 09:09:01 Pi1 CRON[4749]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
May 05 09:09:01 Pi1 CRON[4748]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
May 05 08:39:10 Pi1 systemd[1]: Finished Clean php session files.
May 05 08:39:10 Pi1 systemd[1]: phpsessionclean.service: Succeeded.
May 05 08:39:09 Pi1 systemd[1]: Starting Clean php session files...
May 05 08:39:01 Pi1 CRON[4649]: pam_unix(cron:session): session closed for user root
May 05 08:39:01 Pi1 CRON[4650]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
May 05 08:39:01 Pi1 CRON[4649]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
May 05 08:17:01 Pi1 CRON[4624]: pam_unix(cron:session): session closed for user root
May 05 08:17:01 Pi1 CRON[4625]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
May 05 08:17:01 Pi1 CRON[4624]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
May 05 08:09:10 Pi1 systemd[1]: Finished Clean php session files.
May 05 08:09:10 Pi1 systemd[1]: phpsessionclean.service: Succeeded.
May 05 08:09:09 Pi1 systemd[1]: Starting Clean php session files...
May 05 08:09:01 Pi1 CRON[4568]: pam_unix(cron:session): session closed for user root
May 05 08:09:01 Pi1 CRON[4569]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
May 05 08:09:01 Pi1 CRON[4568]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
May 05 07:39:10 Pi1 systemd[1]: Finished Clean php session files.
May 05 07:39:10 Pi1 systemd[1]: phpsessionclean.service: Succeeded.
May 05 07:39:09 Pi1 systemd[1]: Starting Clean php session files...
Code: Select all
pi@Pi1:~ $ uname -a
Linux Pi1 6.1.46-rt13-v7l #1 SMP PREEMPT_RT Mon, 22 Apr 2024 08:37:46 +0200 armv7l GNU/Linux
Errors in journalctl -r
Code: Select all
May 05 12:31:57 Pi1 kernel: piControl: AIO addr 31: communication failed (req:20,ret:-5)
May 05 12:31:57 Pi1 kernel: pi-bridge serial1-0: receive data error in io-req(len: 20)
May 05 12:31:57 Pi1 kernel: piControl: AIO addr 30: communication failed (req:20,ret:-74)
May 05 12:31:57 Pi1 kernel: pi-bridge serial1-0: unexpected response addr 0x1f
May 05 12:31:57 Pi1 kernel: piControl: AIO addr 31: communication failed (req:20,ret:-5)
May 05 12:31:57 Pi1 kernel: pi-bridge serial1-0: receive head error in io-req
Code: Select all
May 05 12:42:33 Pi1 kernel: piControl: AIO addr 31: communication failed (req:20,ret:-5)
May 05 12:42:33 Pi1 kernel: pi-bridge serial1-0: receive data error in io-req(len: 20)
May 05 12:42:33 Pi1 kernel: piControl: AIO addr 30: communication failed (req:20,ret:-74)
May 05 12:42:33 Pi1 kernel: pi-bridge serial1-0: unexpected response addr 0x1f
May 05 12:42:33 Pi1 kernel: piControl: AIO addr 31: communication failed (req:20,ret:-5)
May 05 12:42:33 Pi1 kernel: piAIOComm_sendCyclicTelegram: 3 callbacks suppressed
May 05 12:42:33 Pi1 kernel: pi-bridge serial1-0: receive head error in io-req
May 05 12:42:22 Pi1 kernel: pi-bridge serial1-0: receive data error in io-req(len: 20)
May 05 12:42:22 Pi1 kernel: pi-bridge serial1-0: unexpected response addr 0x1f
May 05 12:42:22 Pi1 kernel: pi-bridge serial1-0: receive head error in io-req
I think the errors are somehow related to modbus.