Skip to Content
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 examplesConnection requirements
SICK barcode readers actively sending ASCII barcodes over TCPThe 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.

  1. 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.
  2. 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.
  3. Create a gateway TCP server channel on a local interface or 0.0.0.0 and the same port. The bind address belongs to the gateway, not the scanner.
  4. 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 or IP:port; leave it blank when no source filter is needed.
  5. Add read-only String Code, select Received barcode in the address editor and save address barcode. Add String ScannerIp with Barcode connection source, address source. 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 typePre-configuration check
TCP serverConfirm 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

SettingDescription
Source IPAccept barcode reports only from this remote IP. Leave empty to accept all sources on the selected channel.

Address rules

Variable addressData typeMeaning
barcodeStringParsed barcode containing only ASCII letters and digits.
sourceStringSource 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.

SICK barcode receiver: Receive monitor

SICK barcode receiver: Clients

Functions

FunctionPurpose
ReceivedCheck the last activity, barcode and source values, queued messages, and recent errors.
ClientsView scanners connected to the TCP server channel and their remote addresses.
Message logInspect 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.