Questa è una vecchia versione del documento!


PLC functions available on DL485 boards

Funzioni PLC disponibili su schede DL485

Optionally it is possible to request the DL485 series BOARDS with a PLC on board, capable of making intelligent the various outputs according to events / triggers present on inputs / timed and much more.

Through the PLC it is thus possible to make the operation of the boards autonomous without necessarily having to command them from home automation supervision systems such as Domoticz, Home Assistence ……. which can be used to monitor the various I / O and eventually command them manually, or for support the plc in the management of more complex functions.

Opzionalmente è possibile richiedere le BOARD della serie DL485 con un PLC a bordo, capace di rendere intelligenti le varie uscite a seconda di eventi / trigger presenti su ingressi / a tempo e molto altro.

Tramite il PLC è possibile così rendere autonomo il funzionamento delle schede senza necessariamente doverle comandare da sistemi di supervisione domotici quali Domoticz, Home Assistence……. che potranno servire per monitorare i vari I/O ed eventualmente comandarli manualmente, oppure per affiancare il plc nella gestione delle funzioni più complesse.

disable

No associated function. The OUTPUT is not used by plc.

Nessuna funzione associata. Il PLC non comanda questa uscita.

equal

The output has the same status of all its inputs if they are equal, remains unchanged if they are different, you can set a separately delay for the output transitions 0→ 1 and 1→ 0

L'uscita ha lo stesso stato di tutti i suoi ingressi se sono uguali, resta inalterata se sono diversi, si può impostare un ritardo di inseguimento programmabile separatamente per le transizioni dell'uscita 0→1 e 1→0

nequal

The output is inverted with respect to the “equal” function

L'uscita è invertita rispetto alla funzione “equal”

and

“and” function between I/O

Funzione “and” tra i suoi ingressi

nand

The output is inverted with respect to the “and” function

L'uscita è invertita rispetto alla funzione “and”

or

“or” function between I/O

Funzione “or” tra tra i suoi ingressi

nor

“nor” function between I/O

L'uscita è invertita rispetto alla funzione “or”

xor

“xor” function between I/O

Funzione “xor” tra i suoi ingressi

nxor

“nxor” function between I/O

L'uscita è invertita rispetto alla funzione “xor”

odd

“odd” function. Output to 1 if the number of inputs to 1 is odd

Funzione dispari. Uscita a 1 se il numero dei suoi ingressi a 1 è dispari

even

“even” function Output to 1 if the number of inputs to 1 is even

Funzione “even” (pari). Uscita a 1 se il numero dei suoi ingressi a 1 è pari

toggle_on

Reverses the state of the output at each OFF→ON transition of an input

Inverte lo stato dell'uscita ad ogni transizione OFF→ON dei suoi ingressi

toggle_off

Reverses the state of the output at each ON→OFF transition of an input

Inverte lo stato dell'uscita ad ogni transizione ON→OFF dei suoi ingressi

toggle_on_off

Reverses the state of the output at each OFF→ON and OFF→ON transition of an input

Inverte lo stato dell'uscita ad ogni transizione OFF→ON e ON→OFF dei suoi ingressi

timer

Timing function according to different modes

Funzione per la temporizzazione secondo diverse modalità

ntimer

The output is inverted with respect to the “timer” function. See the “timer” function

L'uscita è invertita rispetto alla funzione “timer”. Vedi la funzione “timer”

autostart_timer

As a “timer” function, but it autostart at boot

Come “timer” ma si autoinnesca all'avvio della scheda. Vedi funzione “timer”

nautostart_timer

The output is inverted with respect to “autostart_timer”. See “autostart_timer” function.

L'uscita è invertita rispetto alla funzione “autostart_timer” Vedi funzione “autostart_timer”.

test_nio_>=_n

Output 1 if number of inputs at 1 >= n

Uscita a 1 se numero di ingressi a 1 è >= n Uscita a 0 se numero di ingressi a 1 è < n

ntest_nio_>=_n

Output 0 if number of inputs at 1 >= n

Uscita a 0 se numero di ingressi a 1 è >= n Uscita a 1 se numero di ingressi a 1 è < n

