Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
I am working on a PiXtend V2-L which is connected via CAN bus to a VESC 6+ motorcontroller.
I sent the message:
cansend can0 0000033D#3E800000
And my motor started spinning at 1000RPM
How the message works:
00000 - command ID (RPM - 3) - Adress (61 - 3D) # - RPM ( 1000 - 3E8) - 00000
The candump looks like this:
The struggle now is to send and read these messages in CODESYS
Tried to make it work with CANopen, but my motorcontroller is not compatible
Is there any kind of way to read and write raw messages in codesys???
Any kind of help that puts me in the right direction would be of huge help
Pic of my rig
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!
I am working on a PiXtend V2-L which is connected via CAN bus to a VESC 6+ motorcontroller.
I sent the message:
cansend can0 0000033D#3E800000
And my motor started spinning at 1000RPM
How the message works:
00000 - command ID (RPM - 3) - Adress (61 - 3D) # - RPM ( 1000 - 3E8) - 00000
The candump looks like this:
The struggle now is to send and read these messages in CODESYS
Tried to make it work with CANopen, but my motorcontroller is not compatible
Is there any kind of way to read and write raw messages in codesys???
Any kind of help that puts me in the right direction would be of huge help
Pic of my rig
Where I'm at right now
Hi,
look in codesys store at the "can example"