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 Thu Dec 13, 2018 6:59 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri Aug 31, 2018 10:36 am 
Offline

Joined: Tue Jul 31, 2018 3:08 pm
Posts: 1
Hello, I am working in a project where I need to use a raspberry pi 3 as PLC, working with codesys V3.5 SP13, and the raspberry pi should work as master node on the CANbus protocol.

I already try to find something that could help me understand how I should program the raspberry using structured text, to do the following:

- Send and recieve some commands.

The problem is, I only could find files or videos where they explain how to setup the CANopen device or how to use some type of funtion from some librarie that I can't find, in other words, I can't find anything relevant that could help me understand how I can recieve a message by CANbus and how I can send a message.

As example, the RPI send the comand in 452Ba3 hexadecimal to the slave 1, that means "send me the peak values of your sensors ", and the slave will send to the master the values and the master would save this values in a .csv file.


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

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