Started kuka robot integration with hardware
- Modified PackML state machine to be able to disable unused states - Added PackTag datatypes for recipe handling - Started recipe parameter description in json file - Added schema file for recipe json - Added state machine drawing for packml
This commit is contained in:
87
doc/recipe_data_schema.json
Normal file
87
doc/recipe_data_schema.json
Normal file
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"title": "PackTagV3ProcessVariablesSSOT",
|
||||
"type": "object",
|
||||
"required": ["metadata", "processVariables"],
|
||||
"properties": {
|
||||
"metadata": {
|
||||
"type": "object",
|
||||
"required": ["version", "description", "maxParams"],
|
||||
"properties": {
|
||||
"version": { "type": "string" },
|
||||
"description": { "type": "string" },
|
||||
"maxParams": { "type": "integer", "minimum": 1 }
|
||||
},
|
||||
"additionalProperties": false
|
||||
},
|
||||
"processVariables": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"real": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["index", "id", "name", "unit", "min", "max"],
|
||||
"properties": {
|
||||
"index": { "type": "integer", "minimum": 0 },
|
||||
"id": { "type": "integer", "minimum": 0 },
|
||||
"name": { "type": "string", "maxLength": 80 },
|
||||
"unit": { "type": "string", "maxLength": 6 },
|
||||
"min": { "type": "number" },
|
||||
"max": { "type": "number" }
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"lreal": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["index", "id", "name", "unit", "min", "max"],
|
||||
"properties": {
|
||||
"index": { "type": "integer", "minimum": 0 },
|
||||
"id": { "type": "integer", "minimum": 0 },
|
||||
"name": { "type": "string", "maxLength": 80 },
|
||||
"unit": { "type": "string", "maxLength": 6 },
|
||||
"min": { "type": "number" },
|
||||
"max": { "type": "number" }
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"dint": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["index", "id", "name", "unit", "min", "max"],
|
||||
"properties": {
|
||||
"index": { "type": "integer", "minimum": 0 },
|
||||
"id": { "type": "integer", "minimum": 0 },
|
||||
"name": { "type": "string", "maxLength": 80 },
|
||||
"unit": { "type": "string", "maxLength": 6 },
|
||||
"min": { "type": "integer" },
|
||||
"max": { "type": "integer" }
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"string": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": ["index", "id", "name", "unit"],
|
||||
"properties": {
|
||||
"index": { "type": [ "integer", "string" ] },
|
||||
"id": { "type": "integer", "minimum": 0 },
|
||||
"name": { "type": "string", "maxLength": 80 },
|
||||
"unit": { "type": "string", "maxLength": 6 }
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
Reference in New Issue
Block a user