Questa è una vecchia versione del documento!


Funzione PLC: or_transition_on_multi

OR between fronts of the input signals. If more than one face simultaneously, the output remains at 1 for the time of 1 machine cycle for each front

OR tra fronti ON dei segnali in ingresso. Se più di un fronte contemporaneamente (nello stesso ciclo macchima), l'uscita rimane a 1 per il tempo di 1 ciclo macchina per ogni fronte

"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"
},
"IO4": {
    "enable": 1,
    "logic_io": 14,
    "device_type": "DIGITAL_IN_PULLUP",
    "filter": 20,
    "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": "or_transition_on_multi",
    "plc_linked_board_id_logic_io": [
        "*-14",
        "*-13",
        "*-12"
    ], //io logico ingressi analogici
    "name": "OUT2",
    "description": "Uscita 2"
}
Potresti lasciare un commento se ti fossi autenticato.
  • or_transition_on_multi.1571320871.txt.gz
  • Ultima modifica: 17/10/2019 14:01
  • da admin