Table of Contents

Visual Management and touch panels view - through Agents

AgentVisual is an AgentBase that implements an ask for answering "Visual Management" requirements.

Shift Definition

We should define before the "Shift definition" tables. Following tables schema



For identifying the shift we should use the tables TURNI and TURNIDEF. Each production line / machine should be mapped to shift code; table TURNIDEF defines details of each shift.

Following an example of table TURNI



Following an example of table TURNIDEF

Ask

Following a general schema for data required by a single line:

Field NameField Description
codartProduct code
descrizioProduct description
codopWork order
tmTakt Time
nppNumber of pieces expected from the begin of the shift or from the begin of WO
npNumber of pieces produced from the begin of the shift or from the begin of WO
nptTotal of pieces produced for work-order
sNumber of scrapt items in the shift
oeeOEE in the shift
rfRF, RV, RQ in the shift
rvRF, RV, RQ in the shift
rqRF, RV, RQ in the shift
stateState of line/machine (1=running/0=stop)
causafmCause of current stop
caudescDescription of current stop
tmfmTM of beginning stop
tpfmClass of current stop machine F=generic stop,S=Setup,O=Organizational,P=Pause
npwoNumber of items required from WO

Data required from Visual TV



The following data refers to a specific production line / machine

Field NameField Description
codartProduct code
descrizioProduct description
codopWork order
tmTakt Time
nppNumber of pieces expected from the begin of the shift or from the begin of WO
npNumber of pieces produced from the begin of the shift or from the begin of WO
nptTotal of pieces produced for work-order
sNumber of scrapt items in the shift
oeeOEE in the shift
rfRF, RV, RQ in the shift
rvRF, RV, RQ in the shift
rqRF, RV, RQ in the shift
stateState of line/machine (1=running/0=stop)
causafmCause of current stop
caudescDescription of current stop
tmfmTM of beginning stop
tpfmClass of current stop machine F=generic stop,S=Setup,O=Organizational,P=Pause
npwoNumber of items required from WO

Data required from Visual Touch Panel



The following data refers to a specific production line / machine

Field NameField Description
codartProduct code
descrizioProduct description
codopWork order
stateState of line/machine (1=running/0=stop)
causafmCause of current stop
caudescDescription of current stop
tpfmClass of current stop machine F=generic stop,S=Setup,O=Organizational,P=Pause
tmfmTM of beginning stop

Data required from Visual Multi-Line



In this case we should have a row for each production line

Field NameField Description
codartProduct code
descrizioProduct description
codopWork order
tmTakt Time
nppNumber of pieces expected from the begin of the shift or from the begin of WO
npNumber of pieces produced from the begin of the shift or from the begin of WO
nptTotal of pieces produced for work-order
sNumber of scrapt items in the shift
oeeOEE in the shift
rfRF, RV, RQ in the shift
rvRF, RV, RQ in the shift
rqRF, RV, RQ in the shift
stateState of line/machine (1=running/0=stop)
causafmCause of current stop
caudescDescription of current stop
tmfmTM of beginning stop
tpfmClass of current stop machine F=generic stop,S=Setup,O=Organizational,P=Pause
npwoNumber of items required from WO

Other requirements

  1. Each production order should be changed and reworked in different time but in the same shift
  2. How we will manage multi-WO production ? We could use a JSON field containing information about WO ({wo:'xxx',codart:'yyy',descrizio:'kkk',npwo:'999'}

AgentVisualMng

AgentVisualMng has the aim to answer Visual Devices asks; it could have two type of asks:

In all cases the return value of the agent will be a IREC completed by all information required that are described in ask.

Requestandonrt
DataRec(codubi,codubib)if codubi is not empty it queries a specific line, if codubib is not empty it queries specific department, if both are empty it queries all lines

Following IREC information returned by AgentVisualMng for each request

Field NameField Description
produbiJSON: [{codop:'XXX',codart:'XXX',descrizio:'XXX',npwo:'999'},..]
tmTakt Time
nppNumber of pieces expected from the begin of the shift or from the begin of PRODUBI
npNumber of pieces produced from the begin of the shift or from the begin of PRODUBI
nptTotal of pieces produced for PRODUBI
sNumber of scrapt items in the shift
oeeOEE in the shift
rfRF, RV, RQ in the shift
rvRF, RV, RQ in the shift
rqRF, RV, RQ in the shift
stateState of line/machine (1=running/0=stop)
causafmCause of current stop
caudescDescription of current stop
tmfmTM of beginning stop
tpfmClass of current stop machine F=generic stop,S=Setup,O=Organizational,P=Pause
npwoNumber of items required from PRODUBI