CLV503
This page describes Revolution release 4.0.0.
SICK CLV503 Fixed-mount barcode scanner, reading distance 50 to 630 mm. Hi, I'm Revo
Ask me anything about Revolution. My answers link the pages they come from.
The SICK CLV503-0000 is a fixed-mount laser barcode scanner. Revolution drives it over a serial connection, reads labware barcodes with it during robot transfers, and can publish a read to the schedule.
At a glance
Section titled “At a glance”| Part number | 1046315 |
| Reading distance | 50 mm to 630 mm |
| Code resolution | 0.15 mm to 1 mm |
| Connection | Serial |
| Revolution control | Barcode reads during robot transfers; Read Barcode publishes a read to the schedule; one test operation |
Supported methods
Section titled “Supported methods”- When a transfer requests a barcode read at the reader’s location, Revolution reads the barcode during the transfer.
- For each read, Revolution sends
ESC Z CRto start the reader, waits up to the timeout for a barcode ending in a carriage return, then sendsESC Y CRto stop it. No barcode within the timeout is a no-read. A communication error, or a partial reply without the carriage return, fails the read. - Read Barcode clears its two variables before reading, then sets them:
| Variable | Value |
|---|---|
<device name>.Barcode | The barcode read, or empty after a no-read |
<device name>.ReadOk | True if a barcode was read, False if not |
The variable names include the device name, so renaming the device changes them.
Integration
Section titled “Integration”Initialising the device opens the serial port, and uninitialising closes it. In simulation, nothing is sent to the reader.
Prerequisites
Section titled “Prerequisites”- The reader must be connected to a COM port on the Revolution host, with its baud rate, data bits, parity and stop bits matching the device’s COM Port Settings.
- The reader must end each barcode with a carriage return.
Device configuration
Section titled “Device configuration”| Setting | Purpose |
|---|---|
| COM Port Settings | Serial port and line settings for the reader |
Operations
These are available from a Run Device Operation step.
Raise Error
Makes this device report a failure on demand: the step fails with an error naming the device, and the operator is offered the usual error recovery choices. No command reaches the instrument and nothing moves, and the failure is raised in simulation as well as on a real system, so this is the step to use when rehearsing how a schedule handles a device failure.
Read Barcode
Reads one barcode and publishes it as ${<device name>.Barcode}, with ${<device name>.ReadOk} True. If nothing is read within the timeout, Barcode is empty, ReadOk is False and the step carries on. In simulation it returns the simulated barcode.
| Parameter | Type | Default | Description |
|---|---|---|---|
| Timeout | TimeSpan | 00:00:30 | How long to wait for a barcode before recording a no-read. A no-read never fails the step: it publishes ReadOk as False and an empty Barcode, and the schedule carries on. To stop on a no-read, follow with an If..Else step whose condition is ${<device name>.ReadOk}, with a Raise Error step in its Else branch. |
Test Bar Code Reader
Reads one barcode and shows it in the Revolution console, with an empty barcode if nothing was read within the timeout. Nothing is published to the schedule; use Read Barcode to act on the result. The step fails on a communication error but not on a no-read, and in simulation it shows the simulated barcode.
| Parameter | Type | Default | Description |
|---|---|---|---|
| timeout | TimeSpan | None | How long to wait for a barcode before showing an empty result. |