Files
mht-siemens/solution/client/config.json
T
2026-06-25 08:03:35 +02:00

78 lines
2.8 KiB
JSON

{
"MEMORIES": {
"db100": {
"id": 100,
"parameters": [
{ "name": "x_iniziale", "offset": 4, "type": "real" },
{ "name": "x_finale", "offset": 8, "type": "real" },
{ "name": "limite_sup", "offset": 12, "type": "real" },
{ "name": "limite_inf", "offset": 16, "type": "real" },
{ "name": "tipo_lettura", "offset": 20, "type": "real" },
{ "name": "conteggio", "offset": 24, "type": "real" },
{ "name": "param_arco", "offset": 28, "type": "real" },
{ "name": "param_extra1", "offset": 32, "type": "real" },
{ "name": "param_extra2", "offset": 36, "type": "real" },
{ "name": "param_extra3", "offset": 40, "type": "real" },
{ "name": "x_live", "offset": 56, "type": "real" },
{ "name": "y_live", "offset": 60, "type": "real" }
],
"size": 192,
"strings": [
{ "name": "Comm", "offset": 64, "size": 32 },
{ "name": "Art", "offset": 96, "size": 32 },
{ "name": "IdCont", "offset": 128, "size": 32 },
{ "name": "Altro", "offset": 160, "size": 32 }
]
},
"db101": {
"count": 40,
"id": 101,
"size": 160,
"type": "array_real"
},
"db900": {
"id": 900,
"parameters": [
{ "name": "num_misure", "offset": 0, "type": "dint" },
{ "name": "misure_array", "offset": 4, "type": "dint_array" }
],
"size": 404
},
"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": "dint" },
{ "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"
}
}