This list is generated in the config.ru file.
cncListHandle, a table, contains all the handles of the machines to be displayed.This table can be completed in the following areas
######################################################
# Selection
######################################################
######################################################
# end of request and selection
######################################################
Automatic filtering of the machines can be performed for generating the list of machines.
######################################################
# Selection
######################################################
Workshop = []
#Workshop = ['Lathe', 'Milling'] # select NC from the workshop Lathe and Milling
#Workshop = ['Lathe'] # select a single workshop
DNCGroup = []
#DNCGroup = ['VTC'] # select the NC by the DNC group
MDCGroups = []
#MDCGroups = ['groupA', 'groupB'] # Select NC by MDC group
The three array allow the respective selection of:
- Workshop ( Workshop [] ) : This is the most obvious way to organise machines in Cwork. The machine vignettes are organised by workshop.
Figure 1: Machine in the CU workshop
This same concept can be used in the dashboard. For example to display the machines of the CU workshop and mill, we can carry out this automatic sorting by using the line: workshop by :
⇨ Workshop = ['CU', 'Milling']
In the same way, it is possible to select just one workshop.
- DNC Group (DNCGroup [ ] ) : In DNC, it is possible to group machines.This operation makes it possible to share the list of machining programs of the machines. A sorting can be made with the DNCGroup variable in the same manner as the Workshop.
- Group Prod ( MDCGroups []) , or MDC group, is the concept of machines in "production monitoring" mode.