Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

To make a communication CANOPEN from a master (PC) towards a slave

Hello to all.
I must make a communication by means of protocol CANOPEN with
driver of a motor that acts like slave, and a master that in this
case is a PC with a card DOG of National Instruments.
 
This communication has to be made by means of an application which we
have created in the surroundings of programming LabVIEW 8,0, this
communication is an extension of our application.
 
My problem is that I do not understand the philosophy of operation of
protocol CANOPEN, when I must use a SDO or a PDO or a
NMT..., How to initialize the communication and like making it?
We have acquired bookstore CANOPEN of National.
 
The manufacturers of the motor say to me that I must load a file * eds
(that they have provided to me) in the master but I see that in would
free CANOPEN I do not have no icon that allows me to do this and
from the MAX I have not either seen the possibility of doing it.
 
I have created something of code but clear he is does not work.
Associate manual of the slave bmaxx3400 and the code that I have
created.
 
I only must send 2 parameters to the slave:
 
Controlword (P0300)
RFG1Input (P1171)
 
First it starts up it and stop and the second it indicates the
speed of turn.
 
I hope that you have sufficient information to be able to respond to
me of correct form.
 
A greeting.
 
P.D: Of the archives *.vi you open the denominated CANOPEN
       
Download All
0 Kudos
Message 1 of 2
(4,326 Views)
Hi,

Within your Vi you have used the PDO VIs with COB ID 1537 which is actualy reserved for SDO transfer. I assume you intended to send SDO messages and picked the wrong VIs?
See the attached example for how to send SDO messages.

DirkW

Message 2 of 2
(4,268 Views)