01-17-2008 03:25 AM
01-18-2008 01:36 PM
Hi,
You can try looking at example CANopen programs that are posted throughout the discussion forum, such as here. I hope this helps!
Regards,
Rima
01-21-2008 04:42 AM
01-22-2008 05:05 PM
Hi,
You can certainly implement the CANopen functions by themselves. You can find examples specific to CANopen in the following directory:
You will know that the object is active if the Sync Start VI doesn't return an error, because if it doesn't return an error, then that means it has started. Can you give us some more specific details about the data you receive in the pre-operational command?
Thanks,
Rima
01-23-2008 03:35 AM
Hi Rima,
I have developed a simple code as said by you,I am attaching the image of that , let me know if the understanding is proper or not.
I am using LABVIEW 8.0 so can you give me the examples if possible.
According to my understanding, when i give "ENTER-PRE-OPERATIONAL " command the SDO Tx and Rx messages should be available in the bus.
PDO-tx which i send to device will come in the bus,but not the response since the command is pre-operational.
So what i recieve is
SDO tx and RX messages, PDO(tx from my side = PDO rx from device side) , sync, emcy.These messages i recieve in the Bus monitor present in MAX.
01-24-2008 01:25 PM
Hi,
Since you're using LabVIEW 8.0, the CANopen examples will be located in the following directory:
C:\Program Files\National Instruments\LabVIEW 8.0\examples\CANopen
You will see a canopen.llb file, which contains several CANopen examples.
According to the CANopen LabVIEW Library Help, when the device is in the pre-operational state, it will support all CANopen communication objects, except for PDO objects. The device can be configured through SDO communication in this state. The supported communication objects in this state include SDO, SYNC, Emergency, and the Network Management objects (Heartbeat or Node Guarding, Module Control services).
Let me know if you have any specific questions about this, or if you are seeing an error when running your program.
Regards,
Rima