On this page
SICK barcode receiver
Accepts inbound TCP connections from SICK barcode scanners and maps continuous barcode reports to variables.
Compatible devices and models
| Device series / model examples | Connection requirements |
|---|---|
| SICK barcode readers actively sending ASCII barcodes over TCP | The reader connects to the gateway TCP server and sends barcode frames ending with CR, LF or ETX. The mapping retains ASCII letters and digits. |
Set scanner output and connect it
Connect to the actual scanner in SICK SOPAS ET and confirm that it decodes independently before configuring Ethernet result output. This entry accepts barcode result text; CoLa parameter commands, images and other binary services are different interfaces.
- Make the scanner initiate the connection to the gateway’s field-network IP and listening port, for example
192.168.10.10:15030. Set the scanner subnet mask, default gateway and network route as required. - Select ASCII barcode output terminated by CR (
0D), LF (0A) or ETX (03). An initial STX (02) is optional. Save the scanner configuration, trigger a scan and inspect its result and terminator in the device monitor. - Create a gateway TCP server channel on a local interface or
0.0.0.0and the same port. The bind address belongs to the gateway, not the scanner. - Associate a SICK barcode receiver device. If scanners share a listener, set each device’s Source IP, such as
192.168.10.21. This matches one exact IP, not a subnet, hostname orIP:port; leave it blank when no source filter is needed. - Add read-only String
Code, select Received barcode in the address editor and save addressbarcode. Add StringScannerIpwith Barcode connection source, addresssource. No register offset, byte order or polling command is needed.
For bytes 02 41 42 2D 31 32 33 0D (STX, AB-123, CR), Code becomes AB123. Mapping keeps only ASCII letters and digits; punctuation, spaces and non-ASCII text are removed. Account for this in the upstream barcode format. The complete frame limit is 4096 bytes; a frame without letters or digits produces no barcode.
Check the remote IP under Clients, then compare the result and collection time for the same trigger under Receive Monitor. Each result replaces the previous variable value. Configure history or forwarding separately when every scan must be retained.
Open the plugin
Enter “Development Configuration → Collection Configuration”, create a device and select “SICK barcode receiver” in “Device Plugin”.
Supported channels and data types
| Channel type | Pre-configuration check |
|---|---|
| TCP server | Confirm that the local listening address and port are available, and allow on-site devices to actively connect to the gateway. |
Optional data type: String
Plugin properties
Connection configuration
| Setting | Description |
|---|---|
| Source IP | Accept barcode reports only from this remote IP. Leave empty to accept all sources on the selected channel. |
Address rules
| Variable address | Data type | Meaning |
|---|---|---|
barcode | String | Parsed barcode containing only ASCII letters and digits. |
source | String | Source identifier for this barcode report. |
This plugin only receives barcode reports sent by the scanner. It does not support active reads or variable writes.
Device debug
Enter “Development Configuration → Collection Configuration”, select the current device then open “Protocol Debug” at the top of the workspace.
Dedicated debugging page
Open “Received” to view scanner activity, mapped variables, and debug messages. Open “Clients” to view scanners connected to the TCP server channel.


Functions
| Function | Purpose |
|---|---|
| Received | Check the last activity, barcode and source values, queued messages, and recent errors. |
| Clients | View scanners connected to the TCP server channel and their remote addresses. |
| Message log | Inspect barcodes and source identifiers received by the current debug session. |
Verify the configuration
Send a test barcode from the scanner. A new record should appear in “Received”, and the corresponding variable value and collection time should update together.
Troubleshooting
- No new message appears in “Received”: Confirm that the scanner is actively reporting and check the listening channel, frame format, and variable field mapping.
- The scanner is not connected: Confirm that it has connected to the gateway’s listening address and port, and check the firewall rules.
Related links
- Collection configuration: View channel, device and common variable configuration.
- Plugin Index: Find other collection or data-forward plugins.