Mostra paginaDiscussioneRevisioni precedentiPuntano quiTorna su Questa pagina è in sola lettura. Puoi visualizzare il sorgente, ma non puoi modificarlo. Contatta l'amministratore se pensi che ci sia un errore. ====== Funzione PLC: test_nio_into_n ====== Setta l'uscita a 1 se il numero degli ingressi a 1 è compreso nei limiti impostati (estremi compresi). <code> "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_into_n", // setta uscita a 1 se il numero degli ingressi è compreso nei limiti impostati (estremi compresi) "plc_params": [1,2], // lista [estremo inferiore,estremo superiore] "plc_linked_board_id_logic_io": [ "*-12", "*-13", "*-14" ], "name": "OUT1", "description": "Uscita 1" } </code> ---- {{counter}} person(s) visited this page until now. ~~DISCUSSION~~ test_nio_into_n.txt Ultima modifica: 04/02/2020 11:12da admin