EasyManua.ls Logo

Lovato DME CD - Advanced Parameters and Functions; Mathematics, RTC, Input;Output Function Settings

Default Icon
18 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Doc. AHIT101A0510.doc 10/02/2011 P. 16 / 18
n ESEMPIO
Se si vuole scrivere/leggere il registro STATUS
dell’ingresso 1 (P10.1.02), bisogna utilizzare la
formula:
6E82H (n -1) *80H
dove n = 1 quindi:
6E82H (1 -1) *80H = 6E82H
Se si vuole scrivere/leggere il registro STATO
A RIPOSO dell’uscita 2 (P11.2.03), bisogna
utilizzare la formula :
7684H+ (n -1) * 80H
dove n = 2 quindi:
7684H + (2 -1) * 80H = 7704H
Se si vuole scrivere/leggere il registro STATO
A RIPOSO dell’uscita 8 (P11.8.01), bisogna
utilizzare la formula:
7684H+ (n -1) * 80H
dove n = 8 quindi:
7684H + (8 -1) * 80H = 7A04H
n EXAMPLE
If you want to read/write the STATUS register
of input 1 (P10.1.02), you must use the
formula:
6E82H (n -1) *80H
where n = 1 thus:
6E82H (1 -1) *80H = 6E82H
If you want read/write to the IDLE STATUS
register of pulse 2 (P11.2.03), you must use
the formula:
7684H+ (n -1) * 80H
where n = 2 thus:
7684H + (2 -1) * 80H = 7704H
If you want read/write to the IDLE STATUS
register of pulse 8 (P11.8.03), you must use
the formula:
7684H+ (n -1) * 80H
where n= 8 thus:
7684H + (8 -1) * 80H = 7A04H
TABELLA 9: TABLE 9:
RTC RTC
(Utilizzabili con funzioni 04 e 06) (To be used with functions 04 and 06)
CODE MENU MENU MIN MAX DEF WORDS ADDRESS
M10 Ingressi Inputs
P10.n .01 Funzione ingresso Input function 0 5 0 1
n 6E80H + (n -1) * 80H
P10.n .02 Stato a riposo Normal status 0 1 0 1
n 6E82H + (n -1) * 80H
P10.n .03 Ritardo ON ON delay 0 60000 5 2
n 6E84H + (n-1) * 80H
P10.n .04 Ritardo OFF OFF delay 0 60000 5 2
n 6E86H + (n -1) * 80H
M11 Uscite Outputs
P11.n .01 Funzione uscita Output function 0 7 0 1
n 7680H + (n -1) * 80H
P11. n.02 Numero canale (x)
Channel number
(x)
1 8 1 1
n 7682H + (n -1) * 80H
P11. n.03 Stato a riposo Idle status 0 1 0 1
n 7684H + (n -1) * 80H
M11 Matematica Mathematics
P12.n.01 Visualizzazione
variabile matematica
Enable viewing of
math variable
0 1
0
1
n7A80 + (n -1) * 80H
P12.n.02 Descrizione della
variabile matematica
Description of math
variable
MATn
8
n7A82 + (n -1) * 80H
P12.n.03 Unità di misura Unit of measure
UM
3
n7A92 + (n -1) * 80H
P12.n.04 Operando 1 Operand 1
0 64
OFF
1
n7AA2 + (n -1) * 80H
P12.n.05 Operatore 1 Operator 1
0 4
0
1
n7AA4 + (n -1) * 80H
P12.n.06 Operando 2 Operand 2
0 64
OFF
8
n7AA6 + (n -1) * 80H
P12.n.07 Operatore 2 Operator 2
0 4
0
1
n7AA8 + (n -1) * 80H
P12.n.08 Operando costante Constant operand -9999 9999 0
1
n7AAA + (n -1) * 80H
P12.n.09 Moltiplicatore
costante
Constant multiplier
0 6
3
1
n7AAC + (n -1) * 80H
Indirizzo
Address
WORDS
MISURA
MEASURE
UNITA’
UNIT
FORMATO
FORMAT
28F0
1
Anno Year Unsigned int
28F1
1
Mese Month Unsigned int
28F2
1
Giorno Day Unsigned int
28F3
1
Ora Hour Unsigned int
28F4
1
Minuti Minutes Unsigned int
28F5
1
Secondi Seconds Unsigned int