Polling
In the polling method, one station acts as the primary (controller) station and the other stations act as secondary stations. The primary station controls who can transmit.
How it works:
The primary station contacts or polls a secondary station.
If the polled station has data to send, it transmits.
If it has no data, the primary station polls the next station.
The process continues in sequence.
The primary station polls the secondary stations one at a time.
Select and Poll Functions in Controlled Access
In the polling method, the primary device controls communication with the secondary devices using two functions: Select and Poll.
1. Select Function
The select function is used when the primary device has data to send to a secondary device.
Working:
The primary device sends a Select (SEL) frame containing the address of the intended secondary device.
The secondary device responds with an acknowledgment indicating that it is ready to receive.
The primary device transmits the data.
The secondary device receives the data and acknowledges it.
Example: If the primary device wants to send data to station B, it sends a SEL frame containing station B's address before transmitting the data.
2. Poll Function
The poll function is used when the primary device wants to receive data from secondary devices.
Working:
The primary device polls the secondary devices one by one to check whether they have data to send.
If a secondary device has no data, it responds with a NAK (Negative Acknowledgment) frame.
The primary device then polls the next secondary device.
If a secondary device has data, it sends a data frame.
The primary device receives the data and sends an ACK (Acknowledgment) frame to confirm successful receipt.
Example: The primary device polls station A. If station A has no data, it responds with NAK, and the primary polls station B. If station B has data, it sends the data frame, and the primary acknowledges it.
Difference between Select and Poll
Select | Poll |
|---|---|
Used when the primary wants to send data. | Used when the primary wants to receive data. |
The primary selects the intended secondary device. | The primary checks secondary devices one by one. |
The secondary indicates readiness to receive. | The secondary responds with data or NAK. |
Remember: Select = Primary sends; Poll = Primary receives.
Advantages: No need for stations to compete independently, so collisions are avoided during authorized transmissions.
Disadvantages: Polling introduces overhead and delay. If the primary station fails, communication may be disrupted.
Key point: The primary station decides which station can transmit.

Comments
Post a Comment