Discussion:
different codes for writing and reading in CANOpen.
(too old to reply)
can can canopen
2008-03-20 05:40:10 UTC
Permalink
Hi All,
 
There are different codes available for writing and reading in CANopen protocol.
 
THe codes such as 40,41,4B,4F are used for reading and 20,21  etc are used for writing.
 
Can I know when i have to use this,I mean suppose Object dictionary says 1010:2 is integer data type,so which code i have use whether 40 or 41 .
 
What is code for the Unsigned 32 data
What is code for U8
What is the code for I8
 
both for writing and reading.
 
Thanks in advance
DirkW
2008-03-20 17:10:08 UTC
Permalink
My guess is you mean the command byte? I found the following within a Lenze drive manual. It gives a good overview about all the commands and data types.
I hope that helps.
 
DirkW


command bytes.jpg:
http://forums.ni.com/attachments/ni/30/3289/1/command bytes.jpg
can we generate frequency using counters . if so then what is the range and resolution.
2008-04-04 08:10:06 UTC
Permalink
Hi Dirk
Can u please explain Command Byte. Like i have to read the data & the data type is
String
U8 , U16, I8, I16.
Please tell me for these data types what will be the value of Command Byte.
 
Regards
J
DirkW
2008-04-04 15:10:09 UTC
Permalink
Hi
Well, you have to look into the CANopen specification to get the details. See the Link below.
<a href="http://www.can-cia.org/index.php?id=440" target="_blank">http://www.can-cia.org/index.php?id=440</a>
DirkW
gndfng
2008-05-06 04:40:08 UTC
Permalink
Hi I am Amit Tavag.
Do u want the explanation of the Command Byte?
can we generate frequency using counters . if so then what is the range and resolution.
2008-05-06 07:40:05 UTC
Permalink
Hi Amit
Please give me the explaination of command byte.&nbsp;Kindly share your knowledge with us and if you have any document or link please share that also.
Regards
J
gndfng
2008-05-06 09:40:11 UTC
Permalink
The Command Byte is used in SDO transfer. This Command byte is the first data byte in the SDO transfer.The bits in the Command Byte will tell u the following things,
1) Whether u want to read from the Object Dictionary or write to the Object Dictionary
2) Normal Transfer or Expedited transfer
3) Number of Bytes that do not contain data

'Download' means writing to the Object Dictionary and 'Upload' means reading from the Object Dictionary.

