Questa è una vecchia versione del documento!


Funzione PLC: test_nio_into_n

Setta uscita a 1 se il numero degli ingressi è compreso nei limite impostato (estremi compresi)

"OUT1": {
    "io_logic": 1,
    "direction": "output",
    "io_type": "digital",
    "default_startup_value": 0,
    "inverted": 1,
    "filter": 127,
    "time_refresh": 3000,
    "n_refresh_on": 1,
    "n_refresh_off": 1,
    "enable": 1,
    "plc_function": "test_nio_into_n", // setta uscita a 1 se il numero degli ingressi è compreso nei limite impostato (estremi compresi)
    "plc_params": 33, // 0x21 0b00100001 b7:b4=estremo superiore, b3:b0=estremo inferiore
    "plc_linked_board_id_io_logic": [
        "4-11",
        "4-12",
        "4-13",
        "4-14"
    ],
    "name": "OUT1",
    "description": "Lampadine",
    "dtype": "Switch"
},
"IO1": {
    "io_logic": 11,
    "direction": "input",
    "io_type": "digital",
    "pullup": 1,
    "filter": 200,
    "time_refresh": 3000,
    "n_refresh_on": 1,
    "n_refresh_off": 1,
    "enable": 1,
    "name": "IO1",
    "description": "Ingresso IO1",
    "dtype": "Switch"
},
"IO2": {
    "io_logic": 12,
    "direction": "input",
    "io_type": "digital",
    "pullup": 1,
    "filter": 20,
    "time_refresh": 3000,
    "n_refresh_on": 1,
    "n_refresh_off": 1,
    "enable": 1,
    "name": "IO2",
    "description": "Ingresso IO2",
    "dtype": "Switch"
},
"IO3": {
    "io_logic": 13,
    "direction": "input",
    "io_type": "digital",
    "pullup": 1,
    "filter": 20,
    "time_refresh": 3000,
    "n_refresh_on": 1,
    "n_refresh_off": 1,
    "enable": 1,
    "name": "IO4",
    "description": "IO3",
    "dtype": "Switch"
},
"IO4": {
    "io_logic": 14,
    "direction": "input",
    "io_type": "digital",
    "pullup": 1,
    "filter": 20,
    "time_refresh": 3000,
    "n_refresh_on": 1,
    "n_refresh_off": 1,
    "enable": 1,
    "name": "IO4",
    "description": "IO4",
    "dtype": "Switch"
},
Potresti lasciare un commento se ti fossi autenticato.
  • test_nio_into_n.1565366308.txt.gz
  • Ultima modifica: 09/08/2019 15:58
  • da 127.0.0.1