====== Funzione PLC: ntimer ====== Uguale alla funzione timer ma con uscita invertita. "IO4": { "enable": 1, // I/O enable "logic_io": 4, // Logic reference (ID) of each I/O "device_type": "DIGITAL_IN_PULLUP", "default_startup_filter_value": 0, // Preset filter state "time_refresh": 600, // Refresh data into BUS "filter": 20, "inverted": 0, "name": "pulsante2", "description": "pulsante2" }, "OUT2": { "enable": 1, "logic_io": 5, "device_type": "DIGITAL_OUT", "default_startup_value": 1, "inverted": 0, "time_refresh": 600, "filter": 127, "plc_function": "ntimer", // funzione timer "plc_mode_timer": 1, // innesca su fronte ON dell'ingresso "plc_timer_n_transitions": 5, // 4 transizioni prima di finire "plc_time_on": 5, "plc_time_off": 25, "plc_linked_board_id_logic_io": [ // PLC inputs "*-4" ], "plc_time_unit": 0.1, // Time unit (1: 1 second - 0.1 - 0.01 - 2.5) "name": "OUT RELE", "description": "OUT RELE" } ---- {{counter}} person(s) visited this page until now. ~~DISCUSSION~~