Code Signal Flag from inverter to indicate CAN comms is working? #30
Replies: 3 comments 1 reply
-
Yes you are right. The CAN communication is one way. I do not try to receive any response or acknowledge from the inverter, but maybe there is a response or acknowledge I am not aware of. |
Beta Was this translation helpful? Give feedback.
-
Ok great, I thought I was going crazy to not find anything coming back from inverter. In your code at line 546 in JK-BMSToPylontechCAN.ino
I am just not sure how the delay(n) will affect the timing in your code? |
Beta Was this translation helpful? Give feedback.
-
Thanks for the inspiration 🥇 |
Beta Was this translation helpful? Give feedback.
-
Hey ArminJo :)
I am trying to add status LED's to show if COMMS is working or not.
On the JKBMMS side I have managed to adjust/add to the code to allow LED to be on/off depending on status of BMS comms working or not.
I have defined STATUS LED's for CAN and BMS and POWER status
Then..
AT LINE 698 in JK-BMSToPylontechCAN.ino
Now I want to do the same for the CAN side.
In the code I can find where to see status if CAN Module is on or not. But I cannot find any code which shows any signal/flag/callback coming from the inverter to say all comms are working.
Currently it looks like the CAN is one-way only, sending to the inverter, and nothing coming back from the inverter?
Or advise suggest another way to know in the code if CAN is communicating or not?
Beta Was this translation helpful? Give feedback.
All reactions