Instructions

Table Of Contents
10.3.5. Create Transacon Templates
Create Read Barcode Data Parameter
Before You Begin
The Communicator reads values delivered from to the Barcode Scanner node on to the PLC.
The Barcode Scanner sends data whenever it is available, without any request or handshake from the
Communicator.
Figure 97. Barcode Variable data, CR and LF
In this example we have added three frame elds for the barcode data transacon:
One Variable data frame for the length of the barcode.
We use a xed value.
The maximum payload length is 31 (ASCII).
The Barcode Scanner is congured to append:
One Carriage Return character (CR) to the barcode.
So we create one Constant frame with the Value 13 (ASCII).
One Line Feed character (LF) to the barcode.
So we create one Constant frame with the Value 10 (ASCII).
Barcode Scanner - Custom Produce/Consume Use Case Anybus
®
Communicator
- PROFIBUS to Modbus RTU/Serial
SCM-1202-177 1.2 Page 113 of 134