Advertisement
tanfy88

Untitled

Mar 12th, 2018
2,606
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SCL 0.60 KB | None | 0 0
  1. CASE BYTE_TO_INT("selettore") OF
  2.     1: //FC1 - Operazioni logico compbinatorie
  3.         "Accesso_indiretto"(valore := "byte_1",
  4.                             risultato => "uscita");
  5.     2: //FC6 - Esempio di acquisizione reale
  6.         "Soglia"(acquisizione := "word_1",
  7.                  a := "dword_1",
  8.                  b := "dword_2",
  9.                  soglia_inf := "dword_3",
  10.                  soglia_sup := "dword_4",
  11.                  stato => "uscita",
  12.                  valore => "dword_5");
  13.     3: //FC12 - Operazioni logico combinatorie
  14.         "Comando_a_stati"();
  15.     ELSE
  16.         ;
  17. END_CASE;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement