case_23

Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Entrambe le parti precedenti la revisione Revisione precedente
Prossima revisione
Revisione precedente
case_23 [09/08/2019 15:58] – modifica esterna 127.0.0.1case_23 [03/02/2020 11:56] (versione attuale) – admin
Linea 4: Linea 4:
  
 <code> <code>
-"OUT2": +"IO1": { 
-{ +    "enable": 1, 
-"io_logic": 1, +    "logic_io": 11, 
-"direction": "output", +    "device_type": "DIGITAL_IN_PULLUP", 
-"io_type": "digital", +    "filter": 200, 
-"default_startup_value": 1, +    "time_refresh": 3000, 
-"inverted": 1, +    "name": "IO1", 
-"filter": 127, +    "description": "Ingresso IO1"
-"time_refresh": 3000, +
-"n_refresh_on": 1, +
-"n_refresh_off": 1, +
-"enable": 1, +
-"plc_function": "timer", +
-"plc_mode_timer": 161,  // 0b10100001  b5:1 somma il tempo timer al tempo residuo ogni volta che c'è un fronte ON +
-"plc_timer_n_transitions": 2, +
-"plc_time_on": 60, +
-"plc_time_off": 0, +
-"plc_linked_board_id_io_logic": ["4-11", "4-12", "4-13"], +
-"name": "OUT2", +
-"description": "RELE2", +
-"dtype": "Switch" +
-}, "IO1": +
-{ +
-"io_logic": 11, +
-"direction": "input", +
-"io_type": "digital", +
-"pullup": 1, +
-"filter": 200, +
-"time_refresh": 3000, +
-"n_refresh_on": 1, +
-"n_refresh_off": 1, +
-"enable": 1, +
-"name": "IO1", +
-"description": "Ingresso IO1", +
-"dtype": "Switch" +
-}, "IO2": +
-{ +
-"io_logic": 12, +
-"direction": "input", +
-"io_type": "digital", +
-"pullup": 1, +
-"filter": 20, +
-"time_refresh": 3000, +
-"n_refresh_on": 1, +
-"n_refresh_off": 1, +
-"enable": 1, +
-"name": "IO2", +
-"description": "Ingresso IO2", +
-"dtype": "Switch" +
-}, "IO3": +
-{ +
-"io_logic": 13, +
-"direction": "input", +
-"io_type": "digital", +
-"pullup": 1, +
-"filter": 20, +
-"time_refresh": 3000, +
-"n_refresh_on": 1, +
-"n_refresh_off": 1, +
-"enable": 1, +
-"name": "IO3", +
-"description": "Ingresso IO3", +
-"dtype": "Switch"+
 }, },
 +"IO2": {
 +    "enable": 1,
 +    "logic_io": 12,
 +    "device_type": "DIGITAL_IN_PULLUP",
 +    "filter": 20,
 +    "time_refresh": 3000,
 +    "name": "IO2",
 +    "description": "Ingresso IO2"
 +},
 +"IO3": {
 +    "enable": 1,
 +    "logic_io": 13,
 +    "device_type": "DIGITAL_IN_PULLUP",
 +    "filter": 20,
 +    "time_refresh": 3000,
 +    "name": "IO3",
 +    "description": "Ingresso IO3"
 +},
 +"OUT2": {
 +    "enable": 1,
 +    "logic_io": 1,
 +    "device_type": "DIGITAL_OUT",
 +    "default_startup_value": 1,
 +    "inverted": 1,
 +    "filter": 127,
 +    "time_refresh": 3000,
 +    "plc_function": "timer",
 +    "plc_mode_timer": 161,  // 0b10100001  b5: 1 somma il tempo timer al tempo residuo ogni volta che c'è un fronte ON
 +    "plc_timer_n_transitions": 2,
 +    "plc_time_on": 60,
 +    "plc_time_off": 0,
 +    "plc_linked_board_id_io_logic": ["4-11", "4-12", "4-13"],
 +    "name": "OUT2",
 +    "description": "RELE2"
 +}
 </code> </code>
 +
 +----
 +
 +{{counter}} person(s) visited this page until now.
 +
 +~~DISCUSSION~~
  • case_23.1565366308.txt.gz
  • Ultima modifica: 09/08/2019 15:58
  • da 127.0.0.1