The SDO Command Specifier (first data byte of an SDO CAN-message) syntax and details for each of these protocols is shown in the tables below ("?" stands for: don't care, should be zero).

Initiate Domain Download

Bit 7 6 5 4 3 2 1 0

Client to Server: &nbsp;0 0 1 ? n e s

Server to Client: 0 1 1 ? ? ? ? ?

n : valid if e=1 and s=1, otherwise 0; indicates the number of bytes that do not contain data (bytes 8-n to 7 do not contain data).

e : 0 = normal transfer, 1 = expedited transfer.

s : size indicator, 0 = data set size not indicated, 1= data set size indicated.

e =0, s =0 : data bytes reserved for further use by CiA

e =0, s =1 : data bytes contain byte-counter, byte 4:LSB, byte 7: MSB
e =1 : data bytes contain data to be downloaded.

Initiate Domain Upload

Bit 7 6 5 4 3 2 1 0

Client to Server: 0 1 0 ? ? ? ? ?
Server to Client: 0 1 0 ? n e s

EXAMPLE:

With the following SDO messages value 0x3FE is written to Object Dictionary index 0x1801 subindex 3, of a node with Node-ID=2, using the Initiate Domain Download protocol with expedited

transfer (2 bytes of data):

Client&nbsp;to Server (node #2)

COB-ID&nbsp;0 1 2 3 4 5 6-7

602 2B 01 18 03 FE 03 ?

Server to Client&nbsp;(node #2)

582 60 01 18 03 ? ? ?

With the following SDO messages the same Object Dictionary index 0x1801 sub-index 3 is read back from the node, using the Initiate Domain Upload protocol where the server replies with an expedited transfer (2 bytes of data):

Client&nbsp;to Server (node #2)

COB-ID 0 1 2 3 4 5 6-7

602 40 01 18 03 ? ? ?

Server to Client&nbsp;(node #2)
582 4B 01 18 03 FE 03 ?
If u have some doubts then pls revert back to me, will help u as much as i know.
Thanks &amp; Regards
Amit Tavag
can we generate frequency using counters . if so then what is the range and resolution.
2008-05-06 19:40:08 UTC
Permalink
Dear Mr. Amit
Thanxs for this explaination. I have some doubt -
1.&nbsp;&nbsp;&nbsp;
can we generate frequency using counters . if so then what is the range and resolution.
2008-05-06 19:40:08 UTC
Permalink
Dear Mr. Amit
Thanxs for this explaination. I have some doubt -
1.&nbsp;&nbsp;&nbsp; In Initiate Domain download , Client to server is 7 bit ??
2.&nbsp;&nbsp; What is the Diff between normal transfer &amp; expedited transfer ?
3.&nbsp;&nbsp; What is the use of n,e &amp; s ? It is not clear to me ?
4.&nbsp;&nbsp; How to read or write a string ?
5.&nbsp; in the example
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Client&nbsp;to Server (node #2)

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COB-ID&nbsp;0 1 2 3 4 5 6-7

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 602 2B 01 18 03 FE 03 ?

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Server to Client&nbsp;(node #2)

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 582 60 01 18 03 ? ? ?

From where 2B &amp; 60 has been derived. Is it only for 2 Byte. Then if the data is of 4 Byte then what will be the value ?

6.&nbsp;&nbsp; If i am not wrong you have considered Server = PC &amp; Client = Unit

7. How to decide where we should use normal transfer&nbsp;or expedited transfer ?&nbsp;

8.&nbsp;&nbsp;&nbsp;In&nbsp;example

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Initiate Domain Download

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Bit 7 6 5 4 3 2 1 0

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Client to Server: &nbsp;0 0 1 ? n e s

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Server to Client: 0 1 1 ? ? ? ? ?

As the download means writing to the object dictionary . So to start the download first PC will send the request&nbsp;to the device (Unit), suppose i want to write a value 18 h (4 byte of data &amp; for string&nbsp;) to the OD index 2030h , subindex 3, Node id 3 for normal &amp; expedited transfer. How i can send the command &amp; what will be the response. Please tell me for normal &amp; expediated transfer seperately &amp; also for 4 byte of data and string.

If you know any good book on CANopen or pdf or link then please share with me.

Thanks &amp; Regards

J

&nbsp;

&nbsp;
gndfng
2008-05-09 07:10:08 UTC
Permalink
Hi......, Sorry yaar, was busy in the project......, so unable to answer......., anywaz i will answer all ur questions now.........,
1)&nbsp;Its a 8-bit, becoz 'n' is of 2-bits.
2) Expedited transfer: used for data objects up to 4 bytes in length.

&nbsp;&nbsp;&nbsp; Segmented transfer: for objects with length &gt; 4 bytes.

&nbsp;&nbsp;&nbsp; I have never used normal transfer, so i dont know abt it......, anywaz i will search &amp; will tell abt normal transfer........., but its not necessary to use it, i mean u will never use it.
3) In SDO Protocol, u can transfer more than 8 bytes of data. But the explanation whatever i have sent to u i.e., restricted to sending only 8 bytes of data. If u want to use more than 8 bytes, u have to use block transfer.
In Initiate Domain Download which is of maximum 8 bytes.
1st byte = Command byte
2nd &amp; 3rd bytes = Index of the OD (Object Dictionary )
4th byte = Subindex of OD.
5th,6th, 7th &amp; 8th bytes are DATA BYTES.
EXPLANATION OF FIRST BYTE:
The bits of the COMMAND BYTE will tell u,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * out of 4 data bytes, how many are we sending
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether its a expedited transfer.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether the transmission is from Client to Server or vice versa.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example 1:
gndfng
2008-05-09 07:40:07 UTC
Permalink
Hi......, Sorry yaar, was busy in the project......, so unable to answer......., anywaz i will answer all ffice:smarttags" prefix="st1" />ur questions now.........,
POINTS TO BE REMEMBERED:
1) CLIENT = PC &amp; SERVER = UNIT
2) FORGET ABOUT NORMAL TRANSFER U WILL NEVER USE IT. IMAGINE THERE ARE ONLY TWO TRANSFERS EXPEDITED &amp; SEGEMENTED.
3) NOW FOR ALL UR QUESTIONS THE ANSWERS I AM GIVING, BY CONSIDERING ONLY EXPEDITED TRANSFER.
&nbsp;
ANSWERS TO QUSETIONS ARE AS BELOW:ffice<img src="/i/smilies/16x16_smiley-surprised.gif" width="16" height="16" border="0">ffice" prefix="o" />
1)&nbsp;Its a 8-bit, becoz 'n' is of 2-bits.
2) Expedited transfer: used for data objects up to 4 bytes in length.

