Skip to main content

Cells on a Line

Spray Line 1 isn't one machine. Parts go through a pump that feeds the coating, a spray booth where the nozzles apply it, and a curing oven that sets it. When the line stops, the question an engineer asks next is which one stopped it?

In Kanoa, the pieces of equipment that make up a line are cells: assets of type Cell under the line. In this lesson you'll keep OEE on Spray Line 1 and use cells to record which part of the line caused each stop:

  • The stop still counts against Spray Line 1's availability, as one line with one OEE.
  • Each stop also records the cell that caused it, with one of that cell's own states.
CellWhat it doesIts downtime states
Spray PumpFeeds the coating to the boothPump Pressure Fault
Spray BoothApplies the coating through the nozzlesSpray Nozzle Clog, Cleaning
Curing OvenCures the coatingTemperature Out of Range

These are the Spray Line 1 states you created in Configure States. Each one belongs to a single piece of the line, so each moves to its cell.

Other ways to set up a line with cells

This lesson uses one OEE for the line, with stops by cell. A plant can also OEE Enable each cell, with its own states, counts and runs, when it wants OEE for each piece of equipment. Then only the cell that makes the item should count outfeed, so the item's production isn't counted once per cell.

Create the Cells​

Add three cells under Spray Line 1
  1. Navigate to Configuration → Ops → Assets.
  2. Select CoreForge\Philadelphia\Coating\Spray Line 1 in the tree and click + (Add Asset).
  3. Enter Spray Pump as the Asset Name, set the Asset Type to Cell, and click the save icon. Leave OEE Enabled off: the cell's stops count against the line.
  4. Select Spray Line 1 again and add Spray Booth and Curing Oven the same way.

The tree now shows the three cells under Spray Line 1:

Coating
└── Spray Line 1
├── Spray Pump
├── Spray Booth
└── Curing Oven

A stop recorded against a cell uses one of that cell's states. Link each state to the cell it belongs to, the same way you linked them to Spray Line 1.

Link the states to the cells
  1. Select the States tab, then the Asset Links tab.
  2. Select Spray Pump and, holding the CTRL key, also select Pump Pressure Fault. Click the Link button.
  3. Select Spray Booth and, holding CTRL, Spray Nozzle Clog and Cleaning. Click Link.
  4. Select Curing Oven and, holding CTRL, Temperature Out of Range. Click Link.

Leave the states linked to Spray Line 1 as well. A stop that isn't any one cell's fault is still coded on the line.

Code a Stop to the Cell That Caused It​

Spray Line 1's simulator stops the line now and then, and records each stop on the line. Here you'll do what an operator or supervisor does after a stop: say which cell caused it, and why.

Code a stop to Spray Booth
  1. Click Home, then Spray Line 1 on the Asset Overview dashboard to open its Asset Operation screen.
  2. Tap the Downtime tile. The Downtime Editor lists Spray Line 1's states.
  3. Select a downtime stop and click the edit button (✎). The Edit Events popup opens.
  4. In Asset, select Spray Booth.
  5. Click the edit button next to the state, select Mechanical\Nozzle\Spray Nozzle Clog in the tree, and click Select.
  6. Add a comment if you like, such as Nozzle 3 blocked, cleaned and restarted, and click Update.

The stop is marked as updated. It's still a Spray Line 1 stop, so it still counts against the line's availability, and now it also records that Spray Booth caused it, with a Spray Booth state.

Edit Events popup: the asset set to a cell and its state picked from the tree

Reference Materials: Downtime Event Editor - Edit, split and revert stops, and pick the cell that caused one.

Downtime Event Editor​

Anytime the state of an asset changes, a record is created in the mes.stateEvent table. State can be of type 'running', 'unplanned downtime,' or 'planned downtime'.

The Downtime Editor allows the following actions:

  • Edit a state / downtime event
  • Add a state
  • Delete a state
  • Split a state
  • Revert a state

Downtime Editor

Editing Asset States / Downtime Events​

  • Select a downtime event and click the Edit.
  • Select the cell that was responsible for the downtime or leave it at the asset (line) level.
  • Click on the Edit to select the new state.
  • Updated downtime events are marked with a checkbox.

Note​

  • Downtime events can be deleted in which case the previous state will include the period of time of the deleted event.
  • Downtime events can also be split into multiple events. You can specify the duration for the split and re-code each event as necessary.
  • Split events and updated events can be reverted. Deleted events cannot.

Edit Events popup with the state tree


From the PLC​

