09-14-2007 04:26 AM
09-14-2007 08:20 AM
09-17-2007 03:26 AM
09-17-2007 08:14 AM
09-17-2007 09:44 AM
Hi
I had in the NI CANopen "ConfigCANNet.vi" routine the same value of the baudrate (ie 125kbps) as indicated in the MAX setting.
IanG
09-18-2007 08:46 AM
Ian,
Could you try to set the second byte to 0. That addresses all devices on your bus and perhaps it works. A second thing is setting the device to preoperational first (first byte h80).
I can not think about something else.
DirkW
09-19-2007 04:28 AM
Hi
Can I just check the format of the message you are suggesting. Using the SDO read/write code I set the CAN port to CAN0 (which is the location of the device), the baud rate to 125000 bps as is set within the EDM hardware, the mode to "preoperational", the NODE ID to 1 as set within the EDM hardware and the write array as follows:
byte 0(code): 80h, byte1(index): 0, byte2(index): 10h, byte3(sub-index): 0, byte4(data0): 0, byte5(data1): 0, byte6(data2): 0, byte7(data3): 0
Thanks
IanG
09-19-2007 08:16 AM
Ian,
No you need the CANopen Module Control.VI with parameter "0" for all nodes and parameter "enter pre-operational". Thats it.
Call this Vi directly after your CANopen Interface Create VI.
See the PDO.VI Example which comes with the Library for more information.
DirkW
10-18-2007 07:49 AM