Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
cli:franke:fgd-esa-robot [2023/06/20 00:21] n.bergantino [Machine status interface] |
cli:franke:fgd-esa-robot [2023/06/21 10:28] (current) n.bergantino |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== FGD - Fragranite Machining Cell ====== | ====== FGD - Fragranite Machining Cell ====== | ||
| - | ===== Item count interface ===== | + | 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: | ||
| + | * FMC001: Cell 1 | ||
| + | * FMC002: Cell 2 | ||
| + | * .... | ||
| + | * FMC00//N//: Cell N | ||
| + | Finally we will assign the name "Cell code" to this field. | ||
| + | ===== Items count interface ===== | ||
| The Fragranite Machining Cell subsystems are: | The Fragranite Machining Cell subsystems are: | ||
| * Robot 1 | * Robot 1 | ||
| Line 11: | Line 18: | ||
| - Robot 2 terminates the task | - Robot 2 terminates the task | ||
| For each terminated process ESA will send data to Next via TCP/IP channel. \\ \\ | 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: | The data sent by ESA will consist in the following structure: | ||
| ^Field^Description^Example^ | ^Field^Description^Example^ | ||
| |Command|A specific string of 4 characters|ITEM| | |Command|A specific string of 4 characters|ITEM| | ||
| |Product|The code of the product|114.0055.882| | |Product|The code of the product|114.0055.882| | ||
| + | |Cell code|The code of the cell that is producing the item|FMC001| | ||
| |Data of starting task in Robot 1|Data in the format YYYYMMDD|20230430| | |Data of starting task in Robot 1|Data in the format YYYYMMDD|20230430| | ||
| |Time of starting task in Robot 1|Time in the format HH: | |Time of starting task in Robot 1|Time in the format HH: | ||
| Line 24: | Line 32: | ||
| |Data of terminating task in Robot 2|Data in the format YYYYMMDD|20230430| | |Data of terminating task in Robot 2|Data in the format YYYYMMDD|20230430| | ||
| |Time of terminating task in Robot 2|Time in the format HH: | |Time of terminating task in Robot 2|Time in the format HH: | ||
| + | |||
| + | The string must be prepared considering the following rules: | ||
| * Each field is separated by the next one by the character //';'// | * Each field is separated by the next one by the character //';'// | ||
| * At the end of the string it will be placed the exadecimal code 0x04 (4 as a number) | * At the end of the string it will be placed the exadecimal code 0x04 (4 as a number) | ||
| - | In the follow | + | |
| + | Follows | ||
| <code csv> | <code csv> | ||
| - | ITEM; | + | ITEM; |
| </ | </ | ||
| ===== Machine status interface ===== | ===== Machine status interface ===== | ||
| Line 39: | Line 50: | ||
| ESA will send to Next via TCP/IP a specific message for each of the two state transition. \\ \\ | ESA will send to Next via TCP/IP a specific message for each of the two state transition. \\ \\ | ||
| {{: | {{: | ||
| - | In the case of RUN-> | + | Considering a STOP event for one of the two robots, it is necessary to send the 2 messages in a specific order, in particular: |
| + | - RUN -> STOP transition | ||
| + | - STOP -> RUN transition | ||
| + | Next will not consider any different sequence, for example: | ||
| + | - RUN -> STOP transition | ||
| + | - RUN -> STOP transition | ||
| + | or | ||
| + | - STOP -> RUN transition | ||
| + | - STOP -> RUN transition | ||
| + | In the follow | ||
| + | ^ RUN-> | ||
| ^Field^Description^Example^ | ^Field^Description^Example^ | ||
| - | |Data| | + | |Command|A specific string of 4 characters|STOP| |
| - | ===== Robot interface ===== | + | |Cell code|The code of the cell where the event is occurring|FMC002| |
| - | ==== Items count ==== | + | |Robot|The robot interested by the event: ROBOT1 or ROBOT2|ROBOT1| |
| - | In the follow | + | |Data of starting the event|Data in the format YYYYMMDD|20230430| |
| - | * Robot 1 | + | |Time of starting |
| - | * Robot 2 | + | |Reason of the stop|A numeric code that identify the reason of the stop, from a specific list of the available stops|20| |
| + | The string must be prepared considering the following rules: | ||
| + | * Each field is separated by the next one by the character //';'// | ||
| + | * At the end of the string it will be placed the exadecimal code 0x04 (4 as a number) | ||
| + | Follows an example of a string that ESA can send when a STOP begins: | ||
| + | <code csv> | ||
| + | STOP; | ||
| + | </ | ||
| + | ^ STOP-> | ||
| + | ^Field^Description^Example^ | ||
| + | |Command|A specific string of 3 characters|RUN| | ||
| + | |Cell code|The code of the cell where the event is occurring|FMC002| | ||
| + | |Robot|The robot interested by the event: ROBOT1 or ROBOT2|ROBOT1| | ||
| + | |Data of starting the event|Data in the format YYYYMMDD|20230430| | ||
| + | |Time of starting the event|Time in the format HH: | ||
| + | |Reason of the stop|A numeric code that identify the reason of the stop, from a specific list of the available stops|20| | ||
| + | The string must be prepared considering the following rules: | ||
| + | * Each field is separated by the next one by the character //';'// | ||
| + | * At the end of the string it will be placed the exadecimal code 0x04 (4 as a number) | ||
| + | Follows an example of a string that ESA can send when a STOP terminates: | ||
| + | <code csv> | ||
| + | RUN; | ||
| + | </ | ||
| - | |||
| - | Each row refers to a complete process | ||
| - | |||
| - | 114.0055.882 # 06/04/2023 00:03:17 # 06/04/2023 00:06:12 # 06/04/2023 00:06:24 # 06/04/2023 00:08:40 | ||
| - | 114.0055.882 # 06/04/2023 00:06:24 # 06/04/2023 00:09:19 # 06/04/2023 00:09:31 # 06/04/2023 00:11:48 | ||
| - | 114.0656.768 # 06/04/2023 00:30:57 # 06/04/2023 00:34:23 # 06/04/2023 00:34:35 # 06/04/2023 00:36:27 | ||
| - | 114.0198.674 # 06/04/2023 00:34:35 # 06/04/2023 00:37:50 # 06/04/2023 00:38:02 # 06/04/2023 00:39:57 | ||
| - | 114.0266.040 # 06/04/2023 00:38:02 # 06/04/2023 00:40:58 # 06/04/2023 00:41:09 # 06/04/2023 00:43:18 | ||
| - | 114.0198.674 # 06/04/2023 00:41:10 # 06/04/2023 00:44:25 # 06/04/2023 00:44:37 # 06/04/2023 00:46:32 | ||
| - | 114.0656.768 # 06/04/2023 00:54:40 # 06/04/2023 00:58:06 # 06/04/2023 00:58:18 # 06/04/2023 01:00:11 | ||