Coding stops by hand works for a few stops a shift. On a real line, the PLC usually knows which cell stopped the line. Kanoa's data interface tag has a Machine ID input for this: when a cell stops the line, the PLC sets Machine ID to the cell's asset ID and State to the code linking that cell to its state. The stop is then recorded on the line with the cell's state, with nobody having to code it.

Reference Materials: Inputs Folder - Machine ID and the other inputs of the data interface tag.

Inputs Folder​

The Inputs folder is where the asset is connected to its source of data. At a minimum, infeed and outfeed counts and asset state should be connected. If not all counts are available, a single count, infeed or outfeed, can be connected and the missing counts will be calculated automatically. To determine OEE Quality, at least two counts are required. The Inputs tags are reference tags and support MQTT backflushing in the event of a network drop.

If operations are started through the MES Application (Operator screen) or by the schedule, state and counts are all you need to connect. If the asset is operated from a different HMI or SCADA, also connect the Mode, Work Order and Product Code tags to the source, to fully capture production information within the MES.

TagConnect it toWhat Kanoa does when it changes
Infeed CountYour infeed count source. If an infeed count isn't available, it's derived as outfeed × package count + wasteRecords the change as a counter event on the asset's infeed counter. Counts can be running totals: if the value drops (a PLC reset), the new value is counted as the change
Outfeed CountYour outfeed count source. If an outfeed count isn't available, it's derived as (infeed - waste) ÷ package countRecords a counter event on the outfeed counter, the same way
Waste CountYour waste count source. If a waste count isn't available, it's derived as infeed - outfeed × package countRecords a counter event on the waste counter, the same way
StateThe asset's state codeRecords a state event. If the new and previous states are both downtime and nobody has coded the previous one yet, it updates that event instead of adding another, so an operator can code a stop before restarting. Bad quality records the asset's Off Line state
Machine IDThe cell that caused the state, for a line with cellsState is looked up against this cell's states. For example, on 'Packaging Line 1' with cells 'Filler', 'Capper' and 'Palletizer', set Machine ID to the Filler's assetId (7) and State to the code linking the Filler to 'CIP' (127). Leave blank to use the line's own states
Part RequiredA signal that a part is neededFlags the downtime event as needing a part, stored with the state event. The Loss Analysis screen doesn't use it
ModeThe asset's mode, if it can be read from a tagStarts a mode change for the asset, with the current work order and product
Work OrderThe production order running, if it can be read from a tagStarts a mode change for the asset with the new work order
Product CodeThe product running, if it can be read from a tagStarts a production run of that item, or goes Idle when blank. The order and item are created if they don't exist
ToolingNot used by Kanoa toolingKept for existing configurations. To mount tools from the PLC, use the machine's Tooling/Inputs/Tooling tag instead (see Tooling Tags)

Cells That Don't Make the Item​

Some cells work on an item without making it: an end-of-line tester, an inspection station, a leak test. Their OEE is worth tracking, but the units they process were already counted by the cell that made them.

Kanoa's produced quantities come from outfeed counts. An order's actual quantity (woActualQty) and the production totals for an item add up the outfeed counted on every asset that runs it. If a test cell also counts outfeed, each unit it tests is counted again.

To track the cell's OEE without adding to the produced quantity, connect only its infeed and waste:

InputConnect it to
Infeed CountEvery unit the cell finishes, passed or failed. If the PLC has pass and fail counts but no total, use an expression tag that adds them
Waste CountThe units that failed
Outfeed CountNothing. Leave it unconnected
StateThe cell's state code, as for any asset

The cell's OEE is still complete:

  • Performance compares the infeed with the item's standard rate on the cell, so set that rate to the cell's ideal test rate (for example, 1 unit per 45 minutes).
  • Quality is (infeed − waste) ÷ infeed, the cell's pass rate.
  • Availability comes from its states, as usual.

The cell can run the order and item in a Production mode like the other assets, so its time and OEE are still recorded against them. Its screens and OEE tags show an outfeed worked out as infeed − waste, but that isn't a recorded count, so it isn't added to the order's or item's produced quantity.

Two things to be aware of when you report on several assets together, for example an item's OEE across a line:

  • Infeed and waste are added up from every asset, the test cell included. The combined infeed is the units made plus the units tested, and the combined quality includes the test cell's failures.
  • If the item ran only on cells with no outfeed in the report's date range, there's no recorded outfeed to add up, so the report works one out from the combined infeed − waste: the units that passed the test. When the cell that makes the item ran in the same range, its recorded outfeed is used instead.