
Sintassi (scrittura):
RWCommunity = <name>
Dove <name> è il community name.
Il nome deve essere una stringa composta esclusivamente da caratteri
alfanumerici (0…9, A…Z e a…z). Non sono ammessi spazi o segni di
punteggiatura. La lunghezza massima di un nome non deve superare i
10 caratteri.
Valore di default:
“public”
Esempio consolle:
> RWCommunity = administ
↵
> RWCommunity
↵
administ
> _
ScanDevs
Descrizione
Lettura
Scrittura
Salvato
Scandisce tutti i dispositivi collegati
al WebGate
×
Administrator
×
Viene effettuata una scansione completa della rete Carel RS485.
Questo comando può risultare utile per aggiornare con immediatezza
le informazioni sui dispositivi collegati, ad esempio quando un’unità
viene sostituita con un’altra di tipo diverso, ma con lo stesso indirizzo
(per esempio l’unità con l’indirizzo “1” era un IR32 che viene sostituito
con un MPX).
Si noti che poiché l’interfaccia rete Carel è completamente reinizializzata,
un’unità non in linea verrà riconosciuta come “mai collegata”.
Sintassi:
ScanDevs
Valore restituito:
“Scanning Devices” quando l’operazione è in corso
Stringa di errore in caso di errore
Esempio consolle
> ScanDevs
↵
Scanning devices!
> _
Set
Descrizione
Lettura
Scrittura
Salvato
Assegna un valore numerico ad
un registro
×
Guest
×
Questa funzione crea un registro e gli assegna il risultato numerico di
un’espressione aritmetica.
Sintassi:
Set(<register>)=<expression>
<register> Nome
registro.
<expression> Espressione aritmetica: può essere un numero, un
registro, o una combinazione di entrambi.
Avvertenza:
non immettere spazi vuoti all’interno
dell’espressione aritmetica, poiché potrebbero condurre
a risultati erronei.
Si consiglia di leggere il capitolo Espressioni, Registri e Funzioni per
un’accurata descrizione dei registri e delle espressioni aritmetiche.
Esempio consolle:
> Set(Address)=7
↵
> Eval(Address – 1)
↵
6
> Set(Index)=2
↵
←
NON Inserire spazi qui
> Eval(Index – A 1)
↵
3
> _
Syntax (write):
RWCommunity = <name>
Where <name> is the community name.
The name must be a string composed from alphanumeric characters
only (0…9, A…Z and a…z). No spacing or punctuation characters are
allowed. The maximum name length must not exceed 10 characters.
Default Value:
“public”
Console example:
> RWCommunity = administ
↵
> RWCommunity
↵
administ
> _
ScanDevs
Description
Read
Write
Saved
Rescan all the devices connected to
the WebGate
×
Administrator
×
A complete Carel RS485 network scan is performed.
This command may prove useful to update immediately the information
about the connected devices.
For example, when a unit is replace by another one of different type but
with the same address (e.g. the unit with address “1” was an IR32, and
it is replaced with a MPX).
Please note that since the Carel Network Interface is fully reinitialized,
an offline unit will be marked as “never connected”.
Syntax:
ScanDevs
Returned value:
“Scanning Devices “ when operation is in progress
Error string if error occurred
Console example:
> ScanDevs
↵
Scanning devices!
> _
Set
Description
Read
Write
Saved
Assigns a numeric value to a register
×
Guest
×
This function creates an register and assigns the numeric result of an
arithmetic expression to it.
Syntax:
Set(<register>)=<expression>
<register> Register
name.
<expression> Arithmetic expression: it may be a number, register, or a
combination of the two.
Warning:
do not insert blanks inside arithmetic
expressions, because they could cause wrong results.
Please see chapter About Expressions, Registers and Functions for an
accurate description of registers and arithmetic expressions.
Console example:
> Set(Address)=7
↵
> Eval(Address – 1)
↵
6
> Set(Index)=2
↵
←
DO NOT insert blanks here
> Eval(Index – A 1)
↵
3
> _
69
Manuale WebGate - cod. +030220230 rel. 1.0 - 16.09.2003