| Prossima revisione | Revisione precedente |
| case_25 [24/05/2019 10:44] – creata admin | case_25 [03/02/2020 11:56] (versione attuale) – admin |
|---|
| |
| <code> | <code> |
| "OUT1": | "IO1": { |
| { | "enable": 1, |
| "io_logic": 1, | "logic_io": 11, |
| "direction": "output", | "device_type": "DIGITAL_IN_PULLUP", |
| "io_type": "digital", | "filter": 200, |
| "default_startup_value": 0, | "time_refresh": 3000, |
| "inverted": 1, | "name": "IO1", |
| "filter": 127, | "description": "Ingresso IO1" |
| "time_refresh": 3000, | }, |
| "n_refresh_on": 1, | "IO2": { |
| "n_refresh_off": 1, | "enable": 1, |
| "enable": 1, | "logic_io": 12, |
| "plc_function": "timer", | "device_type": "DIGITAL_IN_PULLUP", |
| "plc_timer_n_transitions": 6, // 6 transizioni in totale ON/OFF di cui 3 ON da 10 secondi e 3 da 2 decimi di secondo | "filter": 20, |
| "plc_mode_timer": 1, // innesca su fronte ON | "time_refresh": 3000, |
| "plc_xor_input": 3, // inverte l'ingresso IO1 e IO2 così innesca su fronte OFF | "name": "IO2", |
| "plc_time_on": 1000, // tempo ON di 10 secondi (1000 centesini di secondo) | "description": "Ingresso IO2" |
| "plc_time_off": 20, // tempo OFF di 2 decimi di secondo | }, |
| "plc_linked_board_id_io_logic": ["4-11", "4-12"], // inverte lo stato degli ingressi | "OUT1": { |
| "name": "OUT1", | "enable": 1, |
| "description": "Lampadine", | "logic_io": 1, |
| "dtype": "Switch" | "device_type": "DIGITAL_OUT", |
| }, | "default_startup_value": 0, |
| "IO1": | "inverted": 1, |
| { | "filter": 127, |
| "io_logic": 11, | "time_refresh": 3000, |
| "direction": "input", | "plc_function": "timer", |
| "io_type": "digital", | "plc_timer_n_transitions": 6, // 6 transizioni in totale ON/OFF di cui 3 ON da 10 secondi e 3 da 2 decimi di secondo |
| "pullup": 1, | "plc_mode_timer": 1, // innesca su fronte ON |
| "filter": 200, | "plc_xor_input": 3, // inverte l'ingresso IO1 e IO2 così innesca su fronte OFF |
| "time_refresh": 3000, | "plc_time_on": 1000, // tempo ON di 10 secondi(1000 centesini di secondo) |
| "n_refresh_on": 1, | "plc_time_off": 20, // tempo OFF di 2 decimi di secondo |
| "n_refresh_off": 1, | "plc_linked_board_id_io_logic": ["4-11", "4-12"], // inverte lo stato degli ingressi |
| "enable": 1, | "name": "OUT1", |
| "name": "IO1", | "description": "Lampadina1" |
| "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" | |
| }, | |
| </code> | </code> |
| | |
| | ---- |
| | |
| | {{counter}} person(s) visited this page until now. |
| | |
| | ~~DISCUSSION~~ |