Questa è una vecchia versione del documento!


Comando luci scale da 2 punti con pulsanti in toggle e tempo massimo di accensione

"OUT1":
 {
 "io_logic": 1,
 "direction": "output",
 "io_type": "digital",
 "default_startup_value": 0,
 "inverted": 1,
 "filter": 127,
 "time_refresh": 3000,
 "n_refresh_on": 1,
 "n_refresh_off": 1,
 "enable": 1,
 "plc_function": "timer",
 "plc_timer_n_transitions": 2, // numero trasnsioni ON / OFF
 "plc_mode_timer": 49, // innesca su fronte ON e spegne se timer innescato
 "plc_xor_input": 3, // inverte l'ingresso IO1 così innesca su fronte OFF
 "plc_time_on": 1000, // tempo MAX ON 10 secondi
 "plc_time_off": 1,
 "plc_linked_board_id_io_logic": ["4-11", "4-12"],
 "name": "OUT1",
 "description": "Lampadine",
 "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"
 },
Potresti lasciare un commento se ti fossi autenticato.
  • case_24.1565366308.txt.gz
  • Ultima modifica: 09/08/2019 15:58
  • da 127.0.0.1