Author |
Message |
kimpet
|
PostPosted: Wed May 08, 2019 1:08 pm |
|
Joined: Mon May 06, 2019 3:14 pm Posts: 7
|
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 helpPic of my rig  
|
|
Top |
|
 |
kimpet
|
PostPosted: Wed May 08, 2019 1:25 pm |
|
Joined: Mon May 06, 2019 3:14 pm Posts: 7
|
|
Top |
|
 |
mos89@yahoo.com
|
PostPosted: Tue Oct 01, 2019 1:23 pm |
|
Joined: Mon Feb 04, 2019 2:11 pm Posts: 43
|
Hi, look in codesys store at the "can example"
|
|
Top |
|
 |