Questa è una vecchia versione del documento!
Funzione PLC: odd
Funzione dispari. Uscita a 1 se il numero di ingressi a 1 è dispari
Funzione “odd” (dispari) con 4 ingressi L'uscita OUT2 sarà a 1 quando il numero di ingressi a livello logico 1 è dispari
"OUT2": {
"io_logic": 1,
"direction": "output",
"io_type": "digital",
"default_startup_value": 1,
"inverted": 1,
"filter": 127,
"time_refresh": 30,
"n_refresh_on": 1,
"n_refresh_off": 1,
"enable": 1,
"plc_function": "odd",
"plc_linked_board_id_io_logic": [
"4-11",
"4-12",
"4-13",
"4-14"
],
"name": "OUT2",
"description": "RELE2",
"dtype": "Switch"
},
"IO1": {
"io_logic": 11,
"direction": "input",
"io_type": "digital",
"pullup": 1,
"filter": 10,
"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": 127,
"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": 127,
"time_refresh": 3000,
"n_refresh_on": 1,
"n_refresh_off": 1,
"enable": 1,
"name": "IO3",
"description": "Ingresso IO3",
"dtype": "Switch"
},
"IO4": {
"io_logic": 14,
"direction": "input",
"io_type": "digital",
"pullup": 1,
"filter": 127,
"time_refresh": 3000,
"n_refresh_on": 1,
"n_refresh_off": 1,
"enable": 1,
"name": "IO4",
"description": "Uscita IO4",
"dtype": "Switch"
},
Potresti lasciare un commento se ti fossi autenticato.