TECHNICAL ASSIGNMENT
SO for automatic part identification by dimensions
1. Purpose of the SO
Automatically identify the part based on measured dimensions and provide information on edging without buttons, without manual actions from the operator.
2. Data source and input logic
2.1 Data source
Measuring device (controller)
Connection via USB (COM port)
Input data format:
X=1200;Y=450
2.2 Data reception logic (key change)
No buttons in the interface
The system operates in standby mode
Algorithm:
The SO constantly listens to the COM port
Upon receiving new data:
the part search is performed
the screen is updated
If no new data is received within the specified time (e.g., 2–3 sec):
the current result is automatically reset
the interface switches to the state
“Waiting for a new part”
This serves as a visual prompt to the operator for the next action.
3. Parts database
Storage format:
local database (CSV / SQLite / JSON — programmer's choice)
Mandatory fields:
Model
Part name
Length (mm)
Width (mm)
Edging scheme (numeric)
4. Part search logic
Obtain X and Y
Check both orientations:
X = length, Y = width
X = width, Y = length
Search by tolerance (±0.5 mm, adjustable)
Result:
1 match → output automatically
1 match → output all options
0 matches → message “part not found”
5. Visualization of the edging scheme
(key change of format)
5.1 Designation principle
No letters L / P / W / N
A numeric scheme with underscores is used
Example:
1 2
┌─────┐
│ │
│ │
└─────┘
3 4
Underscores under the numbers indicate gluing:
one underscore → edging on one side
two underscores along the axis (length / width) → edging on both sides
Example of display:
1̲ 2̲
┌─────┐
│ │
└─────┘
3 4
6. Operator interface No. 1 (main)
Contains:
current part (large)
model
dimensions
edging scheme
status:
“Part identified”
“Waiting for a new part”
“Part not found”
⚠️ The interface is informational only, without control elements.
7. Operator interface No. 2 (repeater)
7.1 Purpose
Control at the output of the part from the machine
Tracking the processing sequence
7.2 Requirements
Display of the history of the last 10 measurements
For each record:
time
dimensions
model
part
edging scheme
The history is updated automatically, on a FIFO basis.
8. Settings (hidden mode)
Available only to the administrator:
COM port
screen reset timeout
search tolerance (mm)
path to the database
9. Performance and stability
Processing one measurement ≤ 0.5 sec
Continuous operation 8–10 hours
Resistance to signal loss
10. Error handling
The SO must correctly handle:
absence of data
duplicate measurements
incorrect string format
11. Result from the programmer
ready executable file (Windows)
source code
instruction (1–2 pages)
12. Acceptance criteria
operation without buttons
correct state reset
display of the history of 10 measurements
clarity of the interface for beginners