Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN Frame format

Hi,

 

Can I have two type of IO in same frame?

I mean can i have 2 DO and 2AO in same TxPDO ?

2bytes for 2DO and other bytes for 2AO?

0 Kudos
Message 1 of 2
(6,165 Views)

Yes, you can put whatever you want in the data bytes.

 

 NI CAN Frame.JPG

 

Each data byte is 8 bits so to pack a U16, you will use two data bytes.  You can put 8 DO's in one byte.  Etc....

 

0 Kudos
Message 2 of 2
(6,056 Views)