Thank you . Im gonna order one up then to play around with.
So if my understanding is correct, it should be possible to do the following:
- install OS large and Node-RED and virtual motor driver on Cerbo
- Install Codesys
- Install canOPEN module for Codesys
- Connect CANbus port on SEVCON Gen4 motor controller to VE-CAN port on Cerbo
- Read heartbeat data from SEVCON controller==>canOPEN module==>Codesys==>virtual motor driver==>Node RED==>Boat page
Does that sound feasible?
Yes. Curious about codesys, I didnāt know that was easily installable.
Alternative option:
- install OS large ( Node-RED is included)
- In Node-Red, use the virtual motor driver node (included)
- In Node-RED, build a flow that reads the data from can and injects it into the virtual motor driver.
Node that I donāt know how node-red and can go wrt performance, depends on number of msgs per second.
Thanks Matthias ā but I donāt know if Node-RED can do that directly (read the CANopen heartbeat data sent by the SEVCON motor drive and inject it into the virtual motor driver) by itself, without Codesys and the CANopen module.
If it can, this would be by far the easiest method. Does anyone know if this is possible?
Iām quite sure its possible, might be a lot of work or maybe not.
But you wonāt be the first doing something with canopen and node-red:
Thatās fantastically helpful, thank you so much!!!
(assuming all this will work on a Cerbo GX with OS Large/Node-Red installed, which I assume it willā¦)
Then all I have to do is get the imported data into the (new) virtual drive module in Node-RED, and hopefully thatās the job done, itāll pop up as a device in VRM/remote console, and also appear on the new Boat pageā¦
I donāt know when Iāll get chance to do this though, the boat is 150 miles away and Iām not due back on it until August ā but it does look like thereās now a way forward with no additional hardware except a CANbus cable from the SEVCON (Gen 4) to the Cerbo
Maybe I can even persuade my boatbuilder to try this out on one of the electric boats in his workshop at the moment, heās been looking for a way to display drive data which doesnāt involve an expensive extra display and hardwareā¦
Hey, what happened to the post about connecting a CANBus motor controller via Node-RED? Was it deleted because it wasnāt discussing Victron gear, even though it was replying to questions about integrating with a Cerbo?
If so, could the poster (Jon?) forward the message to me directly?
Ian
P.S. Iād have thought splitting the posts off and moving them to the Node-RED section would have done the job, without deleting some very useful infoā¦
Hi not sure, I have not deleted anything.
Hi guys, apparently AI generated content is not allowed. I thought the ālet me google that for youā message of @mpvader was very funny, and added to that with a contemporary up-to-date ālet me grok that for youā response. The exact prompts I entered into grok the first time was a carbon copy of Mattijsses ācanopen+node-redā, the second prompt on top of that was ā+sevcon motorcontrollerā. I guess with that you can reproduce grokās AI response with a single prompt: ācanopen+node-red+sevcon_motorcontrollerā and take it from there, maybe even add ā+victron_venusos_largeā and ānon-verboseā for better results too.
I would love to but there seems to be no DMās on this forum. Can send it email but above āgrok promptā hint should allow you to reproduce reasonably easily, as was the gist of the original ālmgtfyā.
Anyone that wants to continue on the node-red sevcon topic: I do prefer for her him to make a new topic in the Node-RED section and add a link here.
And keep this - very valuable! - topic for suggestions and comments on the new boat page
@iand can you do that, Iāll join you there. By the way, I do work with sevcon, have the tools for it too, and an interest in getting the interface to the cerbo virtual motor functional as well.