Development and discussion of fast charging systems eg Chademo , CCS etc
rrryy39
Posts: 7 Joined: Fri Jul 26, 2024 3:21 pm
Post
by rrryy39 » Tue Nov 26, 2024 4:03 pm
Hi, I am currently using foccci&clara for the EVCC development and I want to be able to let the controller send and receive can frames. RIght now I setup the openinverter-can-tool using pip and I am using pcan. After running the commend
Code: Select all
oic can add tx 0x100 AdcProximityPilot 0 16 10
I get this
Code: Select all
canopen.sdo.exceptions.SdoCommunicationError: No SDO response received
Does this mean that I don't have communication to the board? Thank you in advance
johu
Site Admin
Posts: 6323 Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 250 times
Been thanked: 1316 times
Contact:
Post
by johu » Tue Nov 26, 2024 5:13 pm
You need to specify the node id, it defaults to 1 but Clara has 22
Are you writing EVSE code for Clara?
rrryy39
Posts: 7 Joined: Fri Jul 26, 2024 3:21 pm
Post
by rrryy39 » Tue Nov 26, 2024 6:44 pm
johu wrote: ↑ Tue Nov 26, 2024 5:13 pm
You need to specify the node id, it defaults to 1 but Clara has 22
Are you writing EVSE code for Clara?
No, I want to integrate the clara into a vehicle and let the bms control the clara outputs to EVSE. Thank you
davefiddes
Posts: 267 Joined: Mon Jan 18, 2021 12:39 pm
Location: Edinburgh, Scotland, UK
Has thanked: 46 times
Been thanked: 80 times
Post
by davefiddes » Tue Nov 26, 2024 6:55 pm
Glad you got sorted. If you run
the tool will scan the CAN bus looking for any openinverter nodes (well technically anything that responds to CANopen SDO). I find this a useful way to check that all the devices I expect are up and running on the bus.
rrryy39
Posts: 7 Joined: Fri Jul 26, 2024 3:21 pm
Post
by rrryy39 » Tue Nov 26, 2024 7:00 pm
davefiddes wrote: ↑ Tue Nov 26, 2024 6:55 pm
Glad you got sorted. If you run
the tool will scan the CAN bus looking for any openinverter nodes (well technically anything that responds to CANopen SDO). I find this a useful way to check that all the devices I expect are up and running on the bus.
Thanks, after the scan, I found Found possible openinverter node: 22. But then I do the commend
Code: Select all
oic -n 22 can add tx 0x100 AdcProximityPilot 0 16 10
I got an error
Code: Select all
can.interfaces.pcan.pcan.PcanCanInitializationError: A PCAN Channel has not been initialized yet or the initialization process has failed
. I made sure there is no other app using the pcan and also restart the labtop. Any hint on how to solve this issue? thank you very much.
davefiddes
Posts: 267 Joined: Mon Jan 18, 2021 12:39 pm
Location: Edinburgh, Scotland, UK
Has thanked: 46 times
Been thanked: 80 times
Post
by davefiddes » Tue Nov 26, 2024 11:28 pm
That's an odd looking error message. Has the scan stopped working now?
I don't have any experience of using PCAN adapters (on Windows I presume). Have you got a config file setup like the docs describe:
https://python-can.readthedocs.io/en/st ... /pcan.html
If scanning still works can you try a simpler command like "listparams" and/or "dumpall" to check the basic comms are working well.