Handshake With Acknowledgement - Baumer VeriSens ID Series Technical Documentation Manual

Vision sensor
Hide thumbs Also See for VeriSens ID Series:
Table of Contents

Advertisement

15.5.3.6.2

Handshake with acknowledgement

Each time new data is sent, the sender inverts the handshake flag (flag bit). The receiver sends the received
handshake flag back to the sender. The sender can only send new data (with the handshake flag inverted
once again) once it has received this acknowledgement. However, this mode reduces the amount of data
that can be transferred simultaneously.
General process for the handshake with acknowledgement for input data for the PLC (status, result data):
1. The PLC activates the handshake (outgoing handshake activation for input data bit 1).
2. The Vision Sensor confirms the activation of the handshake (ingoing handshake activation for input
data bit 1).
3. When it sends new data, the Vision Sensor inverts the handshake flag (ingoing handshake flag for
input data bit 4) and waits for receipt of the acknowledgement (outgoing handshake act. flag for input
data bit 4). If new data is ready to send, it remains in a pipeline.
4. The inverted handshake flag (ingoing handshake flag for input data bit 4) tells the PLC that new data
has arrived and it begins to process it. It confirms receipt of the data by sending the received
handshake flag back as an acknowledgement (outgoing handshake act. flag for input data bit 4).
5. The Vision Sensor detects the acknowledgement (outgoing handshake flag for input data bit 4) and
therefore that the data has been received, and can now send new data and invert the handshake
act. flag again.
General process for the handshake with acknowledgement for output data for the PLC (control, parameters,
trigger data):
1. The PLC activates the handshake (outgoing handshake activation for output data bit 1).
2. The Vision Sensor confirms the activation of the handshake (ingoing handshake activation for output
data bit 1).
3. When it sends new data, the PLC inverts the handshake flag (outgoing handshake flag for output
data bit 4) and waits for receipt of the acknowledgement (ingoing handshake act. flag for output data
bit 4). If new data is ready to be sent, there is the option to retain or discard the data as required.
4. The inverted handshake flag (outgoing handshake flag for output data bit 4) tells the Vision Sensor
that new data has arrived and it begins to process it. It confirms receipt of the data by sending the
received handshake flag back as an acknowledgement (ingoing handshake act. flag for output data
bit 4).
5. The PLC detects the acknowledgement (ingoing handshake act. flag for output data bit 4) and
therefore that the data has been received, and can now send new data and invert the handshake
flag again.
v2.11.0-B4
347/429
Technical Documentation
VeriSens
Baumer Optronic GmbH
Radeberg, Germany
®

Advertisement

Table of Contents
loading

Table of Contents