48 lines
1.6 KiB
JSON
48 lines
1.6 KiB
JSON
{
|
|
"MEMORIES": {
|
|
"db900": {
|
|
"id": 900,
|
|
"parameters": [
|
|
{ "name": "num_misure", "offset": 0, "type": "dint" },
|
|
{ "name": "misure_array", "offset": 4, "type": "dint_array" }
|
|
],
|
|
"size": 16384
|
|
},
|
|
"db901": {
|
|
"id": 901,
|
|
"parameters": [
|
|
{ "bit": 1, "name": "acquisizione", "offset": 0, "type": "bool" },
|
|
{ "bit": 2, "name": "fine_acq", "offset": 0, "type": "bool" },
|
|
{ "bit": 3, "name": "pronti", "offset": 0, "type": "bool" },
|
|
{ "name": "x_val", "offset": 26, "type": "real" },
|
|
{ "name": "y_val", "offset": 22, "type": "dint" }
|
|
],
|
|
"size": 38
|
|
},
|
|
"db920": {
|
|
"id": 920,
|
|
"parameters": [
|
|
{ "name": "cliente", "offset": 0, "size": 30, "type": "string" },
|
|
{ "name": "articolo", "offset": 32, "size": 30, "type": "string" },
|
|
{ "name": "matricola", "offset": 64, "size": 30, "type": "string" },
|
|
{ "name": "operatore", "offset": 96, "size": 30, "type": "string" },
|
|
{ "name": "supervisore", "offset": 128, "size": 30, "type": "string" },
|
|
{ "name": "codice_pep", "offset": 160, "type": "dint" },
|
|
{ "name": "num_certificato", "offset": 164, "type": "dint" },
|
|
{ "name": "tol_rettilinietà", "offset": 168, "type": "dint" },
|
|
{ "name": "tol_rotondità", "offset": 172, "type": "dint" },
|
|
{ "name": "errore_rettilinietà", "offset": 176, "type": "dint" },
|
|
{ "name": "errore_rotondità", "offset": 180, "type": "dint" }
|
|
],
|
|
"size": 186
|
|
}
|
|
},
|
|
"PLC": {
|
|
"IP": "127.0.0.1",
|
|
"RACK": 0,
|
|
"RECONNECT_DELAY": 5,
|
|
"SLOT": 2,
|
|
"MODEL": "Siemens S7-300"
|
|
}
|
|
}
|