ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Open Can subindex selection

Hi all,

 

I'm new in OpenCan protocol.

 

Now I have TPDO1 mapped, with 8 subindex pointing diverse Object Dictionary entries.

 

But, How I subindexes are identified in telegram?

 

If node is 10H, Index is 180h+10h=390h.

 

But, which subindex is?

 

Thanks in advance.

 

Vicente Jose.

0 Kudos
Message 1 of 3
(2,412 Views)

Hi Jose,

 

the protocol is named "CANopen"...

 

The subindex is part of the CAN frame data packet.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,410 Views)

Hi GerdW,

 

Yes, you're right, is CANOpen.

 

This is a sample of the frame I receive form tinycan:

 

190 0 0 8 0C 80 1 1 1 1 0 0

 

I suppose is TPDO1 (180h) + node 10h. is followed by flags EFF, RTR, number of data bytes, and data bytes (12 128 1 1 1 1 0 0), but I can see subindex.

 

Vicente Jose.

 

 

0 Kudos
Message 3 of 3
(2,399 Views)