&nbsp;&nbsp;&nbsp; Segmented transfer: for objects with length &gt; 4 bytes.

&nbsp;&nbsp;&nbsp; I have never used normal transfer, so i dont know abt it......, anywaz i will search &amp; will tell abt normal transfer........., but its not necessary to use it, i mean u will never use it.
3) In SDO Protocol, u can transfer more than 8 bytes of data. But the explanation whatever i have sent to u i.e., restricted to sending only 8 bytes of data. If u want to use more than 8 bytes, u have to use block transfer.
In Initiate Domain Download which is of maximum 8 bytes.
1st byte = Command byte
2nd &amp; 3rd bytes = Index of the OD (Object Dictionary )
4th byte = Subindex of OD.
5th,6th, 7th &amp; 8th bytes are DATA BYTES.
EXPLANATION OF FIRST BYTE:
The bits of the COMMAND BYTE will tell u,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * out of 4 data bytes, how many are we sending
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether its a expedited transfer.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether the transmission is from Client to Server or vice versa.
IN THE EXAMPLES BELOW, IMAGINE THAT U R USING EXPEDITED TRANSFER i.e., U R SENDING DATA BYTES EQUAL TO OE LESS THAN 4. THATS WHY e = 1.
'n' tells u the number data bytes&nbsp;that u r not sending out of 4 DATA bytes. If u r using 'n' then by defualt u make e = 1 &amp; s = 1.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example 1: Imagine that u want to send only 1 byte of data out of 4 bytes then n = 0 x 11, e&nbsp;= 1 &amp; s = 1.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example 1: Imagine that u want to send only&nbsp;2 bytes of data out of 4 bytes then n = 0 x 10, e&nbsp;= 1 &amp; s = 1.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example 1: Imagine that u want to send only&nbsp;3 bytes of data out of 4 bytes then n = 0 x 01, e&nbsp;= 1 &amp; s = 1.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example 1: Imagine that u want to send only&nbsp;4 bytes of data out of 4 bytes then n = 0 x 00, e&nbsp;= 1 &amp; s = 1.
5 )&nbsp;Explanation of 0x2B is as below.
&nbsp;&nbsp;&nbsp; 0x2B is the COMMAND BYTE.

&nbsp;&nbsp;&nbsp; Bits:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7 6 5 4 3 2 1 0

&nbsp;&nbsp;&nbsp;Client to Server:&nbsp;0 0 1&nbsp;0 1 0 1 1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= 0x2B

&nbsp;&nbsp; Client to Server:&nbsp;0 0 1 ? n&nbsp;&nbsp;&nbsp;e s

&nbsp;&nbsp; The bit 7,6 &amp; 5 tells u that the data is from Client to Server.From the above n = 10 which is 2 i.e., we r not sending 2 bytes of data from 4 data bytes. And e = 1 means we r sending lesser then 4 bytes. When 'n' has a meaning 'e' &amp; 's' should&nbsp;&nbsp; be 1.

&nbsp;&nbsp;&nbsp;

Explanation of 0x60 is as below.
&nbsp;&nbsp;&nbsp; 0x60 is the COMMAND BYTE. This is the Acknowledgement from the Server to the Client, saying that it has completed the INITIATE DOMAIN DOWNLOAD.

&nbsp;&nbsp;&nbsp; Bits:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7 6 5 4 3 2 1 0

&nbsp;&nbsp;&nbsp;Server to Cli
Guillermo Ibanez
2008-05-15 10:10:05 UTC
Permalink
I've found this message that's the closest&nbsp;&nbsp;I need but my question is more basilar yet :-) . I need communicate in CanOpen dsp 301 using a NI-USB 8473 card. I'm using the C api interface functions and I need a minimal example of how to implement the SDO and PDO channels using the primitives ncRead and ncWrite functions&nbsp;Can anyone give me an orientation support about this issue?&nbsp;thanks a lotwilly
chris_amadasun
2008-05-16 16:40:06 UTC
Permalink
Hello, Your device the 8743 does not support CAN Open. This article lists the <a href="http://zone.ni.com/devzone/cda/tut/p/id/5859" target="_blank">NI CAN devices and their supported API's</a> If you have another NI CAN device you will need to installthe CAN Open library and open the examples.
gndfng
2008-05-09 07:10:08 UTC
Permalink
Hi......, Sorry yaar, was busy in the project......, so unable to answer......., anywaz i will answer all ur questions now.........,
1)&nbsp;Its a 8-bit, becoz 'n' is of 2-bits.
2) Expedited transfer: used for data objects up to 4 bytes in length.

&nbsp;&nbsp;&nbsp; Segmented transfer: for objects with length &gt; 4 bytes.

&nbsp;&nbsp;&nbsp; I have never used normal transfer, so i dont know abt it......, anywaz i will search &amp; will tell abt normal transfer........., but its not necessary to use it, i mean u will never use it.
3) In SDO Protocol, u can transfer more than 8 bytes of data. But the explanation whatever i have sent to u i.e., restricted to sending only 8 bytes of data. If u want to use more than 8 bytes, u have to use block transfer.
In Initiate Domain Download which is of maximum 8 bytes.
1st byte = Command byte
2nd &amp; 3rd bytes = Index of the OD (Object Dictionary )
4th byte = Subindex of OD.
5th,6th, 7th &amp; 8th bytes are DATA BYTES.
EXPLANATION OF FIRST BYTE:
The bits of the COMMAND BYTE will tell u,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * out of 4 data bytes, how many are we sending
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether its a expedited transfer.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether the transmission is from Client to Server or vice versa.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example 1:
gndfng
2008-05-09 07:10:09 UTC
Permalink
Hi......, Sorry yaar, was busy in the project......, so unable to answer......., anywaz i will answer all ur questions now.........,
1)&nbsp;Its a 8-bit, becoz 'n' is of 2-bits.
2) Expedited transfer: used for data objects up to 4 bytes in length.

&nbsp;&nbsp;&nbsp; Segmented transfer: for objects with length &gt; 4 bytes.

&nbsp;&nbsp;&nbsp; I have never used normal transfer, so i dont know abt it......, anywaz i will search &amp; will tell abt normal transfer........., but its not necessary to use it, i mean u will never use it.
3) In SDO Protocol, u can transfer more than 8 bytes of data. But the explanation whatever i have sent to u i.e., restricted to sending only 8 bytes of data. If u want to use more than 8 bytes, u have to use block transfer.
In Initiate Domain Download which is of maximum 8 bytes.
1st byte = Command byte
2nd &amp; 3rd bytes = Index of the OD (Object Dictionary )
4th byte = Subindex of OD.
5th,6th, 7th &amp; 8th bytes are DATA BYTES.
EXPLANATION OF FIRST BYTE:
The bits of the COMMAND BYTE will tell u,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * out of 4 data bytes, how many are we sending
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether its a expedited transfer.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether the transmission is from Client to Server or vice versa.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example 1:
gndfng
2008-05-09 07:10:09 UTC
Permalink
Hi......, Sorry yaar, was busy in the project......, so unable to answer......., anywaz i will answer all ur questions now.........,
1)&nbsp;Its a 8-bit, becoz 'n' is of 2-bits.
2) Expedited transfer: used for data objects up to 4 bytes in length.

&nbsp;&nbsp;&nbsp; Segmented transfer: for objects with length &gt; 4 bytes.

