
MACAddress
Descrizione
Lettura
Scrittura
Salvato
Restituisce l’indirizzo hardware
Ethernet del WebGate (MAC)
√
×
×
Questa funzione restituisce l’indirizzo hardware Ethernet del WebGate.
A volte, ciò può essere utile per la configurazione o a risolvere
problemi di rete.
L’indirizzo MAC è un numero unico in tutto il mondo, assegnato
unitamente da IEEE e Carel. Di conseguenza, l’indirizzo MAC è un
valore memorizzato permanentemente e non può essere modificato
dall’utente.
Sintassi:
Gateway
Valore restituito:
<MACa>:<MACb>:<MACc>:<MACd>:<MACe>:<MACf>
Dove <MACa>, < MACb>, <MACc>, <MACd>, <MACe> e <MACf>
sono i sei byte che identificano l’indirizzo espresso utilizzando ottetti
esadecimali.
Esempio consolle:
> MACAddress
↵
00:90:c2:80:16:5a
> _
MaxDevs
Descrizione
Lettura
Scrittura
Salvato
Imposta il numero massimo di
dispositivi collegati al WebGate
√
Administrator
×
Questa funzione è utilizzata per impostare (o ottenere) il numero
massimo di dispositivi che possono essere collegati attraverso
l’interfaccia RS485 Carel.
Più dettagliatamente, questo valore limita la gamma degli indirizzi delle
periferiche “scandite” dal WebGate:
Ad esempio, se il MaxDevs è impostato a “3”, solo i dispositivi con
l’indirizzo “1”, “2” e “3” verranno scanditi.
Se questo comando viene usato per informare il WebGate sul numero
esatto di dispositivi collegati, e i dispositivi sono numerati in maniera
sequenziale, otterete i seguenti benefici:
• Una scansione più veloce della rete
• Il led RS485 diventerà rosso solo quando il dispositivo è
effettivamente scollegato
Sintassi (lettura):
MaxDevs
Sintassi (scrittura):
MaxDevs = <value>
Valori ammessi:
Da 1 a 16
Se si immette un valore non valido, verrà restituita una stringa di errore.
Si noti che quando questo valore viene modificato, la rete è
immediatamente riscandita (vedi il comando ScanDevs)
Valore di default:
16 (è il numero massimo di dispositivi che possono essere collegati).
Esempio consolle:
> MaxDevs=4
↵
> MaxDevs
↵
4
> _
MACAddress
Description
Read
Write
Saved
Return the WebGate Ethernet
hardware address (MAC)
√
×
×
This function return the WebGate Ethernet hardware address.
Sometimes, this may be useful to configure or debug a network.
The MAC address is a worldwide unique number jointly assigned by
IEEE and Carel. Consequently, MAC address is a permanently stored
value that can’t be changed from the user.
Syntax:
Gateway
Returned value:
<MACa>:< MACb>:<MACc>:<MACd>:<MACe>:<MACf>
Where <MACa>, < MACb>, <MACc>, <MACd>, <MACe> and <MACf>
are the six bytes identifying the address expressed using hexadecimal
octects.
Console example:
> MACAddress
↵
00:90:c2:80:16:5a
> _
MaxDevs
Description
Read
Write
Saved
Set the maximum number of devices
connected to WebGate
√
Administrator
√
This function is used to set (or obtain) the maximum number of devices
that can be connected through the RS485 Carel interface.
Specifically, this value limits the address range of peripherals “scanned”
from WebGate:
For example, if MaxDevs is set to “3”, only devices with address “1”, “2”
and “3” will be scanned.
If this command is used to inform WebGate of the right number of
devices connected, and the devices are sequentially numbered you will
get the following benefits:
• Faster network scan
• The RS485 Led will indicate “red” only when a device is effectively
disconnected
Syntax (read):
MaxDevs
Syntax (write):
MaxDevs = <value>
Allowed values:
1 up to 16
If an invalid value is entered, an error string will be returned.
Please note that when this value is changed, the network is
immediately rescanned (see ScanDevs command)
Default Value:
16 (this is the maximum number of devices that can be interfaced).
Console example:
> MaxDevs=4
↵
> MaxDevs
↵
4
> _
64
Manuale WebGate - cod. +030220230 rel. 1.0 - 16.09.2003