An EDS (electronic data sheet) is a file that contains a list of all the data a node will send and receive. The file is a list of PDOs, what is in the PDOs, and all the data and its size. A PDO has a total of 64 bits or 8 bytes. A PDO is not limited to 8 sets of data inside of it but it will warn you when having more than 8.
In Vector Canalyzer go to tools and find the tool CANeds. Open CANeds
You will be met with a gray screen. Open a new file.
Make a new ELECTRONIC DATA SHEET. Your screen should look like this
Now we want to add stuff to the object dictionary. This can be done by dragging stuff from the left side under databases to the object dictionary section. Scroll to the bottom of databases and find TPDOs.
Expand it and find items 1800 and 1A00. These two databases are REQUIRED to have any TPDOs which is what we want. These files represent PDO0. For PDO1, 2, 3 find databases 1801, 1A01 for PDO1, 1802, 1A02 for PDO2, ect. There is a maximum of 4 TPDOs per file.
Currently your screen should look like this.
Now we need to check if the data is correct inside these objects.
Leave the data in the Highest sub-index supported alone.
COB-ID
Object 1A00 is PDO mapping. This is where you put all the addresses for where the data is coming in. The first item in the object is 1A00sub0 NrOfEntries (Number of entries). This is the amount of data sets that are going to be cramped into this PDO. The default limit of this is 8 but if you change the value Default to the number of entries you want you can override that number. It will just give you a pop up warning you when you try to save.
The next item is 1A00sub1 PDOMapEntry. This is where you will put the first dataset that will be coming in for the PDO. Add more objects, find this area when 1A00 is selected and change the value and it will add more places you add data and press enter.
This can be done by taking another object and copying it in, removing all its content, changing the hex address so it doesn't conflict with any other object that may be created.
This database will do. We don't need an object count in this object so we can overwrite it as another data set being sent. So let's set up PDO0 to have two datasets. The first set of data is going to be 16 bits and the second is going to be 32 bits.
Change the mapping so it has three objects then set the items up in our object with the data. Object 1 will be called voltage and object 2 will be called temp.
Set up voltage to look like this
We need to check the mapping box because we are using it for the data set voltage in 1A00 this will be the same for any data used to map
Temp
Now to map the to 1A00. To map voltage to 1A00sub1 set up the item like below
The default will have to be changed to 0x60000010 this is because this value represents the following
0x 6000 00 10
0x represents hex
6000 represents the address where the list which contains the data is
00 represents the object number in the list in hex
10 represents the data size in hex
All of these values are in hex.
Change sub object 2 to
Then you are done. You have made an EDS file.