Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to process 1 master to 2 slave #10

Open
tuhai711 opened this issue Sep 16, 2022 · 6 comments
Open

How to process 1 master to 2 slave #10

tuhai711 opened this issue Sep 16, 2022 · 6 comments

Comments

@tuhai711
Copy link

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

@CANopenNode
Copy link
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.

@tuhai711
Copy link
Author

Yes. Thank you.

@tuhai711 tuhai711 reopened this Sep 17, 2022
@tuhai711
Copy link
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.

@tuhai711
Copy link
Author

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

@CANopenNode
Copy link
Owner

Please read some literature about CANopen.

@tuhai711
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants