ControllerMES Overview and Implementation
ControllerMES Overview and Implementation
Customer: Ergodesign
Version: 1.0
Content
1 General ................................................................................................................................... 4
1.1 Terms and definitions ...................................................................................................... 4
1.2 Components Typification ................................................................................................. 5
1.2.1 Component geometry .................................................................................................. 5
1.2.2 Component flank ......................................................................................................... 5
1.2.3 Component edge ......................................................................................................... 5
1.2.4 Component description ................................................................................................ 6
1 Material Flow ........................................................................................................................... 7
1.1 Overview ......................................................................................................................... 8
A – Material Supply...................................................................................................... 9
B1 – Storage and retrieval system ............................................................................... 9
B2 – Manual offcut storage .......................................................................................... 9
C – Lot generation ControllerMES ............................................................................. 10
D – Nesting - CENTATEQ-N...................................................................................... 10
E – Panel Dividing - HPP ........................................................................................... 10
G –Sorting ................................................................................................................. 10
2 Communication with external systems .................................................................................. 11
2.1 Communication from iX to MES ..................................................................................... 11
2.1.1 Principles ................................................................................................................... 11
2.1.2 MPR Generation ........................................................................................................ 12
3 Communication with production ............................................................................................ 13
3.1 MES to CutRite .............................................................................................................. 13
3.1.1 Part list – rectangular parts (HPP and NES) .............................................................. 13
3.1.2 BDX ........................................................................................................................... 15
3.1.3 PTX ........................................................................................................................... 16
3.1.4 Archive ...................................................................................................................... 16
3.1.5 Part list – nonrectangular parts (NES)........................................................................ 16
3.1.6 BDX ........................................................................................................................... 18
3.1.7 PTX ........................................................................................................................... 18
3.1.8 Archive ...................................................................................................................... 18
3.2 Labeling and identification ............................................................................................. 19
3.3 MES to Nesting.............................................................................................................. 19
3.3.1 MES to CENTATEQ .................................................................................................. 19
3.3.2 CENTATEQ to MES .................................................................................................. 19
4 IT infrastructure ..................................................................................................................... 20
4.1 Server............................................................................................................................ 20
4.1.1 MES application server .............................................................................................. 20
4.1.2 MES application test server ....................................................................................... 20
4.1.3 MES database server ................................................................................................ 20
4.1.4 MES database test server.......................................................................................... 20
4.2 Databases ..................................................................................................................... 21
4.2.1 MES database PROD ................................................................................................ 21
4.2.2 MES database DEV ................................................................................................... 21
4.2.3 ERP database ........................................................................................................... 21
4.2.4 CENTATEQ database ............................................................................................... 22
4.3 MES Folder structure ..................................................................................................... 22
4.4 ERP File server ............................................................................................................. 22
Version: 1.0
Version: 1.0
1. History
Date Description Author
04/07/2023 Creation Ivan Michalev
14/07/2023 Described the lot generation configuration Ivan Michalev
Version: 1.0
1 General
- Production order
A production order identifies the group of physical identical parts which must be produced
with the same data.
The quantity of a production order can be 1 or greater than one.
If the part must be produced the next time, it is produced with another production order and
can have a different production quantity.
Production orders do not only exist for the part production area but also for assembly,
packaging and loading areas.
- Part number
- Product number
The equivalent to the part number is the product number in the assembly area.
A production order refers also always to 1 product number (with a quantity of 1 or more
than one).
The unique part identifier is the “name” of a part. With this identifier exactly 1 piece can be
found. Also, if there exist parts which are physical identical, no matter if they have the same
or different production orders, they must have different unique part identifiers.
In MES this is also known as item number
The unique furniture identifier is the “name” of a product. With this identifier exactly 1
furniture can be found. Also, if there exists furniture which are physical identical, no matter
if they have the same or different production orders, they must have different unique
furniture identifiers.
Version: 1.0
A customer order position is part of a customer order and describes one product. The
quantity for the position can be 1 or greater than one.
- Customer order
The following descriptions and terms are used for part typing:
- Component geometry
- Component flank
- Component edge
▪ Description flank
▪ Edge ID
▪ Edge material (MEL, ABS, PP, etc.)
▪ Glue type (EVA, PUR, Laser)
Edge length
▪ Edge length
▪ Edge height Profile top
▪ Edge thickness
Edge heigth
▪ Description profile
▪ Profile of the edge per edge
Profile below
▪ Transition edge to surface
Thickness
▪
Version: 1.0
▪ Description transition
▪ Edge transition per edge
▪ Profile at the edge
Edge transition
• The imos iX provides a sufficient component description for each production order.
Version: 1.0
1 Material Flow
MES Terminal
MES Terminal
Contol scanner
Manual system Automatic in or out feed
Manual scanner
Manual in or out feed
Pick by light
Trolley
10
1
2
3
8
9
5
4
7
6
Version: 1.0
1.1 Overview
Warehouse
Packaging Assembly
Manual scanner
D Manual printer
G
Nesting Sorting
Automatic printer
Raw boards
A B1 B2
Raw boards
Automatic offcuts
Manual offcut
Storage and Retrieval System Storage
C Rectangular parts
Manual
offcuts
Automatic
E
<
offcuts
Version: 1.0
A – Material Supply
[Cell Function]
The storage and retrieval system is managed by the cell control.
The storage and retrieval system contains homogeneous and/or chaotic stacks of material.
The stock can be retrieved from the storage management system.
The HPP saw and the nesting machine are fed by the cell control system with a prestored
package.
Basically, any material can be present in the storage system.
The material provision from the horizontal storage is organized automatically by the cell
control.
Part labels will be applied on the raw board before cutting.
[Cell Function]
The cell control reads the material request and organizes the material supply to the saw and the
nesting.
The cell control provides an "inventory query".
This is necessary to feed the optimization with the correct material stock.
The cell control provides ControllerMES with "standard retrieval reports".
The labeling of the parts is done by the cell control of the storage system.
[Cell Function]
The cell control reads the material request and organizes the material supply to the saw.
The material supply from the manual offcut storage must be carried out manually; the cell
control system provides information for this in digital form.
Version: 1.0
In the lot generation of ControllerMES the operator creates production lots manually.
After a lot is completed ControllerMES transfers two PNX files to CutRite, one for the HPP
and one for the nesting machine. The final decision for the workplace is done manually in
CutRite.
D – Nesting - CENTATEQ-N
The use of automatic offcuts is only permitted if these offcuts are available and physically
present in the storage and retrieval system before an optimization is carried out.
Manual offcuts will not be used in the nesting process.
The unique part ID is used as the barcode, which uniquely identifies the part.
At the machine outfeed all nested parts will be manually removed, sorted, and transported
to the next workstation without data support of ControllerMES.
[Cell Function]
The storage and retrieval system transfers a run and a plan (nest) to the machine for each panel.
The nesting cell provides feedback for each part, based on the UniquePartId in a SQL Database
table as it is assumed in the HOMAG standard.
The cell must differentiate between drilling feedback and nesting feedback.
Entries of already manufactured parts are cyclically deleted by the cell control.
G –Sorting
Finished components from the nesting or the BHX are manually stacked or sorted into
transport containers and moved manually to the next workstation without data support of
ControllerMES.
[Cell Function]
No cell control available.
Version: 1.0
• For the communication between ERP and MES, the standard interface
HG_Interface_1.5.006 is being used.
The hierarchy within an order is mapped through the fields TYP, ID and PARENTID. The field TYP
contains the hierarchy level. Typical values are:
Code number Meaning Description
Version: 1.0
o BHX055
o BHX500
o CENTATEQ_N210 – scope of the current project
• The mpr files are stored in the standard “imorder”-folder structure from imos on an ERP
file server (172.16.0.63)
Version: 1.0
• At the end of the batch-sizing process the MES creates a text-file MES.
• The MES sets all ProductionItems automatically to status “optimized” after the batch sizing
process.
• We adopt the same definition of a part list for rectangular parts produced on the HPP and
the NES (Nesting ) workplaces
• Parts with non-rectangular shape are only produced on NES (Nesting workplace) which
adopts the same cutting list file structure with added path to the nesting file location.
Version: 1.0
Version: 1.0
• Further definitions
o Format
- PNX
o Field separator
- Semicolon
o Decimal separator
- Point
o Output format
- UTF-8
o Decimal format
- num(4,2) 4 before comma, 1 decimal separator, 2 after comma
3.1.2 BDX
Version: 1.0
3.1.3 PTX
3.1.4 Archive
Version: 1.0
Version: 1.0
• Further definitions
o Format
- PNX
o Field separator
- Semicolon
o Decimal separator
- Point
o Output format
- UTF-8
o Decimal format
- num(4,2) 4 before comma, 1 decimal separator, 2 after comma
3.1.6 BDX
3.1.7 PTX
3.1.8 Archive
Version: 1.0
• MES does not directly provide the DXF files to CENTATEQ, instead, CutRite imports
them and uses them in the optimization process.
• After optimization CutRite provides the “optimized” MPR to the machine control cell.
• All the required DXF files are created from the PXM Manager in imos iX.
Version: 1.0
4 IT infrastructure
4.1 Server
• Name: MYCD-021
• IP: server-001.clusterdesktop.com:1924
• Domain: myclusterdesktop.com
• Operating System: Windows Server 2016 (64-Bit)
• Netmask: 255.255.0.0
• Gateway: 172.16.0.17
• DNS-Server: 172.16.0.1, 172.16.0.7
• User: MYCD-021\Administrator
• Password: *****KeePass****
• Not implemented
• Name: MYCD-023
• IP: server-001.clusterdesktop.com:1892
• Domain: myclusterdesktop.com
• Operating System: Windows Server 2022 (64-Bit)
• Netmask: 255.255.0.0
• Gateway: 172.16.0.17
• DNS-Server: 172.16.0.1, 172.16.0.7
• User: MYCD-023\Administrator
• Password: *****KeePass****
• Not implemented
Version: 1.0
4.2 Databases
• Servername: MYCD-023
• Server-IP: 172.16.0.23
• User: cmes
• Password: ****KeePass****
• Servername: MYCD-023
• Server-IP: 172.16.0.23
• User: cmes
• Password: ****KeePass****
• Servername: MYCD-023\MSSQLEXPED
• Server-IP: 172.16.0.63
• User: ed.4.ed.mes
• Password: ****KeePass****
Version: 1.0
• Servername:
• Server-IP:
• User: sa
• Password: Homag
• Servername: MYCD-023
• IP: 172.16.0.23
• Servername: DG-HOMAG-03
• IP: 192.168.178.39
Version: 1.0
5 CMES Functionality
5.1 Lot generation
5.1.1 Generation of production lots / optimization
• The production planner decides in CutRite if the cutting process is executed on the nesting
or on the cutting machine.
• ControllerMES provides two identical PNX files to CutRite for each optimization lot, one for
the Nesting and the other is for the current HPP.
• In this case no drillings are done on the nesting machine.
• The operator selects the configuration based on the type of optimization case he wants to
carry out.
• The operator manually selects the production orders to assign them into one production lot.
• In the ControllerMES app lot generation, all production orders are displayed with the work
step cutting and the due date for production.
• The capacity view shows the HPP capacity.
• The graph shows the percentage of the used capacity relative to number of parts/day
defined in the master data of ControllerMES.
• After the creation of the cultist file, the operator uses CutRite to manually carry out the
optimization.
Version: 1.0
• There the results can be modified and after they are accepted CutRite will transfer the data
to the according machine.
• Given that GeoFrom parts are now produced on a nesting workspace rather than a CNC,
we have added a new tile where the user can disable the GeoFrom oversize globally
because the oversize is no longer needed.
• Ergodesign wanted to maintain the oversize value in the GeoFrom definition in case they
needed to return to the CNC workspace due to problems with the nesting.
• Once nesting is fully implemented and tested, this function will be obsolete.
Version: 1.0
6 ControllerMES implementation
• The production routes are generated by controllerMES, and the functionality was
already implemented in a previous project phase.
• In this project we have enabled the alternative production routes, but we are selecting
only the first production route and not the alternative production routes. This was
realized due to the requirement of selecting a primary route based on the indicated
priority in the route definition.
ERP Workflow Describes the PXM workflow name Fixed value as “-”
Describes type of the productionOrder - Sale item (Article)
Application type - Assembly
- Component (Workpiece)
Part list component Only in use for the drawer fronts
Part type from imos iX
type
Describes the cut flag 0 = No cut required, purchased part
Cutting code
1 = Cut required
Describes if the part has surfaces 0 = There is no surface
Coating code
1 = There is surface
Describes the edge flag 0 = No edge available
Edge code
1 = Edges are available
Describes the drilling process 0 = No CNC operations are needed
CNC code
1 = CNC operation is required
The GeoForm describes all non-standard
Geometry Geo01, Geo02, Geo03 and etc.
details that have more than four edges
Version: 1.0
FindRouteDefault_010
FindRouteDefault
Version: 1.0
Example Data:
Based on the data given in the key fields, ControllerMES creates a PRODUCTION PATH for each
production order. Ergodesign defines this PRODUCTION PATH.
Furthermore, according to the production path, the same information must be generated in routes
and procedures.
• This assignment is responsible for generating the corresponding data for the machines.
Example Data:
Version: 1.0
• The production steps describe the sequence of the operations which the workpiece should
go through.
Example Data:
GetWorkCenterCodeFromCamInformation
Example Data:
Version: 1.0
The HOMAG edge banding line can produce rectangular parts with four standard edges. In case of
special contours, a translation table is required (EdgeInformationToEntityShape).
Example Contour Standard with 4 edges, all 4 edges can be produced on the Homag line. No
translation necessary.
Example Contour “Cut out on the right”. The rectangular contour can be produced on the HOMAG
line, the red cut out is not producible. Blue is the Standard contour no, red the special contour no
from imos iX.
➔ This allows the generation of an adjusted edge shape for parts containing more than 4
edges. Only relevant edges for the edgebanding machine are considered
.
Version: 1.0
➔ The result edge transition of the first entry represents the input of value of the edge
transition of the second entry. The output of the second entry is the input of the third entry
and so on.
➔ According to the information got from imos iX and the relevancy of the edges, the table
outputs a new or the same edgetransition (Result edge transition) that will be used for the
generation of the edgebanding data.
Examples:
1) The following set shows a standard part with only one edge (edge 3 → edge N). The part has
no flip; therefore, it remains with the same edge transition.
2) The following set shows a special part with assigned GeoForm. The edgebanding line can
only edge straight edges, but in this example, edge 3 is not linear so it is not relevant for the
edgebanding machine.
Version: 1.0
GetProcessingDataOrientationY
GetEdgeInformationToEntityShape_010
• Ergodesign is controlling the pre-milling before edgebanding of the shaped parts setting
up a special edge geometry for these parts in imos iX.
Version: 1.0
• We have utilized the functionality for the optimization strategies due to the requirement for
two optimization part list files (HPP and NEST) for rectangular parts.
• For this, a custom CutRiteWrapper was created, which only exports the part list files and
doesn't wait for optimization from CutRite.
• The production planner decides in CutRite if the cutting process is executed on the nesting
or on the cutting machine.
• For shaped parts the CutRite's standard manual interface is being used.
• MES creates the cutting dimension during the standard Edge Data generation process
o data.ShapePasses
o data.WorkCenterOversizeValues
o data.WorkCenterEdgeProfiles
• The optimization stages are only configured for the workplace 1010 because Ergodesign
does not want the MES to alter the production route or show if the optimization is being
done on the nesting workplace
Version: 1.0
• Due to the fact that they have the same structure but different optimization settings, MES is
going to generate two optimization part list files for the 1010, one of which will be utilized for
nesting.
6.5.2.1 Configuration
Version: 1.0
Version: 1.0
Version: 1.0
• Given that MES will not read the optimization results from CutRite, we had to create a
custom external optimization userExit that only sets the right state of the optimization
without waiting for the results.
Version: 1.0
C:\Homag\Scripts
Version: 1.0
• We are using the standard manual CutRite interface in MES to create the optimization part
list files for the shaped parts.
6.5.3.1 Configuration
Version: 1.0
Version: 1.0
Version: 1.0
Version: 1.0
• If an optimization is completed and accepted, however the end user wants to delete the
optimization because of a mistake, it can be deleted by using a special tile for that purpose.
The tile “Delete optimizations” displays all created optimizations. With a right mouse click,
the selected optimization can be deleted (this will trigger the task DeleteOptimization) and
the parts are once again available for a new batch formation.
• There are several jobs responsible for importing the customer orders in ControllerMES.
• All import jobs are already configured in the previous project phase.
• There are no adjustments made to these jobs to accommodate the nesting machine
integration.
Version: 1.0
• Additionally in the export backet, a task for dxf export was configured for the workplace
5040- Nesting
• To ignore the defined CNC dimension multiplier value in the GeoFrom definition, we have
developed a new userExit – WccProductionSetEdgeDefinitionsHelperCust.
• The userExit uses parameter in the program settings which determinates whether the CNC
dimension multiplier is enabled or disabled.
• The parameter has identifier IgnoreCncOversize and it expects two values in the
ValueFloat field.
• The user has the option to change these values from the MES user interface via new
custom tile created for the purpose.
• The tile was constructed as a data view with the following settings:
Version: 1.0
• The configuration of the data reorganization only applies to the reorganization of the DB
tables.
• The task has a trigger that causes it to be executed each morning at 1:00 AM.
Version: 1.0
Version: 1.0
7 Lessons Learned