- APPS
- IoT Manufacturing 19.0
| Lines of Code | 1362 |
| Technical name | viin_iot_mrp |
| License | OPL-1 |
| Website | https://viindoo.com/apps/modules/19.0/viin_iot_mrp |
| Read description for | v 17.0 v 18.0 |
| Required Apps | Manufacturing (mrp) Discuss (mail) Inventory (stock) |
| Included Dependencies | Internet Of Things |
| Extensions | IoT Shop Floor Quality Control IoT for Manufacturing |
Label every finished unit at the station that made it
For manufacturers running work orders on the shop floor
Give each work center its own label printer, scale and footswitch.
OPL-1 license · English and Vietnamese interface
Extends viin_iot - see its documentation.
What changes for your team
Shared hardware becomes station hardware
Operators walk to a shared printer, or type the label by hand.
→ Attach the plant’s IoT devices to a work center and name its label printer, scale and footswitch. Labels come out on that station’s own printer.
Keyed weights become one tap
The weight is read off a display and typed into the order.
→ Read Scale takes one fresh reading into the produced quantity, converted to the order’s unit. An unsteady scale is refused, so no wrong figure gets in.
Every unit labelled once, and a jam is no guess
After a jam, nobody is sure what was labelled and what was not.
→ Print Label prints only the output recorded and not yet labelled. A team leader can reprint the last label; the labelled quantity does not change.
Features
Station devices
- ✓ Attach registered IoT devices to a work center
- ✓ Name the station’s label printer, scale and footswitch
- ✓ A device of another company can never be attached
Labels
- ✓ Print only the output recorded and not yet labelled, by-products included
- ✓ One label per whole unit for unit products, one label otherwise
- ✓ Nothing new to label: a clear message, nothing printed
- ✓ Reprint the last label; the order carries a note of it
Scale and footswitch
- ✓ One tap reads a fresh weight into the produced quantity
- ✓ Refused when the scale is unsteady or the order is not counted by weight
- ✓ Start, pause, toggle or finish the running work order by foot
- ✓ A badge shows when the footswitch moved or its box is unreachable
Built for daily use
- ✓ Operators need no IoT access right
- ✓ Reprint is reserved for Manufacturing administrators
- ✓ A work center with no devices behaves as before
- ✓ Without this module, Manufacturing is unchanged
Extend it
IoT Shop Floor
Use the work center’s own barcode scanner, scale, footswitch and label printer on the Shop Floor screen, without any IoT rights for the operator.
Quality Control IoT for Manufacturing
Read a work order quality check’s measurement from the scale on that order’s own work center.
Before you decide
Will the same unit be labelled twice?
No. Print Label prints only the output that is recorded and not yet labelled.
What if the label jams or the roll runs out?
A Manufacturing administrator uses Reprint Last Label after a confirmation. It resends the last accepted label, leaves the labelled quantity unchanged and leaves a note on the manufacturing order.
What if the scale or the IoT box cannot be reached?
The work order says so and the operator types the quantity by hand. The footswitch shows a badge when its box cannot be reached.
Can two stations or screens share a footswitch or a box?
One screen holds a footswitch at a time; another shows a badge when it takes over. A box serves one listening screen at a time, so give each station that uses a footswitch its own box.
What does it need?
The IoT app and Manufacturing, on Odoo Community or Viindoo Cloud. Pair the box first, as the IoT documentation describes. A box runs the software of the series of its server.
Try it, then ask us
Read the Documentation tab, or open the live demo at https://v19demo-int.viindoo.com
Pre-sales & partnership
https://viindoo.com/contactusTechnical support
https://viindoo.com/ticketIoT Manufacturing
Note
Extends viin_iot - see its documentation.
Overview
A work center has no way to say which scale or label printer stands at it, so operators walk to a shared printer, read a weight off a display and type it in, or retype a label by hand. IoT Manufacturing lets you attach registered IoT devices to a work center - a label printer, a scale and a footswitch - and then use them from the work order form of that station:
- Print Label sends the label of the output that was recorded but not yet labelled to the station's own label printer.
- Read Scale takes one fresh reading from the station's scale and puts it into the quantity of the manufacturing order.
- Reprint Last Label lets a team leader send the last label again after a jam, an empty roll or a printer error.
- A footswitch starts, pauses or finishes the work order hands-free.
A work center with no device attached, and a database without this module, work exactly as before.
How the work flows
- Production in progress - the production operator weighs the produced quantity with Read Scale. Next: the same operator.
- Output recorded, label printed - the production operator prints the label with Print Label. Next: the production manager or team leader, only if the label did not come out.
- Label did not come out - the production manager or team leader sends it again with Reprint Last Label.
Who uses this module
| Role | What they do | Access right to assign |
|---|---|---|
| IT / System Administrator | Installs the IoT apps, pairs the boxes (see the chapter Setting up an IoT box of the IoT documentation) and decides in Settings whether IoT Manufacturing is on. | Internet of Things / Administrator, and the Settings access of Administration |
| Production Operator | Runs the work orders of a station: reads the scale, prints labels, uses the footswitch. | Manufacturing / User |
| Production Manager / Team Leader | Attaches devices to work centers and chooses the label printer, scale and footswitch of each station; does everything the operator does, plus reprinting the last label. | Manufacturing / Administrator (it brings Internet of Things / User with it) |
Setup (for the Administrator)
Installation
- Open Apps.
- Search for IoT Manufacturing.
- Click Activate. The apps IoT and Manufacturing are required and are installed with it if they are missing.
The module also switches itself on as soon as IoT and Manufacturing are both installed. To turn it off, open Settings ‣ IoT ‣ IoT Integrations and clear the IoT Manufacturing box.
Configuration
- Pair your IoT boxes first. To pair a box and connect its devices, follow the chapter Setting up an IoT box of the IoT documentation. A device can only be attached to a work center once its box has registered it.
- The software of a box follows the series of the server it is paired with: a box serves the server of its own series only. How to bring a box to the series of your server is described in the IoT documentation linked above.
- If your work orders are printed on a label printer, check Device Action Timeout (seconds) under Settings ‣ IoT. It is the time the system waits for the box to confirm a print before it records that the print was never confirmed. The default is 120 seconds.
Assign the access rights
Open Settings ‣ Users & Companies ‣ Users, open a user and go to the Access Rights page.
- For each production operator, set Manufacturing to User.
- For each team leader or production manager, set Manufacturing to Administrator. This right brings Internet of Things / User with it, so the manager sees the boxes and devices to choose from; there is nothing else to set.
Operators do not need any IoT access right: printing a label or reading a scale from the work order needs only the right to open the work order. Manufacturing / User cannot change a work center, so it cannot attach devices either.
If you uninstall IoT Manufacturing, Manufacturing / Administrator no longer brings Internet of Things / User with it, but the people who already hold it keep it. Remove it by hand from those who no longer need it.
Production Manager: attach devices to work centers
Attach the devices of a station
- Open Manufacturing ‣ Configuration ‣ Work Centers and open the work center.
- Go to the IoT page.
- In IoT Devices, add the devices that stand at this station.
- Choose the Label Printer, the Scale and the Footswitch of the station. Each list only offers devices of the right kind that you attached in the previous step.
- If you chose a Footswitch, choose its Footswitch Action: Start, Pause, Toggle or Finish. Toggle pauses a running order and starts it again when it is paused.
- Save.
A device that does not belong to this station is refused with a reason when you save: a device must first be one of the IoT Devices of the work center before you can choose it for a role, and a device of another company cannot be attached.
To free a device, remove it from the IoT Devices of the work center. A work order shows a button only when its work center has the matching device chosen, so a station with nothing chosen shows no IoT button at all.
Production Operator: weigh output and print labels
Read the weight of the produced quantity
- Open Manufacturing ‣ Operations ‣ Work Orders and open the work order you are running. Its manufacturing order must be confirmed or in progress.
- Put the product on the scale and wait until the weight is steady.
- Click Read Scale. One tap takes one fresh reading at that moment.
- Open the manufacturing order with the link Manufacturing Order. Its Quantity now shows the weight, converted into the unit of the order (the scale may report kg, g, t, lb or oz), and the components to consume follow the new quantity. A confirmed order moves to In Progress.
The reading is refused, and nothing changes, in these cases:
- the scale shows 0 or an unsteady weight - a message asks you to wait until it settles and read again;
- the order is counted in Units, in Dozens or in another unit that is not a weight - a scale reading can never become a count; the message says which unit the order is counted in;
- the order is still a draft or is already done;
- the weight is too small to count in the unit of the order - place more on the scale and read again.
Print the label
- On the work order, click Print Label.
- The label goes to the label printer of the station. The form reloads when the print is sent.
Each print covers only the output that was recorded but is not labelled yet, so no label is printed twice. For example, record 2 and print, then record 3 more and print again: the second print is for 3.
- While the order is in progress, the label is for the main product.
- When the order is done, one print covers the remaining quantity of the main product and each by-product, once.
- For products counted in Units or in a unit of the same family such as Dozens, one label is printed per unit of the order's own unit: 4 units give 4 labels, 2 dozens give 2 labels. Only whole units are labelled; a fractional rest waits for the next print.
- For products counted in a weight or a volume, one label is printed for the quantity.
If there is nothing new to label, or no output is recorded yet, a message says so and nothing is printed. If the printer is offline or refuses the request, a message names the printer and says the label was not printed; nothing is marked as labelled.
After the print, the manufacturing order gets a note in its chatter:
- the label has printed, when the box confirms it;
- the printer reported an error, with the printer's own message and the sentence that the label was not printed, when the printer fails after the box took the job (out of paper, queue error);
- the print was never confirmed, when no confirmation arrives within the Device Action Timeout.
The box takes a print job before the printer runs it, so a printer fault that is reported later does not stop the work order: the quantity stays counted as labelled and the note tells what happened. Once the printer works again, the team leader sends the label again with Reprint Last Label. The outcome of every print is also listed in IoT ‣ Reporting ‣ Device Command Analysis (see the IoT documentation).
Work hands-free with the footswitch
When the station has a footswitch, opening its work order on a screen claims the footswitch for that screen. A press then does what the work center's Footswitch Action says: start, pause, toggle or finish the work order, with the same checks as starting, pausing or finishing it any other way.
A footswitch belongs to one screen at a time. If another screen opens the same station, the footswitch goes to that screen and your screen shows Footswitch handed to another screen. Open the work order again on your screen to take it back. Nothing is ever recorded twice.
A scale is different: a reading is taken on demand, so several screens can read the same scale. A label printer needs no listening screen either.
Note
A box serves one page that listens to it at a time. A page listens to a box while it holds a footswitch (or a scanner) of that box. So:
- do not open the box's own page while an operator works at a station that uses the box;
- do not let two work order screens, or a work order screen and a Shop Floor screen, listen to the same box: give each station its own box. A box that serves one station delivers every press to it.
When the box or a device fails
- The scale cannot be reached. A message says the scale is not connected, or that it gave no reading, and asks you to check it or to type the quantity by hand. Open the manufacturing order and type the quantity in Quantity.
- The footswitch's box cannot be reached. The badge Footswitch's IoT box could not be reached appears at the bottom of the work order. Work the order without the footswitch until the box answers again; the badge then disappears by itself.
- The printer is offline. The message names the printer and nothing is marked as labelled, so you can print again once the printer is back.
- The printer fails after taking the job. The manufacturing order gets a note with the printer's message. The label counts as labelled: the team leader uses Reprint Last Label once the printer is ready.
If your browser asks for permission to reach devices on your local network, allow it: the browser talks to the IoT box directly.
Production Manager / Team Leader: reprint a label
Reprint the last label
Use this only when a print was accepted by the box but no label came out, for instance after a jam, an empty roll or a printer error.
- Open the work order from Manufacturing ‣ Operations ‣ Work Orders.
- Click Reprint Last Label. The button appears once a label has been printed for the order, and only for users with Manufacturing / Administrator; operators never see it.
- Confirm the question.
The same print is sent again to the label printer of this work order's station. What counts as labelled does not change, so a later Print Label continues from where it was. The manufacturing order records who reprinted the label, when it was first printed and on which printer.
The reprint is refused with a reason when the station has no label printer, or when the last print was made for another kind of printer (a label printer or a standard printer) than the one of this station. Print the labels from the station that has the right printer instead.
Manage the work centers
You open the work centers under Manufacturing ‣ Configuration ‣ Work Centers. The IoT page, where devices are attached, comes with Manufacturing / Administrator: see Production Manager: attach devices to work centers above. If you hold that right and still do not see the page, ask the administrator to check that your account holds Internet of Things (IoT) / User.
Troubleshooting
The Print Label or Read Scale button does not appear. The work center of the work order has no label printer or no scale chosen. Ask the production manager to choose one on the IoT page of the work center.
Reprint Last Label does not appear. Either nothing was printed yet for this order, or your account does not have Manufacturing / Administrator.
Print Label says there is nothing new to label. All the recorded output is already labelled. Record the new output first, then print again.
Read Scale says the order is not in production or is counted in Units. Confirm the manufacturing order, or type the quantity by hand if the product is counted in pieces or dozens.
Nothing came out although no message appeared. Wait for the Device Action Timeout. If the box never confirmed the print, the manufacturing order gets a note saying so; then use Reprint Last Label.
I cannot choose a device for the label printer, scale or footswitch. The device must first be in the IoT Devices of the work center, and be of the right kind.
FAQ
Does an operator need an IoT access right? No. Operators work with the buttons of the work order with Manufacturing / User. Attaching devices is the production manager's job, with Manufacturing / Administrator.
What happens to a work center without devices? Nothing changes: its work orders show no IoT button.
Can I attach two scales to one work center? You can attach several devices, but only the one chosen as Scale, Label Printer or Footswitch is used.
Does Read Scale keep reading while I move the product? No. One tap takes one reading; tap again for a new one.
Can two stations share one box? Their printers and scales, yes. Their footswitches, no: a box serves one listening page at a time, so give each station that uses a footswitch its own box.
A product is counted in dozens. How many labels print? One per dozen of the order: 2 dozens give 2 labels.
This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file).
You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one).
It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software.
The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.