&nbsp;&nbsp;&nbsp; I have never used normal transfer, so i dont know abt it......, anywaz i will search &amp; will tell abt normal transfer........., but its not necessary to use it, i mean u will never use it.
3) In SDO Protocol, u can transfer more than 8 bytes of data. But the explanation whatever i have sent to u i.e., restricted to sending only 8 bytes of data. If u want to use more than 8 bytes, u have to use block transfer.
In Initiate Domain Download which is of maximum 8 bytes.
1st byte = Command byte
2nd &amp; 3rd bytes = Index of the OD (Object Dictionary )
4th byte = Subindex of OD.
5th,6th, 7th &amp; 8th bytes are DATA BYTES.
EXPLANATION OF FIRST BYTE:
The bits of the COMMAND BYTE will tell u,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * out of 4 data bytes, how many are we sending
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether its a expedited transfer.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether the transmission is from Client to Server or vice versa.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example 1:
gndfng
2008-05-09 07:10:09 UTC
Permalink
Hi......, Sorry yaar, was busy in the project......, so unable to answer......., anywaz i will answer all ur questions now.........,
1)&nbsp;Its a 8-bit, becoz 'n' is of 2-bits.
2) Expedited transfer: used for data objects up to 4 bytes in length.

&nbsp;&nbsp;&nbsp; Segmented transfer: for objects with length &gt; 4 bytes.

&nbsp;&nbsp;&nbsp; I have never used normal transfer, so i dont know abt it......, anywaz i will search &amp; will tell abt normal transfer........., but its not necessary to use it, i mean u will never use it.
3) In SDO Protocol, u can transfer more than 8 bytes of data. But the explanation whatever i have sent to u i.e., restricted to sending only 8 bytes of data. If u want to use more than 8 bytes, u have to use block transfer.
In Initiate Domain Download which is of maximum 8 bytes.
1st byte = Command byte
2nd &amp; 3rd bytes = Index of the OD (Object Dictionary )
4th byte = Subindex of OD.
5th,6th, 7th &amp; 8th bytes are DATA BYTES.
EXPLANATION OF FIRST BYTE:
The bits of the COMMAND BYTE will tell u,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * out of 4 data bytes, how many are we sending
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether its a expedited transfer.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether the transmission is from Client to Server or vice versa.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example 1:
gndfng
2008-05-09 07:10:09 UTC
Permalink
Hi......, Sorry yaar, was busy in the project......, so unable to answer......., anywaz i will answer all ur questions now.........,
1)&nbsp;Its a 8-bit, becoz 'n' is of 2-bits.
2) Expedited transfer: used for data objects up to 4 bytes in length.

&nbsp;&nbsp;&nbsp; Segmented transfer: for objects with length &gt; 4 bytes.

&nbsp;&nbsp;&nbsp; I have never used normal transfer, so i dont know abt it......, anywaz i will search &amp; will tell abt normal transfer........., but its not necessary to use it, i mean u will never use it.
3) In SDO Protocol, u can transfer more than 8 bytes of data. But the explanation whatever i have sent to u i.e., restricted to sending only 8 bytes of data. If u want to use more than 8 bytes, u have to use block transfer.
In Initiate Domain Download which is of maximum 8 bytes.
1st byte = Command byte
2nd &amp; 3rd bytes = Index of the OD (Object Dictionary )
4th byte = Subindex of OD.
5th,6th, 7th &amp; 8th bytes are DATA BYTES.
EXPLANATION OF FIRST BYTE:
The bits of the COMMAND BYTE will tell u,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * out of 4 data bytes, how many are we sending
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether its a expedited transfer.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether the transmission is from Client to Server or vice versa.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example 1:
gndfng
2008-05-09 07:10:09 UTC
Permalink
Hi......, Sorry yaar, was busy in the project......, so unable to answer......., anywaz i will answer all ur questions now.........,
1)&nbsp;Its a 8-bit, becoz 'n' is of 2-bits.
2) Expedited transfer: used for data objects up to 4 bytes in length.

&nbsp;&nbsp;&nbsp; Segmented transfer: for objects with length &gt; 4 bytes.

