Skip to content

How to process 1 master to 2 slave #10

Open

Description

@tuhai711

Hello
I am use CANopenLinux to master and CANopenDemo is a slave.
Can i use 2 slave connect to CANopenLinux master?

Activity

  1. CANopenNode commented on Sep 16, 2022

    @CANopenNode
    Owner

    You can connect up to 127 devices on one cable. Make sure, you have 120ohm resistors on both sides of the cable. Each device has own node-id, also the "master".

    And don't think about CANopen as a master-slave protocol. It is more like conversation between devices, each with own task.

  2. tuhai711 commented on Sep 17, 2022

    @tuhai711
    Author

    Yes. Thank you.

  3. tuhai711 commented on Sep 17, 2022

    @tuhai711
    Author

    Hello again.
    How to know NodeID other from message received. I only use one node so i don't know if have 2 nodes more.

  4. tuhai711 commented on Sep 17, 2022

    @tuhai711
    Author

    If I use node 1 receive PDO from 10 other nodes, I need define 10 RPDOs on node 1, that is right?

  5. CANopenNode commented on Sep 17, 2022

    @CANopenNode
    Owner

    Please read some literature about CANopen.

  6. tuhai711 commented on Sep 19, 2022

    @tuhai711
    Author

    Hello,
    I've read a lot of about canopen. and i am using CANopenLinux as master to control 10 slaves (CANopenDemo). I use PDO for control slaves. because to receive message from slaves, master need to define 10 RPDO had COB-ID for each slave. Is that a good method?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions