Sei sulla pagina 1di 10

NAUTILUS DATABASE Nautilus Table DB Rel02.

doc

DATABASE MASTER TABLES


This manual show all tables contained in nautilus database .mdb used by the program. For each of them you’ll find the
name of the table and of each field you’ll find the name, the type (dimension) and its description.

BAGS_MONITOR table

It contains the data relevant to bags produced. Once the target’s reached the machine sends a record which is recorded
in this table (automatically at target or manually through the machine keyboard)..

NAME TYPE DESCRIPTION


BAGNUMBER Long No. of bags for the same style
ORDERCODE CHARO(24) Order Code
STYLECODE CHAR(24) Style Code
STSIZE CHAR(16) Size Code
STCOLOR CHAR(16) Color code
STLOT CHAR(16) Lot Code
PLANTCODE CHAR(30) Plant code
ROOMCODE CHAR(30) Room Code
GROUPCODE CHAR(30) Group code
MACHCODE LONG Machine code
STARTDATE Date/Hour Date/Hour bag production start (yyyymmdd)
STOPDATE Date/Hour Date/Hour bag production end (yyyymmdd)
TARGET Long Bag Target
PIECES Long No. of pieces done
SHIFT Long Shift
CYCLE TIME Double Precision Cycle Time
IDBAG Long Bag identify
COUNT Long Counter

CYCLE_TIMES Table

Contains the style cycle time running on a machine.

NAME TYPE DESCRIPTION


PLANTCODE String(30) Plant name
ROOMCODE String(30) Room name
GROUPCODE String(30) Group name
MACHCODE Long integer Machine number
STYLECODE String(16) Artiche code
STSIZE String(16) Size code
STCOLOR String(16) Color code
STLOT String(16) Lot code
CYCLETIME String(16) Article cycle time theorically

Pagina 1 di 10
NAUTILUS DATABASE Nautilus Table DB Rel02.doc

DEFECTS Table

It contains the description of defect codes used:

NAME TYPE DESCRIPTION


DEFCODE LONG Defect code from 1 to 30
DESCRIPTION STRING (50) Defect Description

DEFECTS_MONITOR Table

Every time the operator insert a defect code on the machine with an associated number of pieces, a record is
automatically sent to PC.

NAME TYPE DESCRIPTION


DEFCODE LONG Defect code
DATEREC DATE/HOUR Date/Hour defect insertion
PLANTCODE CHAR(30) Plant name
ROOMCODE CHAR(30) Knitting room name
GROUPCODE CHAR(50) Group name
MACHCODE LONG Machine number
TIMES LONG Associated pieces
ORDERCODE CHAR(24) Order Code
STYLECODE CHAR(24) Style Code
STSIZE CHAR(16) Size Code
STCOLOR CHAR(16) Coulour code
STLOT CHAR(16) Yarn Lot
SHIFT LONG Shift

MACHINES Table

It contains ‘actual’ production data from shift starting. EVERY MACHINE HAS A RECORD IN THIS TABLE
WHICH IS UPDATED IN REAL TIME (just a few seconds later), at the end of the shift the information are transmitted
from this table to Production Monitor table.

Pagina 2 di 10
NAUTILUS DATABASE Nautilus Table DB Rel02.doc

NAME TYPE DESCRIPTION


PLANTCODE CHAR(30) Plant code
ROOMCODE CHAR(30) Room code
GROUPCODE CHAR(30) Group code
MACHCODE LONG Machine number
MACHNUMBER Maybe it will be used in future to identify a
single machine
IPADRESS CHAR(15) Machine IP adress
GENDER CHAR(30) Type of Machine, knitting machine, sewing
machine, seamless, sock machine, pantyhose
machine
SWVER CHAR(30) Software version
EPROMVER CHAR(20) Eprom custom version
STATE LONG Bitmap that rappresent the machine status
ORDERCODE CHAR(24) Order Code
STYLECODE CHAR(24) Style Code
STSIZE CHAR(16) Style Size
STCOLOR CHAR(16) Coulour code
STLOT CHAR(16) Yarn Lot
PROGRAM CHAR(30) Program chain running in the machine
SIZEPR LONG Artiche Size active
TON LONG Total Time on in seconds
TOFF LONG Total Time off in seconds
FUNCTIONKEY LONG Function Key pressed ( F1, F2, and so on
PIECES LONG Pieces produced up now
TARGETORDER LONG Target assigned to the order
SHIFTPIECES LONG Shift production
BAGPIECES LONG Produced pieces per bag
BAGTARGET INTEROLUNGO Bag Target
IDEALCYCLE DOUBLE PRECISION Theoric cycle time
LASTCYCLE DOUBLE PRECISION Cycle time last piece
LASTSTOPCODE INTERO LUNGO Stop code last machine stop
STEP LONG Step or time from the start of the piece
DISCARDS LONG Second Choices Counter
WORKEFFICIENTY LONG Work efficiency
TIMEEFFICIENTY LONG Time Efficiency
SHIFT LONG Shift
STOPFREQUENCY CHAR (255) Stop frequency
.

ORDERS Table
It contains all production orders.

NAME TYPE DESCRIPTION


ORDERCODE CHAR(24) Order code
DESCRIPTION CHAR (50) Order description
STYLECODE CHAR (24) Style code
STSIZE CHAR (16) Style size
STCOLOR CHAR (16) Style coulour
STLOT CHAR (16) Yarn lot
TARGET LONG Production Target
PRIORITY LONG Order default priority

Pagina 3 di 10
NAUTILUS DATABASE Nautilus Table DB Rel02.doc

STYLES Table
It contains all production style.

NOME TIPO DESCRIZIONE


STYLECODE CHAR (24) Style code
DESCRIPTION CHAR (50) Style Description
STSIZE CHAR (16) Size
STCOLOR CHAR (16) Color
STLOT CHAR (16) Yarn Lot
BAGTARGET LONG Bag target
IDEALCYCLE DOUBLE PRECISION Theorical Cycle Time
CHAINPATH CHAR (128) Program chain directory

PRODUCTION_MONITOR Table

Contains all production data.

NAME TYPE DESCRIPTION


DATAREG Date/Hour Recording Date/hour (yyyymmdd)
PLANTCODE CHAR(30) Plant code
ROOMCODE CHAR(30) Room code
GROUPCODE CHAR(30) Group code
MACHCODE CHAR(24) Order Code
ORDERCODE LONG Machine number
STYLECODE CHAR(24) Style Code
STSIZE CHAR(16) Style Size
STCOLOR CHAR(16) Colour Code
STLOT CHAR(16) Yarn Lot
TON LONG Total time on
TOFF LONG Total time off
PIECES LONG Production made compared to previous
record
ORDERPIECES LONG Order Production
TARGETPIECES LONG Target Pieces
DISCARDS LONG Pieces discard
CYCLE LONG Cycle time in seconds
CONDITION F5, F6 and so on
SHIFT LONG Shift
RESPO CODE CHAR(30) Responsible
REASON LONG Recording reason (Eg.: style change,
responsable change, shift change, cycle time
change)

RESPONSABLES Table

It containes all data for responsables.

Pagina 4 di 10
NAUTILUS DATABASE Nautilus Table DB Rel02.doc

NAME TYPE DESCRIPTION


RESPOCODE CHAR(30) Responsable code
FIRSTNAME CHAR(20) Responsable name
LASTNAME CHAR(20) Responsable surname
TYPE LONG Responsable type (Machine group, knitting
room, plant)
USEDBY Long Used by programmer

Pagina 5 di 10
NAUTILUS DATABASE Nautilus Table DB Rel02.doc

SHIFT Table

Contains the information about the shift model. Note: For each model is automatically created a table.

NAME TYPE DESCRIPTION


STARTHOUR DATE/HOUR Start hour shift
ENDHOUR DATE/HOUR Enf hour shift
SHIFT LONG shift
RESPOCODE CHAR (30) Responsable code

SHIFT_CALENDAR Table

It contains a record for each day of the year and it is associated to each day the shift model to be used.

NAME TYPE DESCRIPTION


SHIFTTABLENAME TESTO (30) Shift model
DAYOFYEAR INTERO LUNGO Day of the year

SPARE_PARTS Table

It contains the description of spare parts codes used.


.
NAME TYPE DESCRIPTION
SPAREPARTCODE LONG Range 1-30
DESCRIPTION CHAR (50) Spare part description

SPARE_PARTS_MONITOR Table

Every time the operator insert on machine board a spare part code with number of pieces the machine sends a record to
the PC.

NAME TYPE DESCRIPTION


SPAREPARTCODE SHORT Stop type
DATEREC DATE/HOUR Date
PLANTCODE CHAR(30) Plant code
ROOMCODE CHAR(30) Room code
GROUPCODE CHAR(30) Group code
MACHCODE LONG Manchine code
TIMES LONG Spare part quantity
ORDERCODE CHAR(24) Order code
STYLECODE CHAR(24) Style code
STSIZE CHAR(16) Style size
STCOLOR CHAR(16) Style coulour
STLOT CHAR(16) Yarn Lot
SHIFT LONG shift

Pagina 6 di 10
NAUTILUS DATABASE Nautilus Table DB Rel02.doc

STOPS Table

It contains the stop codes coming from machines with stop description

NAME TYPE DESCRIPTION


STOPCODE LONG Error code
DESCRIPTION TEXT (255) Error code description

STOPS_MONITOR Table

It contains all stops/re-starts of machines.

NAME TYPE DESCRIPTION


STOP CODE SHORT Stop type
DATEREC DATE/HOUR date
PLANTCODE CHAR(30) Palnt code
ROOMCODE CHAR(30) Room code
GROUPCODE CHAR(30) Group code
MACHCODE LONG Machine code
CYCLEPOS LONG Step or time from the start of the piece
ORDERCODE CHAR(24) Order Code
STYLECODE CHAR(24) Style Code
STSIZE CHAR(16) Style Size
STCOLOR CHAR(16) Style Coulour
STLOT CHAR(16) Yarn lot
SHIFT LONG shift

The following tables represent the tree structure of the plant


(plant-knitting room-group-machine).
ENTERPRISE Table
It contains the description of plant data.

NAME TYPE DESCRIPTION


ENTERPRISECODE CHAR (30) Name of the company
PLANTCODE CHAR (30) Plant Code
RESPOCODE CHAR (30) Responsible Code

PLANT Table
It contains the description of groups associated to plant.

NAME TYPE DESCRIPTION


PLANTPATH CHAR(128) Path of the plant
ROOMPATH CHAR(128) Path of the room
PLANTCODE CHAR(30) Plant code
ROOMCODE CHAR(30) Room code
RESPOCODE CHAR(30) Responsable code

Pagina 7 di 10
NAUTILUS DATABASE Nautilus Table DB Rel02.doc

ROOMS Table
It conatins groups associated to rooms.

NAME TYPE DESCRIPTION


ROOMPATH CHAR(128) Room path
GROUPPATH CHAR(128) Group path
ROOMCODE CHAR(30) Room code
GROUPCODE CHAR(30) Group code
RESPOCODE CHAR(30) Responsabile code

GROUPS Table
It contains the description of machines associated to a certain group.

NAME TYPE DESCRIPTION


GROUPPATH CHAR (128) Path of the group
MACHPATH CHAR (128) Path of the machine
GROUPCODE CHAR (30) Group code
MACHCODE LONG Machine code
RESPOCODE CHAR (30) Responsabile code

Pagina 8 di 10
NAUTILUS DATABASE Nautilus Table DB Rel02.doc

Database tables dbsystem.mdb description.


Here below you’ll find a description of all tables included in dbsystem.mdb database used by the program. For every
table you’ll find table name and for every field name, type (dimension) and possible description.
Tables described as follows do not contain production data. Those tables are used by the software.

FOLDERS_PATH Table
Contains all events coming from the machines.

NAME TYPE DESCRIPTION


PATH TEXT (120) Events folder Path

GROUPS_PATHS Table
Contains the information concerning the group.

NAME TYPE DESCRIPTION


IDGROUP TEXT (120) Identify the group inside the plant
(Plant_knitting room_Group)
PATH TEXT (120) Database path of the group
CONNECTION STRING TEXT (120) Connection string to the database (ADO
used by code)

NAUTILUS_PATHS Table

Contains path chosen by the user to map the database

NAME TYPE DESCRIPTION


PATH TEXT (120) Mapping path of database

PC_CLIENT table

It contains connection status to Client database.

NAME TYPE DESCRIPTION


NAME TEXT (128) Name PC Client
STATE LONG Connection status

PC_SERVER Table

Contains connection status to Server database.

NAME TYPE DESCRIPTION


NAME TEXT (128) PC Server name
STATE LONG Connection status

Pagina 9 di 10
NAUTILUS DATABASE Nautilus Table DB Rel02.doc

SEMAPHORE Table

Contains flag for database working permission from clients.

NAME TYPE DESCRIPTION


VALUE LONG Flag for database access from Client

SHIFTS_MODEL Table

Contains names of shift models set by user.

NAME TYPE DESCRIPTION


NAMETABLEMODEL TEXT (30) Name of created model

CALENDAR_MODEL Table

Contains names of shift calendar set by user.

NOME TIPO DESCRIZIONE


NAMECALENDARMODEL CHAR (30) Name of created model

Pagina 10 di 10

Potrebbero piacerti anche