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

Slave or master? #47

Open
Fluxanode opened this issue Oct 9, 2024 · 0 comments
Open

Slave or master? #47

Fluxanode opened this issue Oct 9, 2024 · 0 comments

Comments

@Fluxanode
Copy link

Fluxanode commented Oct 9, 2024

I think this is a master lib? Is this the querying device or data serving device? I've been working with modbus for a while, and believe the device that queries the network of sensors is the master or client and the data device being asked for data is the slave or host or server.

Definition:

In Modbus communication, the terms "master" and "slave" refer to the roles devices play in the network:

Modbus Master:
The master is the central controller in a Modbus network.
It initiates communication by sending requests to one or more slaves.
The master decides when and how the data is exchanged, controlling the timing of communication.
There is typically only one master in a Modbus network.

Modbus Slave:
A slave device responds to the requests from the master.
It waits for queries from the master and cannot initiate communication on its own.
Multiple slave devices can be connected to the network, each with a unique address.
Examples of slave devices include sensors, actuators, and controllers that provide data or accept commands.
In summary, the Modbus master controls the communication and requests data or actions, while the Modbus slave provides data or performs actions when requested.

So is the a lib for a master or slave as defined above?

Another question, will this work with a teensy 4.1?

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

1 participant