Hi Ajay,

I am not sure i understand, but do you need help to get the master to recive DI 
PDO from slave?

If so you can just change one of the RPDO with objdictedit on the master 
0x1400-0x15FF subindex 0x01 to 181.
Then add a variable to the RPDO mapping, but all that is just standard canOpen 
settings

Best Regards
Lars

From: canfestival-devel@lists.sourceforge.net 
[mailto:canfestival-devel@lists.sourceforge.net]
Sent: Wednesday, December 7, 2016 2:53 PM
To: canfestival-devel@lists.sourceforge.net
Subject: [Canfestival-devel] Receive PDO configuration

Hello,

In one of my project I am using can festival code to implement canopen master,

I have configured slave to get heartbeat for each second and configured master 
RX PDO to get data from slave if any event occurs at slave side.
My slave device is a simple DIO ,  If there is any change in the Slave Digital 
input pin, I am getting data change to master on canbus,
I don't know how to receive the data from can bus to my user space,

Please help me in getting data from can bus to user space...

Data on canbus....

  can0  701   [1]  05
  can0  701   [1]  05
  can0  701   [1]  05
 can0  181   [1]  02      //data on canbus when I apply active high to DI pins
  can0  701   [1]  05
  can0  181   [1]  00
  can0  701   [1]  05
  can0  701   [1]  05

Best regards

Ajay Barge
RBEI/ETP

Tel. +91(80)6783-6914
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Canfestival-devel mailing list
Canfestival-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/canfestival-devel

Reply via email to