Comando lampada da 3 punti con interruttori
Si definiscono 3 ingressi e un uscita digitale con la funzione “xor”. Nell'esempio l'OUT2 con io_logic 1 è comandata dagli ingressi IO1, IO2 e IO3
"IO1": {
"enable": 1,
"logic_io": 11,
"device_type": "DIGITAL_IN_PULLUP",
"filter": 200,
"time_refresh": 3000,
"name": "IO1",
"description": "Ingresso IO1"
},
"IO2": {
"enable": 1,
"logic_io": 12,
"device_type": "DIGITAL_IN_PULLUP",
"filter": 20,
"time_refresh": 3000,
"name": "IO2",
"description": "Ingresso IO2"
},
"IO3": {
"enable": 1,
"logic_io": 13,
"device_type": "DIGITAL_IN_PULLUP",
"filter": 20,
"time_refresh": 3000,
"name": "IO3",
"description": "Ingresso IO3"
},
"OUT2": {
"enable": 1,
"logic_io": 1,
"device_type": "DIGITAL_OUT",
"default_startup_value": 1,
"inverted": 1,
"time_refresh": 3000,
"plc_function": "xor",
"plc_linked_board_id_io_logic": ["4-11", "4-12", "4-13"],
"name": "OUT2",
"description": "RELE2"
}
1246 person(s) visited this page until now.
Potresti lasciare un commento se ti fossi autenticato.