&nbsp;&nbsp;&nbsp; I have never used normal transfer, so i dont know abt it......, anywaz i will search &amp; will tell abt normal transfer........., but its not necessary to use it, i mean u will never use it.
3) In SDO Protocol, u can transfer more than 8 bytes of data. But the explanation whatever i have sent to u i.e., restricted to sending only 8 bytes of data. If u want to use more than 8 bytes, u have to use block transfer.
In Initiate Domain Download which is of maximum 8 bytes.
1st byte = Command byte
2nd &amp; 3rd bytes = Index of the OD (Object Dictionary )
4th byte = Subindex of OD.
5th,6th, 7th &amp; 8th bytes are DATA BYTES.
EXPLANATION OF FIRST BYTE:
The bits of the COMMAND BYTE will tell u,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * out of 4 data bytes, how many are we sending
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether its a expedited transfer.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether the transmission is from Client to Server or vice versa.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example 1:
gndfng
2008-05-09 07:10:09 UTC
Permalink
Hi......, Sorry yaar, was busy in the project......, so unable to answer......., anywaz i will answer all ur questions now.........,
1)&nbsp;Its a 8-bit, becoz 'n' is of 2-bits.
2) Expedited transfer: used for data objects up to 4 bytes in length.

&nbsp;&nbsp;&nbsp; Segmented transfer: for objects with length &gt; 4 bytes.

&nbsp;&nbsp;&nbsp; I have never used normal transfer, so i dont know abt it......, anywaz i will search &amp; will tell abt normal transfer........., but its not necessary to use it, i mean u will never use it.
3) In SDO Protocol, u can transfer more than 8 bytes of data. But the explanation whatever i have sent to u i.e., restricted to sending only 8 bytes of data. If u want to use more than 8 bytes, u have to use block transfer.
In Initiate Domain Download which is of maximum 8 bytes.
1st byte = Command byte
2nd &amp; 3rd bytes = Index of the OD (Object Dictionary )
4th byte = Subindex of OD.
5th,6th, 7th &amp; 8th bytes are DATA BYTES.
EXPLANATION OF FIRST BYTE:
The bits of the COMMAND BYTE will tell u,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * out of 4 data bytes, how many are we sending
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether its a expedited transfer.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether the transmission is from Client to Server or vice versa.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example 1:&nbsp;
gndfng
2008-05-09 07:10:10 UTC
Permalink
Hi......, Sorry yaar, was busy in the project......, so unable to answer......., anywaz i will answer all ur questions now.........,
1)&nbsp;Its a 8-bit, becoz 'n' is of 2-bits.
2) Expedited transfer: used for data objects up to 4 bytes in length.

&nbsp;&nbsp;&nbsp; Segmented transfer: for objects with length &gt; 4 bytes.

&nbsp;&nbsp;&nbsp; I have never used normal transfer, so i dont know abt it......, anywaz i will search &amp; will tell abt normal transfer........., but its not necessary to use it, i mean u will never use it.
3) In SDO Protocol, u can transfer more than 8 bytes of data. But the explanation whatever i have sent to u i.e., restricted to sending only 8 bytes of data. If u want to use more than 8 bytes, u have to use block transfer.
In Initiate Domain Download which is of maximum 8 bytes.
1st byte = Command byte
2nd &amp; 3rd bytes = Index of the OD (Object Dictionary )
4th byte = Subindex of OD.
5th,6th, 7th &amp; 8th bytes are DATA BYTES.
EXPLANATION OF FIRST BYTE:
The bits of the COMMAND BYTE will tell u,
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * out of 4 data bytes, how many are we sending
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether its a expedited transfer.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * whether the transmission is from Client to Server or vice versa.
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Example 1:&nbsp; (If
Guillermo Ibanez
2008-05-19 06:40:08 UTC
Permalink
Thank you for checking this! I saw that the PCI version could be the solution but instead I ordered it USB version believing that it'll also work fine... Anyway I don't use LabView and anyway I couldn't use CANOpen libraries. Unfortunately I'll have to look for another Canopen manufacturers. :-(Best regards
Loading...