[toc]
To track the workpiece flow, we introduce (2019) a product tracking system with one or two barcode-scanners on each MPS.
The Barcode Scanner is a simple Solution with a cheap China-Scanner over USB (Keyboard-Driver)
SH-400
The controller-software for the USB-Scanner is running in Node-RED (a flow based graphical framework on nodejs).
Step | To do | Link/Picture |
---|---|---|
1 | Install Node-RED on a raspberry pi | Installation |
2 | Import the following in nodered | BarCodeScanner.json |
3 | Add the 2 missing nodes to the palette | Dashboard & opcua |
Step | To do | Link/Picture |
---|---|---|
1 | Open Webbrowser an enter the URL (IP of Raspi) | http://[IP_Raspi]:1880/ui) |
2 | Select the corresponding Station | |
3 | Reboot Raspberry Pi |
After setting up the station and pressing reboot, the raspberry pi changes his static IP and OPC UA Endpoint to the chosen MPS.
- Make sure the barcodescanner is in the right mode
- Scan the QR code sequence (successfully scanned codes are shown with an acoustic signal)
- Settings are automatically saved after the scanning
In the UI you can check the last readed code or you can force an own test code. This codes ar written to the corresponding OPC-UA-Job/Register on the MPS.