test_nio_into_n

set output to 1 if the number of inputs is within the range set by the limits (inclusive)

Uscita a 1 se il numero degli ingressi a 1 è compreso nell'intervallo impostato dai limiti (estremi compresi)

ntest_nio_into_n

set output to 0 if the number of inputs is outside the range set by the limits (including extremes)

Uscita a 0 se il numero degli ingressi a 1 è fuori dall'intervallo impostato dai limiti (estremi compresi)

test_schmitt_nio

Set the output to 1 when the number of inputs to 1 is greater than the set maximum limit and 0 when the number of inputs to 1 is less than the set minimum value, otherwise the output remains unchanged

Setta l'uscita a 1 quando il numero di ingressi a 1 è superiore al limite massimo impostato e 0 quando il numero di ingressi a 1 è inferiore al valore minimo impostato, altrimenti l'uscita resta inalterata

ntest_schmitt_nio

Set the output to 0 when the number of inputs to 1 is greater than the set maximum limit and 1 when the number of inputs to 1 is less than the set minimum value, otherwise the output remains unchanged

Setta l'uscita a 0 quando il numero di ingressi a 1 è superiore al limite massimo impostato e 1 quando il numero di ingressi a 1 è inferiore al valore minimo impostato, altrimenti l'uscita resta inalterata

FUNZIONI per INGRESSI ANALOGICI

I PIN d'ingresso analogico del micro accettano segnali compresi tra 0 e 1.1V che verranno convertiti nell'intervallo di numeri interi tra 0 e 1023 (10 bit)

analog_in_=_n

Set the output to 1 when the value of the analog input is equal to the set value, otherwise the output remains 0

Setta l'uscita a 1 quando il valore dell'ingresso analogico è uguale al valore impostato altrimenti l'uscita resta a 0

nanalog_in_=_n

Set the output to 0 when the value of the analog input is equal to the value set, otherwise the output remains 1

Setta l'uscita a 0 quando il valore dell'ingresso analogico è uguale al valore impostato altrimenti setta l'uscita a 1

analog_in_>_n

Set the output to 1 when the value of the analog input is > of the set value, otherwise set exit to 0

Setta l'uscita a 1 quando il valore dell'ingresso analogico è > del valore impostato, altrimenti setta l'uscita a 0

analog_in_>_n

Set the output to 0 when the value of the analog input is> of the set value, otherwise set exit to 1

Setta l'uscita a 0 quando il valore dell'ingresso analogico è > del valore impostato, altrimenti imposta l'uscita a 1

analog_in_>=_n

Set the output to 1 when the value of the analog input is >= of the set value, otherwise set exit to 0

Setta l'uscita a 1 quando il valore dell'ingresso analogico è >= al valore impostato, altrimenti imposta l'uscita a 0

nanalog_in_>=_n

Set the output to 0 when the value of the analog input is> = of the set value, otherwise set output to 1

Setta l'uscita a 0 quando il valore dell'ingresso analogico è >= al valore impostato, altrimenti imposta l'uscita a 1

analog_in_schmitt

Set the output to 1 when analogin > maximum value set, and output set to 0 when analogin ⇐ minimum value set.

Setta l'uscita a 1 quando il valore dell'ingresso analogico è > del valore massimo impostato e 0 quando è ⇐ al valore minimo impostato.

nanalog_in_schmitt

Set the output to 0 when analogin > maximum value set, and output set to 1 when analogin ⇐ minimum value set.

Setta l'uscita a 0 quando il valore dell'ingresso analogico è > del valore massimo impostato e 1 quando è ⇐ al valore minimo impostato.

if_analog_in1_=_analog_in2

Set the output to 1 when the values of 2 analog inputs are the same

Setta l'uscita a 1 quando i valori dei 2 ingressi analogici sono uguali

if_analog_in1_>_analog_in2

Set the output to 1 when input 1 is greater than input 2 (range input 0: 1023)

Setta l'uscita a 1 quando l'ingresso 1 è maggiore dell'ingresso 2

if_analog_in1_>=_analog_in2

