FGD - Fragranite Machining Cell

We can have more than one Fragranite Machining Cell in the facility, so in the follow it will be mandatory to distinguish each one of them.

We will use the following codes to identify uniquely the cells:

Finally we will assign the name "Cell code" to this field.

Items count interface

The Fragranite Machining Cell subsystems are:

Each item that enter into the production process will be taken by the Robot 1 and then by the Robot 2.

So for each item the process is:

  1. Robot 1 starts the task
  2. Robot 1 terminates the task
  3. Robot 2 starts the task
  4. Robot 2 terminates the task

For each terminated process ESA will send data to Next via TCP/IP channel.



The data sent by ESA will consist in the following structure:

FieldDescriptionExample
CommandA specific string of 4 charactersITEM
ProductThe code of the product114.0055.882
Cell codeThe code of the cell that is producing the itemFMC001
Data of starting task in Robot 1Data in the format YYYYMMDD20230430
Time of starting task in Robot 1Time in the format HH:MM:SS00:03:17
Data of terminating task in Robot 1Data in the format YYYYMMDD20230430
Time of terminating task in Robot 1Time in the format HH:MM:SS00:06:12
Data of starting task in Robot 2Data in the format YYYYMMDD20230430
Time of starting task in Robot 2Time in the format HH:MM:SS00:06:24
Data of terminating task in Robot 2Data in the format YYYYMMDD20230430
Time of terminating task in Robot 2Time in the format HH:MM:SS00:08:40

The string must be prepared considering the following rules:

Follows an example of a string that ESA can send at the end of the process:

ITEM;114.0055.882;FMC001;20230430;00:03:17;20230430;00:06:12;20230430;00:06:24;20230430;00:08:40\04

Machine status interface

The two robots can be in one of the following status:

We are interested in the following state transition:

ESA will send to Next via TCP/IP a specific message for each of the two state transition.



Considering a STOP event for one of the two robots, it is necessary to send the 2 messages in a specific order, in particular:

  1. RUN → STOP transition
  2. STOP → RUN transition

Next will not consider any different sequence, for example:

  1. RUN → STOP transition
  2. RUN → STOP transition

or

  1. STOP → RUN transition
  2. STOP → RUN transition

In the follow the data structure for the 2 transitions.

RUN→STOP data structure
FieldDescriptionExample
CommandA specific string of 4 charactersSTOP
Cell codeThe code of the cell where the event is occurringFMC002
RobotThe robot interested by the event: ROBOT1 or ROBOT2ROBOT1
Data of starting the eventData in the format YYYYMMDD20230430
Time of starting the eventTime in the format HH:MM:SS00:03:17
Reason of the stopA numeric code that identify the reason of the stop, from a specific list of the available stops20

The string must be prepared considering the following rules:

Follows an example of a string that ESA can send when a STOP begins:

STOP;FMC002;ROBOT2;20230430;00:03:17;20\04
STOP→RUN data structure
FieldDescriptionExample
CommandA specific string of 3 charactersRUN
Cell codeThe code of the cell where the event is occurringFMC002
RobotThe robot interested by the event: ROBOT1 or ROBOT2ROBOT1
Data of starting the eventData in the format YYYYMMDD20230430
Time of starting the eventTime in the format HH:MM:SS00:03:17
Reason of the stopA numeric code that identify the reason of the stop, from a specific list of the available stops20

The string must be prepared considering the following rules:

Follows an example of a string that ESA can send when a STOP terminates:

RUN;FMC002;ROBOT2;20230430;00:08:17;20\04