| Entrambe le parti precedenti la revisione Revisione precedente Prossima revisione | Revisione precedente |
| odd [21/06/2019 15:46] – admin | odd [04/02/2020 12:21] (versione attuale) – admin |
|---|
| **Funzione "odd" (dispari). Uscita a 1 se il numero di ingressi a 1 è dispari ** | **Funzione "odd" (dispari). Uscita a 1 se il numero di ingressi a 1 è dispari ** |
| |
| //Example of "odd" function with 2 inputs and maximum time ON | //Example of "odd" function with 2 inputs and maximum time ON// |
| |
| Esempio di funzione "odd" con 2 ingressi e tempo massimo ON | Esempio di funzione "odd" con 2 ingressi e tempo massimo ON |
| "default_startup_filter_value": 0, | "default_startup_filter_value": 0, |
| "time_refresh": 600, | "time_refresh": 600, |
| "filter": 20, | "filter": 50, |
| "inverted": 0, | "inverted": 0, |
| "name": "pulsante1", | "name": "pulsante1", |
| "default_startup_filter_value": 0, // Preset filter state | "default_startup_filter_value": 0, // Preset filter state |
| "time_refresh": 600, // Refresh data into BUS | "time_refresh": 600, // Refresh data into BUS |
| "filter": 20, | "filter": 50, |
| "inverted": 0, | "inverted": 0, |
| "name": "pulsante2", | "name": "pulsante2", |
| //"default_startup_filter_value": 3, // if omitted: default = 0 | //"default_startup_filter_value": 3, // if omitted: default = 0 |
| "time_refresh": 300, // Time in sec/10, if omitted: default = 3000 (300 seconds) | "time_refresh": 300, // Time in sec/10, if omitted: default = 3000 (300 seconds) |
| "filter": 20, // if omitted: default = 20 | "filter": 100, // if omitted: default = 20 |
| "plc_preset_input": 0, // Preset data byte input until arrive communication, if omitted: default = 0 | "plc_preset_input": 0, // Preset data byte input until arrive communication, if omitted: default = 0 |
| "plc_function": "odd", // PLC function | "plc_function": "odd", // PLC function Dispari |
| "plc_linked_board_id_logic_io": [ // PLC inputs | "plc_linked_board_id_logic_io": [ // PLC inputs |
| "*-3", | "*-3", |
| } | } |
| </code> | </code> |
| | |
| | ---- |
| | |
| | {{counter}} person(s) visited this page until now. |
| | |
| | ~~DISCUSSION~~ |
| | |