Funzione PLC: nlast_change

Uscita negata rispetto alla funzione last_change

"IO2": {
    "enable": 1,
    "logic_io": 12,
    "device_type": "DIGITAL_IN_PULLUP",
    "filter": 50,
    "time_refresh": 3000,
    "name": "IO2",
    "description": "Ingresso IO2"
},
"IO3": {
    "enable": 1,
    "logic_io": 13,
    "device_type": "DIGITAL_IN_PULLUP",
    "filter": 50,
    "time_refresh": 3000,
    "name": "IO3",
    "description": "Ingresso IO3"
},
"IO4": {
    "enable": 1,
    "logic_io": 14,
    "device_type": "DIGITAL_IN_PULLUP",
    "filter": 50,
    "time_refresh": 3000,
    "name": "IO4",
    "description": "Ingresso IO4"
},
"OUT2": {
    "enable": 1,
    "logic_io": 4,
    "device_type": "DIGITAL_OUT",
    "filter": 20,
    "time_refresh": 3000,
    "default_startup_value": 0, //valore preset uscita prima del primo calcolo
    "plc_function": "nlast_change", //l'uscita รจ uguale all'ultimo ingresso cambiato
    "plc_linked_board_id_logic_io": [
        "*-14",
        "*-13",
        "*-12"
    ], //io logico ingressi analogici
    "name": "OUT2",
    "description": "Uscita 2"
}      

821 person(s) visited this page until now.