Set the output to 1 when input 1 is >= to input 2 (range input 0: 1023)

Setta l'uscita a 1 quando l'ingresso 1 è maggiore o uguale dell'ingresso 2

if_analog_in1_-_analog_in2_schmitt_value

Set the output to 1 when the “analogue-1 analogue 2” input difference is greater than the maximum threshold level and 0 when the analogue input level is lower than the minimum threshold level (range input 0: 1023)

Imposta l'uscita a 1 quando la differenza “ingresso_analogico1 - ingresso_analogico2” è maggiore del livello di soglia massimo e 0 quando il livello dell'ingresso analogico è ⇐ al livello soglia minimo

nif_analog_in1_-_analog_in2_schmitt_value

Set the output to 0 when the “analogue-1 analogue 2” input difference is greater than the maximum threshold level and 1 when the analogue input level is lower than the minimum threshold level (range input 0: 1023)

Imposta l'uscita a 0 quando la differenza “ingresso_analogico1 - ingresso_analogico2” è maggiore del livello di soglia massimo e 1 quando il livello dell'ingresso analogico è ⇐ al livello soglia minimo

analog_in_+_n

The output replicates the analogue value of the input increased by a value (from 0 to 65535. The overflow limited to 65535)

L'uscita replica il valore analogico dell'ingresso aumentato di un valore (da 0 a 65535. L'overflow limita a 65535)

analog_in_-_n

The output replicates the analog value of the input reduced by a value (from 0 to 65535. The minimum value is limited to 0)

L'uscita replica il valore analogico dell'ingresso diminuito di un valore (da 0 a 65535. Il valore minimo è limitato a 0)

analog_in_*_n

The output replicates the analog value of the input multiplied by a value (from 0 to 65535. The overflow limited to 65535)

L'uscita replica il valore analogico dell'ingresso moltiplicato per un valore (da 0 a 65535. L'overflow limita a 65535)

analog_in_/_n

The output replicates the analog value of the input divided by a value (from 0 to 65535. The minimum value is limited to 0)

L'uscita replica il valore analogico dell'ingresso diviso per un valore (da 0 a 65535. Il valore minimo è limitato a 0)

analog_in_%_n

The output returns the module between the value of the analog input and the value of the parameter (from 0 to 65535. The minimum value is limited to 0)

L'uscita restituisce il modulo tra il valore dell'ingresso analogico e valore del parametro (da 0 a 65535. Il valore minimo è limitato a 0)

analog_in_lim_max_n

The output returns the value of the analog input with maximum limit n (from 0 to 65535)

L'uscita restituisce il valore dell'ingresso analogico limitato al valore n (da 0 a 65535)

analog_in_lim_min_n

The output returns the value of the analog input with minimum limit n (from 0 to 65535)

L'uscita restituisce il valore dell'ingresso analogico con limite minimo a n (da 0 a 65535)

analog_in1_+_analog_in2

The output returns the sum of the values of 2 analog inputs (limits between 0 and 65535)

L'uscita restituisce la somma tra i valori dei 2 ingressi analogici (limiti tra 0 a 65535)

analog_in1_-_analog_in2

The output returns the difference between the values of 2 analog inputs (limits between 0 and 65535)

L'uscita restituisce la differenza tra i valori dei 2 ingressi analogici (limiti tra 0 a 65535)

analog_in1_*_analog_in2

The output returns the multiplication between the values of 2 analog inputs (limits between 0 and 65535)

L'uscita restituisce la moltiplicazione tra i valori dei 2 ingressi analogici (limiti tra 0 a 65535)

analog_in1_/_analog_in2

The output returns the division between the values of 2 analog inputs (limits between 0 and 65535)

L'uscita restituisce il rapporto tra i valori dei 2 ingressi analogici (limiti tra 0 a 65535)

analog_in1_%_analog_in2

The output returns the module between the values of 2 analog inputs (limits between 0 and 65535)

L'uscita restituisce il resto della divisione tra i valori dei 2 ingressi analogici (limiti tra 0 a 65535)

analog_in1_min_analog_in2

The output returns the minimum value between the values of 2 analog inputs (limits between 0 and 65535)

L'uscita restituisce il valore minimo tra i valori dei 2 ingressi analogici (limiti tra 0 a 65535)

analog_in1_max_analog_in2

The output returns the maximum value between the values of 2 analog inputs (limits between 0 and 65535)

L'uscita restituisce il valore massimo tra i valori dei 2 ingressi analogici (limiti tra 0 a 65535)

or_transition_on

OR between fronts of the input signals. If more than one front ON is simultaneously, it is considered a single front. The output remains at 1 for a single machine cycle

OR tra fronti ON dei segnali in ingresso. Se arriva più di un fronte ON nello stesso ciclo macchima, si considera un solo fronte. L'uscita rimane a 1 per un singolo ciclo macchina

nor_transition_on

OR between fronts of the input signals. If more than one front ON is simultaneously, it is considered a single front. The output remains at 1 for a single machine cycle

NOR tra fronti ON dei segnali in ingresso. Se arriva più di un fronte ON nello stesso ciclo macchima, si considera un solo fronte. L'uscita rimane a 0 per un singolo ciclo macchina

last_change

The output replicates the last changed input assigning a priority to the higher index input if more than one signal changes in the same sampling

L'uscita replica l'ultimo ingresso variato assegnando una priorità all'ingresso di indice maggiore nel caso di piu ingressi cambiati nello stesso ciclo macchina

nlast_change

The output replicates the opposite of the last changed input assigning a priority to the higher index input if more than one signal changes in the same sampling

Funzione negata rispetto alla funzione “last_change”

last_change_all

The output replicates the last changed input considering in sequence all the inputs for one machine cycle each

L'uscita replica l'ultimo ingresso variato considerando in sequenza tutti gli ingressi per un tempo di un ciclo macchina ciascuno

nlast_change_all

The output replicates the opposite of the last changed input considering in sequence all the inputs for one machine cycle each

L'uscita replica l'opposto dell'ultimo ingresso variato considerando in sequenza tutti gli ingressi per un tempo di un ciclo macchina ciascuno

time_meter

Measure the time interval between 2 fronts

Misura l'intervallo di tempo tra 2 fronti

counter_up_dw

Counter up / down

Contatore avanti / indietro, vengono contati i fronti ON degli ingressi ingresso secondo una modalità specificata nel byte mode. Gli ingressi nell'ordine elencato, da destra verso sinistra, in posizione dispari danno ck up, in posizione pari ck dw

counter_up

The ON edges of the input are counted according to a mode specified in the byte mode

Vengono contati i fronti ON dell'ingresso secondo una modalità specificata nel byte mode

counter_dw

As counter_up but with count down from the preloaded value

Come counter_up ma con conteggio all'indietro partendo dal valore precaricato

powermeter

Automatically calculates a numerator / measured period (calculations are made between whole numbers), eg Power measured by the energy counter or calculation of the frequency of a signal

Calcola automaticamente un numeratore / periodo misurato (i calcoli sono fatti tra numeri interi), es. Potenza misurata dal contatore energia o calcolo della frequenza di un segnale

power_on

It cuts off power to the RASPBERRY PI when the battery is discharging and there is no more activity on the serial because RASPBERRY PI has completed the shut-down, but if power supply is OK and only the serial is missing then it removes and restores power to give a reboot to RASPBERRY PI, if, on the other hand, there is no activity on the serial line because the power supply is insufficient, then when it returns enough it will give the raspberry power again

Toglie alimentazione al RASPBERRY PI quando la batteria si stà scaricando e non c'è piu attività sulla seriale perchè RASPBERRY PI ha completato lo shut-down, ma se alimentazione ok e manca solo attivita sulla seriale allora toglie e ripristina alimentazione per dare un reboot al RASPBERRY PI, se invece manca attvità sulla seriale perchè alimentazione insufficiente, allora quando ritornerà sufficiente ridarà di nuovo alimentazione al raspberry

Potresti lasciare un commento se ti fossi autenticato.
  • plc.1576572641.txt.gz
  • Ultima modifica: 17/12/2019 08:50
  • da dani