CANopen (FD) Process Data Object (PDO) Mapping Parameters

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ก.ค. 2024
  • Introduction to the Process Data Object protocol in CANopen and CANopen FD. Part 2: PDO Mapping Parameter. By Olaf Pfeiffer, Embedded Systems Academy.
    www.em-sa.com
    NOTE: At 2.22 Receive PDO1.. RPDO512 goes to 17FFh (not 16FFh)

ความคิดเห็น • 19

  • @philippsteiner1987
    @philippsteiner1987 11 หลายเดือนก่อน +1

    Well Done 👍 I actually understand now how the mapping actually works

  • @yashwantrao7594
    @yashwantrao7594 2 ปีที่แล้ว +2

    time stamp 2:25
    Receive RPDO index no :
    1600h - 16FFh
    it should be :
    1600h - 17FFh

    • @EmSACANopen
      @EmSACANopen  10 หลายเดือนก่อน +1

      Good catch! Yes, it should.

  • @ChristieNel
    @ChristieNel 2 ปีที่แล้ว

    Fantastic video. However, I can't find an explanation of how one can have more than four addressable PDOs per node when in the COB-ID seven bits are the node ID and the remaining four bits are for the function ID, which only allows four PDOs. All the bits are used, so how?

    • @EmSACANopen
      @EmSACANopen  2 ปีที่แล้ว

      The documents and training describes the default COB-ID assignment. Both the exact CAN ID used and the number of PDOs iused per device is just a default and can be re-configured. Usually it means re-using default COB-IDs from devices not present in the network.
      EXAMPLE: If in your system you only use node ID 1 to 63 and 64 to 127 are unused (never present), then you can re-assign the default COB-IDs from nodes 64 to 127 to the other nodes.

    • @ChristieNel
      @ChristieNel 2 ปีที่แล้ว

      @@EmSACANopen Thanks for this explanation. I had a suspicion this is the case, that one has to use up some other IDs. But then it's not really true when it is said that one can node can have 512 PDOs, unless you have only a single node.

  • @bennguyen1313
    @bennguyen1313 4 ปีที่แล้ว

    I understand CANopen defines a master/slave protocol on top of canbus.. I'm using standard slow canbus (non-FD) running on STM32s / CANopenNode.
    Is it possible to create a canopen topology, such that the slaves broadcast their sensor data (PDO) independently (without request), but the master on the bus can still control/configure the slave nodes?
    Regarding monitoring, what hardware does Cangineberry's "CANopen Architect Mini Software" work with? ex. USB Peak, CANedge2?

    • @EmSACANopen
      @EmSACANopen  4 ปีที่แล้ว +1

      Yes, this is how combination of PDO / SDO works. PDO for independent data communication between devices. At any time (or not at all) Manager can use SDO to configure devices.
      CANopen Architect Mini is a pure EDS Editor. It does not need/support any HW.

    • @bennguyen1313
      @bennguyen1313 4 ปีที่แล้ว

      @@EmSACANopen Is Mapping parameters the way you would transfer a file using CanOpen? I don't see another mechanism for sending a large burst of data where the integrity / order must must be ensured!

    • @frankfrei6848
      @frankfrei6848 4 ปีที่แล้ว

      In CANopen, you can "send" (write/download or read/upload) a file through SDO segmented or block transfer to/from a DOMAIN type OD entry only. The transfer is always started from the SDO client (normally also the master or manager) and connects to one SDO server (normally a slave node).

    • @EmSACANopen
      @EmSACANopen  4 ปีที่แล้ว +1

      @@bennguyen1313 This can be done using the segmented or blocked SDO transfer.

    • @EmSACANopen
      @EmSACANopen  4 ปีที่แล้ว

      @@bennguyen1313 Use (U)SDO for file transfers.

  • @ahmedamostafa7
    @ahmedamostafa7 4 ปีที่แล้ว

    Is it possible to operate a CANopen FD Master with a CANopen slave? In other words, the master would only receive 8 bits of data in the data field.

    • @EmSACANopen
      @EmSACANopen  4 ปีที่แล้ว

      This depends on the CANopen FD Manager/Master implementation which is not standardized. I would expect that any CANopen FD Manager should also be backward compatible to process PDOs of any length, no matter if 1, 2, ... 8 or more bytes.

    • @ahmedamostafa7
      @ahmedamostafa7 4 ปีที่แล้ว

      @@EmSACANopen Is there any issue with the different message frames? A CANFD message frame is different from a CAN2.0 frame. Is it possible to have a system with mixed slave nodes (some CAN2.0 running CANopen and some CAN-FD running CANopenFD), all controlled by CANopenFD master? Thanks.

    • @EmSACANopen
      @EmSACANopen  4 ปีที่แล้ว

      Unfortunately no, if you put a pure classical CANopen (or CAN) device on a CANopen FD (or CAN FD) network, it will destroy the CAN FD frames and cause error frames. You need a bridge separating the two.
      See can-newsletter.org/uploads/media/raw/c8f2bab1e505c72108efc741fa8239fc.pdf

  • @subhani441
    @subhani441 2 ปีที่แล้ว

    Please provide information regarding getting response from sever through tpdo

    • @EmSACANopen
      @EmSACANopen  2 ปีที่แล้ว

      For PDO there is no client/server defined. PDOs use producers (TPDO) and consumers (RPDO).
      SDO are client / server communication. Client requests access to an OD entry of a server.

    • @subhani441
      @subhani441 2 ปีที่แล้ว

      TPDO mapping is done with three objects 0x6078 ,0x606c,0x22a2
      and the transmission type is asynchronous i.e 0xff and return type 16bit,32bit,16bit respectively with help of dsp 301 manual as menitoned below.
      TPDO1 id 0x183
      Set 0 to 0x1A00(0) Stop all emissions of TPDO1.
      Set 0x60780010 to 0x1A00(1) Program the actual current value (object 0x6078) to first 2bytes of the PDO.
      Set 0x606c0020 to 0x1A00(2) Program object 0x606c for next 4 bytes (actual velocity).
      Set 0x22a20010 to 0x1A00(3) Program object 0x22a2 for next 2 bytes (temparature).
      Set 1 to 0x1800(2) Set transmission type in PDO communication parameters to “Transmit every SYNC.” Other PDO communication parameters are not programmable
      . Set 3 to 0x1A00(0) Activate the three mapped objects.
      and gave response as in the manual .
      i think i just mapped the objects .
      i"m not seeing any response data regarding the objects from the elmo.
      am i need to do any additional thing.
      when can i read the tpdo1 data from elmo
      can u please help me with this