Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
| Entrambe le parti precedenti la revisione Revisione precedente Prossima revisione | Revisione precedente | ||
| or [20/06/2019 13:25] – admin | or [04/02/2020 11:21] (versione attuale) – admin | ||
|---|---|---|---|
| Linea 1: | Linea 1: | ||
| - | ====== " | + | ====== " |
| - | //**or** function btw I/O// | + | //**"or" |
| - | Funzione | + | **Funzione "or" |
| - | //**Example of " | + | ^IN1^IN2^OUT^ |
| + | |0|0|0| | ||
| + | |0|1|1| | ||
| + | |1|0|1| | ||
| + | |1|1|1| | ||
| - | **Esempio di funzione " | ||
| - | < | + | //Example: " |
| - | "IO3": { | + | Esempio di funzione |
| + | |||
| + | < | ||
| + | "IO4": { | ||
| " | " | ||
| - | " | + | " |
| " | " | ||
| " | " | ||
| Linea 22: | Linea 28: | ||
| " | " | ||
| }, | }, | ||
| - | |||
| " | " | ||
| " | " | ||
| - | " | + | " |
| " | " | ||
| " | " | ||
| Linea 33: | Linea 38: | ||
| " | " | ||
| " | " | ||
| - | "*-3" | + | "*-4" |
| ], | ], | ||
| " | " | ||
| - | "plc_time_on": 3, // 3 secondi di tempo massimo ON | + | "plc_tmax_on": 3, // 3 secondi di tempo massimo ON |
| " | " | ||
| " | " | ||
| - | }, | + | } |
| </ | </ | ||
| - | //**" | + | //Example: |
| - | **Esempio " | + | Esempio " |
| < | < | ||
| - | "OUT2": { | + | |
| - | "io_logic": 1, | + | "enable": 1, |
| - | "direction": | + | "logic_io": |
| - | "io_type": "digital", | + | "device_type": "DIGITAL_IN_PULLUP", |
| - | "default_startup_value": | + | "default_startup_filter_value": |
| - | "inverted": | + | "time_refresh": |
| - | " | + | " |
| - | "time_refresh": | + | "inverted": |
| - | "n_refresh_on": | + | "name": |
| - | "n_refresh_off": | + | "description": "pulsante1" |
| - | | + | |
| - | | + | "IO4": |
| - | "plc_linked_board_id_io_logic": | + | "enable": 1, // I/O enable |
| - | "4-11", | + | "logic_io": |
| - | "4-12" | + | "device_type": "DIGITAL_IN_PULLUP", |
| - | ], | + | "default_startup_filter_value": |
| - | "name": "OUT2", | + | "time_refresh": |
| - | "description": | + | "filter": |
| - | "dtype": | + | "inverted": |
| - | }, | + | "name": "pulsante2", |
| - | "IO1": | + | "description": "pulsante2" |
| - | " | + | |
| - | "direction": | + | "OUT2": |
| - | "io_type": "digital", | + | "enable": 1, // I/O enable |
| - | "pullup": | + | "logic_io": |
| - | | + | "device_type": "DIGITAL_OUT", |
| - | | + | //"default_startup_value": |
| - | "n_refresh_on": | + | //"default_startup_filter_value": |
| - | "n_refresh_off": 1, | + | "time_refresh": |
| - | "enable": | + | "filter": |
| - | "name": "IO1", | + | "plc_preset_input": |
| - | "description": | + | "plc_function": "or", |
| - | "dtype": | + | "plc_linked_board_id_logic_io": |
| - | }, | + | "*-3", |
| - | "IO2": | + | "*-4" |
| - | "io_logic": | + | ], |
| - | "direction": | + | "plc_time_unit": 1, // Time unit (1: 1 second - 0.1 - 0.01 - 2.5) |
| - | "io_type": "digital", | + | "plc_tmax_on": |
| - | "pullup": | + | " |
| - | "filter": 127, | + | " |
| - | "time_refresh": 3000, | + | |
| - | "n_refresh_on": 1, | + | |
| - | " | + | |
| - | "enable": | + | |
| - | " | + | |
| - | " | + | |
| - | | + | |
| }, | }, | ||
| </ | </ | ||
| - | **Esempio funzione " | + | ---- |
| - | < | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | "!4-11", // " | + | |
| - | "!4-12" // " | + | |
| - | ], | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | }, | + | |
| - | </ | + | |
| - | **Esempio di funzione " | + | {{counter}} person(s) visited this page until now. |
| - | < | + | |
| - | " | + | ~~DISCUSSION~~ |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | ], | + | |
| - | " | + | |
| - | " | + | |
| - | " | + | |
| - | }, | + | |
| - | </ | + | |
| - | **Esempio di funzione " | ||
| - | < | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | ], | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | }, | ||
| - | </ | ||