Passa al contenuto principale

Gestione Ricette


Tabella Variabili di Scambio​

🏷️ NomeπŸ—ƒοΈ TipoπŸ”€ DirezioneπŸͺ„ IconaπŸ“ Descrizione Operativa
ActualRecipeIndexDINTOutput#️⃣Indice ricetta attualmente attiva
ActualRecipeNameSTRING[38]OutputπŸ“Nome ricetta attiva
RecipeList[0..40]ST_Scada_RecipeOutputπŸ“‹Elenco ricette disponibili su PLC
RecipeChangeRequestBOOLInputπŸ“₯Comando richiesta cambio ricetta
RecipeIndexRequestDINTInput#️⃣Indice ricetta da attivare
RecipeProductionInfoRequestSTRING[38]Input🏷️Lotto/ordine richiesto per ricetta
RecipeProductionCodeRequestDINTInput#️⃣Codice lotto/ordine richiesto per ricetta
RecipeProductionQuantityRequestDINTInputπŸ“¦QuantitΓ  lotto/ordine richiesta per ricetta

Tree Strutturale​

ST_ScadaInterface
β”œβ”€β”€ Egress
β”‚ β”œβ”€β”€ ActualRecipeIndex #️⃣
β”‚ β”œβ”€β”€ ActualRecipeName πŸ“
β”‚ β”œβ”€β”€ RecipeList[0..40] πŸ“‹
β”‚ β”‚ β”œβ”€β”€ Index : DINT
β”‚ β”‚ β”œβ”€β”€ Name : STRING[38]
β”œβ”€β”€ Ingress
β”‚ β”œβ”€β”€ RecipeChangeRequest πŸ“₯
β”‚ β”œβ”€β”€ RecipeIndexRequest #️⃣
β”‚ β”œβ”€β”€ RecipeProductionInfoRequest 🏷️
β”‚ β”œβ”€β”€ RecipeProductionCodeRequest #️⃣
β”‚ β”œβ”€β”€ RecipeProductionQuantityRequest πŸ“¦

Diagramma Flusso Gestione Ricette​


Spiegazione Operativa​

  • L’array RecipeList contiene tutte le ricette disponibili e permette la visualizzazione e selezione da SCADA/HMI.
  • Le variabili di handshake e popup gestiscono in modo sicuro il cambio ricetta, con conferma operatore.
  • Il diagramma mostra il flusso di stato, utile per troubleshooting e validazione.

Sezione pronta per mapping OPC-UA e integrazione in sistemi SCADA/MES