CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Fri Nov 22, 2019 1:02 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed May 08, 2019 1:08 pm 
Offline

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:
Image

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 :)

Image


Top
   
PostPosted: Wed May 08, 2019 1:25 pm 
Offline

Joined: Mon May 06, 2019 3:14 pm
Posts: 7
Where I'm at right now

Image

Image

Image


Top
   
PostPosted: Tue Oct 01, 2019 1:23 pm 
Offline

Joined: Mon Feb 04, 2019 2:11 pm
Posts: 43
Hi,
look in codesys store at the "can example"


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited