PLC function "test_noi_>=n" - Funzione PLC "test_nio_>=_n"
Output 1 if number of inputs at 1 >= n (max 8 inputs)
Uscita 1 se numero di ingressi a 1 >= n (massimo 8 ingressi)
L'uscita OUT1 sarà 1 quando almeno 2 dei 3 ingressi previsti sono a livello logico 1:
"IO2": {
"enable": 1,
"logic_io": 12,
"device_type": "DIGITAL_IN_PULLUP",
"filter": 200,
"time_refresh": 3000,
"name": "IO2",
"description": "Ingresso IO2"
},
"IO3": {
"enable": 1,
"logic_io": 13,
"device_type": "DIGITAL_IN_PULLUP",
"filter": 200,
"time_refresh": 3000,
"name": "IO3",
"description": "Ingresso IO3"
},
"IO4": {
"enable": 1,
"logic_io": 14,
"device_type": "DIGITAL_IN_PULLUP",
"filter": 200,
"time_refresh": 3000,
"name": "IO4",
"description": "Ingresso IO4"
},
"OUT1": {
"enable": 1,
"logic_io": 4,
"device_type": "DIGITAL_OUT",
"filter": 200,
"time_refresh": 3000,
"default_startup_value": 0,
"inverted": 0,
"plc_function": "test_nio_>=_n",
"plc_params": 2, // numero minimo di ingressi a 1 per uscita = 1
"plc_linked_board_id_logic_io": [
"*-12",
"*-13",
"*-14"
],
"name": "OUT1",
"description": "Uscita 1"
}
1448 person(s) visited this page until now.
Potresti lasciare un commento se ti fossi autenticato.