Funzione PLC: nor_transition_on

Come la funzione or_transition_on ma con uscita invertita

"SDA": {
    "enable": 1,
    "logic_io": 9,
    "device_type": "DIGITAL_IN_PULLUP",
    "filter": 1,
    "time_refresh": 3000,
    "name": "SDA",
    "description": "Ingresso SDA"
},
"SCL": {
    "enable": 1,
    "logic_io": 10,
    "device_type": "DIGITAL_IN_PULLUP",
    "filter": 1,
    "time_refresh": 3000,
    "name": "SCL",
    "description": "Ingresso SCL"
},
"IO1": {
    "enable": 1,
    "logic_io": 11,
    "device_type": "DIGITAL_IN_PULLUP",
    "filter": 1,
    "time_refresh": 3000,
    "name": "IO1",
    "description": "Ingresso IO1"
},
"IO2": {
    "enable": 1,
    "logic_io": 12,
    "device_type": "DIGITAL_IN_PULLUP",
    "filter": 1,
    "time_refresh": 3000,
    "name": "IO2",
    "description": "Ingresso IO2"
},
"IO3": {
    "enable": 1,
    "logic_io": 13,
    "device_type": "DIGITAL_IN_PULLUP",
    "filter": 1,
    "time_refresh": 3000,
    "name": "IO3",
    "description": "Ingresso IO3"
},
"IO4": {
    "enable": 1,
    "logic_io": 14,
    "device_type": "DIGITAL_IN_PULLUP",
    "filter": 0,
    "time_refresh": 3000,
    "name": "IO4",
    "description": "Ingresso IO4"
},
"OUT2": {
    "enable": 1,
    "logic_io": 4,
    "device_type": "DIGITAL_OUT",
    "filter": 1,
    "time_refresh": 3000,
    "default_startup_value": 0, //valore preset uscita prima del primo calcolo
    "plc_function": "nor_transition_on",
    "plc_linked_board_id_logic_io": [
        "*-9",
        "*-10",
        "*-11",
        "*-14",
        "*-13",
        "*-12"
    ], //io logico ingressi analogici
    "name": "OUT2",
    "description": "Uscita 2"
}

987 person(s) visited this page until now.

Potresti lasciare un commento se ti fossi autenticato.
  • nor_transition_on.txt
  • Ultima modifica: 04/02/2020 12:22
  • da admin