background image

La Tabella 8.4.5.1 indica il rapporto tra l’OID-nome dell’oggetto per una
variabile generica e i parametri x,y,z.

OID-nome delle variabili dell’unità*

OID-nome=1.3.6.1.4.1.9839.2.x.y.z

x=indirizzo unità

y=tipo

z=indice

1 £ x £ Netsize

1=digitale, 2=analogico, 3=intero

1 £ z £ 207

Tab. 8.4.5.1

(*): si ricordi che l’OID è sempre composto da:

OID-nome.Identificatore di istanza

.

L’OID completo è quindi sempre 

OID-nome.0

Esempi:

Indirizzo dell’unità n.1

Tipo variabile 

Indirizzo

OID-nome delle variabili

Carel

Carel 

Digitale

1

1.3.6.1.4.1.9839.2.1.1.1.0

Digitale

2

1.3.6.1.4.1.9839.2.1.1.2.0

Digitale

....

...

Digitale

206

1.3.6.1.4.1.9839.2.1.1.206.0

Digitale

207

1.3.6.1.4.1.9839.2.1.1.207.0

Analogico

1

1.3.6.1.4.1.9839.2.1.2.1.0

Analogico

2

1.3.6.1.4.1.9839.2.1.2.2.0

Analogico

...

...

Analogico

206

1.3.6.1.4.1.9839.2.1.2.206.0

Analogico

207

1.3.6.1.4.1.9839.2.1.2.207.0

Intero

1

1.3.6.1.4.1.9839.2.1.3.1.0

Intero

2

1.3.6.1.4.1.9839.2.1.3.2.0

Intero

...

...

Intero

206

1.3.6.1.4.1.9839.2.1.3.206.0

Intero

207

1.3.6.1.4.1.9839.2.1.3.207.0

Tab. 8.4.5.2

Indirizzo dell’unità n.2

Tipo variabile 

Indirizzo

OID-nome delle variabili

Carel

Carel 

Digitale

1

1.3.6.1.4.1.9839.2.2.1.1.0

Digitale

2

1.3.6.1.4.1.9839.2.2.1.2.0

Digitale

....

...

Digitale

206

1.3.6.1.4.1.9839.2.2.1.206.0

Digitale

207

1.3.6.1.4.1.9839.2.2.1.207.0

Analogico

1

1.3.6.1.4.1.9839.2.2.2.1.0

Analogico

2

1.3.6.1.4.1.9839.2.2.2.2.0

Analogico

...

...

Analogico

206

1.3.6.1.4.1.9839.2.2.2.206.0

Analogico

207

1.3.6.1.4.1.9839.2.2.2.207.0

Intero

1

1.3.6.1.4.1.9839.2.2.3.1.0

Intero

2

1.3.6.1.4.1.9839.2.2.3.2.0

Intero

...

...

Intero

206

1.3.6.1.4.1.9839.2.2.3.206.0

Intero

207

1.3.6.1.4.1.9839.2.2.3.207.0

Tab. 8.4.5.3

Segue un esempio di MIB tree completo, supponendo una sola unità
(IR32Cold), avente indirizzo 1, collegata al WebGate.

Table 8.4.5.1 gives the relationship between the object OID-name for a
generic variable and x,y,z parameters.

OID-name for unit variables*

OID-name=1.3.6.1.4.1.9839.2.x.y.z

x=unit address

y=type

z=index

1 £ x £ Netsize

1=digital, 2=analogue, 3=integer

1 £ z £ 207

Tab. 8.4.5.1

(*): remember that OID is made by 

OID-name.Instance-identifier

.

So the complete OID is always OID-name.0

Examples:

Addressing unit n.1

Carel Variable

Carel

OID-name for variables

Type

Address

Digital

1

1.3.6.1.4.1.9839.2.1.1.1.0

Digital

2

1.3.6.1.4.1.9839.2.1.1.2.0

Digital

....

...

Digital

206

1.3.6.1.4.1.9839.2.1.1.206.0

Digital

207

1.3.6.1.4.1.9839.2.1.1.207.0

Analogue

1

1.3.6.1.4.1.9839.2.1.2.1.0

Analogue

2

1.3.6.1.4.1.9839.2.1.2.2.0

Analogue

...

...

Analogue

206

1.3.6.1.4.1.9839.2.1.2.206.0

Analogue

207

1.3.6.1.4.1.9839.2.1.2.207.0

Integer

1

1.3.6.1.4.1.9839.2.1.3.1.0

Integer

2

1.3.6.1.4.1.9839.2.1.3.2.0

Integer

...

...

Integer

206

1.3.6.1.4.1.9839.2.1.3.206.0

Integer

207

1.3.6.1.4.1.9839.2.1.3.207.0

Tab. 8.4.5.2

Addressing unit n.2

Carel Variable

Carel

OID-name for variables

Type

Address

Digital

1

1.3.6.1.4.1.9839.2.2.1.1.0

Digital

2

1.3.6.1.4.1.9839.2.2.1.2.0

Digital

....

...

Digital

206

1.3.6.1.4.1.9839.2.2.1.206.0

Digital

207

1.3.6.1.4.1.9839.2.2.1.207.0

Analogue

1

1.3.6.1.4.1.9839.2.2.2.1.0

Analogue

2

1.3.6.1.4.1.9839.2.2.2.2.0

Analogue

...

...

Analogue

206

1.3.6.1.4.1.9839.2.2.2.206.0

Analogue

207

1.3.6.1.4.1.9839.2.2.2.207.0

Integer

1

1.3.6.1.4.1.9839.2.2.3.1.0

Integer

2

1.3.6.1.4.1.9839.2.2.3.2.0

Integer

...

...

Integer

206

1.3.6.1.4.1.9839.2.2.3.206.0

Integer

207

1.3.6.1.4.1.9839.2.2.3.207.0

Tab. 8.4.5.3

Following, a complete example of MIB tree, supposing a single unit
(IR32Cold), with address 1, connected to the WebGate.

44

Manuale WebGate - cod. +030220230  rel. 1.0 - 16.09.2003

Summary of Contents for WebGate

Page 1: ...WebGate Manuale d uso User manual LEGGI E CONSERVA QUESTE ISTRUZIONI READ AND SAVE THESE INSTRUCTIONS ...

Page 2: ......

Page 3: ...del controllore Il controllore è composto da parti elettroniche in metallo e in plastica Tutte queste parti vanno smaltite secondo le Normative locali in materia di smaltimento We wish to save you time and money We can assure you that a thorough reading of this manual will guarantee correct installation and safe use of the product described IMPORTANT BEFORE INSTALLING OR OPERATING ON THE DEVICE CA...

Page 4: ......

Page 5: ...2 11 3 Descrizione dettagliata dei comandi 54 12 Expressioni Registri e Funzioni 79 12 1 Registri 80 12 2 Alcune note sulle espressioni aritmetiche 87 13 Caratteristiche Tecniche 80 Index Introduction 5 1 Installation 7 1 1 Connections 8 2 User Interface 10 2 1 LED 10 2 2 Reset Button 12 3 HTML Configuration Interface 13 3 1 Information page 13 3 2 Configuration pages 14 3 3 Customer Site link 16 ...

Page 6: ......

Page 7: ...ti dei controlli Questi vengono inviati dal WebGate con il protocollo SNMP e possono essere quindi gestiti da un supervisore dotato della funzionalità di SNMP manager Introduction WebGate is a innovative electronic device that measures the same size as a normal desktop modem It features avant garde technology for connecting all Carel controllers to the local network based on the standard Ethernet ...

Page 8: ...ina corrosiva con possibile ossidazione e riduzione dell isolamento ampie e rapide fluttuazioni della temperatura ambiente 1 Installation Desktop For desktop installation inserte the rubber feet to the housings provided Panel mounting For DIN rail mounting using cutting nippers remove the 2 pre cut pla stic part on the hatch leaving the holes for the DIN rail brackets to be inserted Installation W...

Page 9: ...1 1 Questi pin possono non essere collegati in alcuni modelli WebGate 2 Questo pin non è collegato in nessun modello WebGate 1 1 Connections WebGate connections are accessible from the back panel of the unit as indicated below 1 Ethernet 10BaseT connector to corporate LAN 2 RS232 DTE interface to connect a local console 3 RS485 interface to Carel Network used to connect the Carel devices 4 Plug co...

Page 10: ...lare un fusibile da 500mAT in serie all alimentazione dell unità To connect WebGate to a PC use a shielded null modem cable Only TD RD and SG lines are strictly required Remember that since the PC and WebGate are provided with a DTE interface TD and RD lines must be swapped 1 1 3 Connection of the RS485 interface The wire for the connection of WebGate with Carel peripherals in RS485 suggested by C...

Page 11: ... LED Ethernet diventa rosso per alcuni secondi fino a quando l interfaccia non è inizializzata 2 User Interface All WebGate functions can be controlled using HTML pages or RS232 console interface However three multicolor LEDs and a reset button are provided to simplify installation 2 1 LED 2 1 1 Ethernet The top LED gives information about the Ethernet link and connection Normal behaviour The norm...

Page 12: ...una procedura che inizia dopo un riavvio e che può durare per alcuni minuti Durante questa procedura il LED di status rimane acceso giallo 2 1 2 RS485 The central LED displays the status of the RS485 Carel network Normal behaviour This LED normally visualizes at intervals of 500ms the status of each unit that should be connected to the RS485 interface In this manner it is possible to evaluate quic...

Page 13: ...redefiniti o i file aggiornati con un aggiornamento fornito dal costruttore i parametri della seguente tabella Parametri NON modificati dal pulsante di reset RWCommunity SNMPSysname SNMPSyscont SNMPSysloc TRAPCommunity ROCommunity Tab 2 2 2 1 Important WARNINGS Never remove power supply when WebGate is busy status LED is yellow since this may cause loss of the configuration and user files Absolute...

Page 14: ...nto del firmware Si noti che il messaggio Update file not found è normale e non indica un errore Tab 3 1 1 3 HTML Configuration Interface WebGate is shipped from the factory with some predefined pages provided to configure easily the unit As indicated in the following paragraph every information available from these pages is obtained through the use of a script function to obtain more information ...

Page 15: ...ggiorna del browser Tab 3 2 1 1 3 2 2 Scheda di configurazione Network La scheda Network viene utilizzata per configurare l interfaccia Ethernet 3 2 Configuration pages To access to any configuration page is required an administrator access level 3 2 1 General configuration tab The General configuration tab is the first page visible when you click on the Configure link on the left navigation panel...

Page 16: ... di impostare questo valore al numero effettivo di unità collegate in modo da ottenere una risposta più veloce e un corretto funzionamento del LED RS485 Tab 3 2 3 1 The visible fields are explained below Field Description Function IP Address IP Address of WebGate itself By default Reboot this value is set to 192 168 0 250 Subnet Network Mask Pattern If you don t need NetMask Mask to use a gateway ...

Page 17: ...Trap Community Name TrapCommunity Name Agent Release Release software dell Agent SNMPAgentRel WebGate Tab 3 2 5 1 3 2 4 RS232 configuration tab The RS232 tab is used to configure the RS232 interface for the serial console interface The visible fields are explained below Field Description Function Baudrate Baudrate for the RS232 interface Baudrate232 Tab 3 2 4 1 3 2 5 SNMP configuration tab The SNM...

Page 18: ...egamento Customer Site indirizza direttamente alla pagina default html che dovrebbe essere la vostra pagina personalizzata principale WARNING The maximum length of each string SNMP is Max length of the system variables in the WebGate System Variable Max Length SysName 39 characters sysContact sysLocation 79 characters Tab 8 7 1 Moreover the string have to be composed only of alphanumeric character...

Page 19: ...nfigurato correttamente 1 Selezionare ed eseguire Hypertrm exe da Start Programmi Accessori Hyperterminal apparirà la finestra seguente potrebbe anche essere in parte diversa a seconda della lingua del sistema operativo utilizzato 4 Interface RS 232 Console 4 1 Introduction The console user interface RS232 is a fast and convenient way to configure WebGate and to experiment with its functions It is...

Page 20: ...e il problema si può risolvere ripristinando il gateway in modo da impostare il baudrate a 19200 vedi Pulsante di Reset 2 Choose an icon and a name for the console section you want for example WebGate and click OK The following window appears 3 Select the COM x serial port for the connection between PC and WebGate i e COM1 and click the OK button so you can choose now the communication parameters ...

Page 21: ... memorizzati con un header di circa 150 byte in settori di 1KByte ciascuno Di conseguenza ciascun file utilizzerà un area di memoria un po più grande delle dimensioni del file stesso 4 4 Additional notes about the console 4 4 1 Prompt When WebGate is ready for a user command it displays a line beginnig with a sign 4 4 2 Login By default console access is restricted to the same rights of the anonym...

Page 22: ...in scrittura si imposta mediante FTP descritto al capitolo File Transfer Protocol 5 4 Nota aggiuntiva Quando si leggono o scrivono file si illumina in giallo il LED status bit greater than the size of the file itself Files are characterized from a minimum read access level and a minimum write access level Next paragraphs describe how this levels can be set for any file Since WebGate don t have an ...

Page 23: ... modificarli 6 3 Nota aggiuntiva Non caricate nel WebGate un file se il nome contiene degli spazi Se il nome del file originale nel PC host contiene uno spazio questo viene troncato quando è copiato nel WebGate In alcuni casi si può avere invece un messaggio di errore 6 File Transfer Protocol FTP Note before reading the following chapter you must be accustomed with the WebGate File System describe...

Page 24: ...dal vostro file manager alla finestra client FTP come illustrato nelle Fig 6 4 2 e 6 4 3 6 4 Example The examples of this chapter were realized using the freeware program SmartFTP http www smartftp com Below is depicted an example of what you see if you have administrator access level As a matter of fact visible folders depend on the access level of the user who is connecting to the WebGate As des...

Page 25: ...rà la pagina INDEX HTML pre caricata Tutti i parametri di tutti i controlli Carel su rete RS485 possono essere monitorati e modificati mediante l utilizzo di pagine Web 7 Creating a custom Web page on the WebGate 7 1 Introduction This chapter describes how to create a simple Web page which allows you to monitor and control the values of network variables over a local network LAN or wide area netwo...

Page 26: ...te il tag var 3 2 123 nella posizione appropriata 7 3 1 var x y z Visualization Tag This is a tag that provides access to the network variables data of the devices connected to the WebGate for monitoring through a Web browser To see a particular network variable of a device connected to the WebGate you must insert the following tag into the HyperText of the HTML page var x y z where x device addre...

Page 27: ...nversion will give back the following warning string Unit OFF LINE 23 Manuale WebGate cod 030220230 rel 1 0 16 09 2003 Esempio Example 2 HTML HEAD title compressor status title HEAD BODY bgcolor FFFFFF text 000000 TABLE width 627 border 0 cellspacing 0 align center TR DIV align center FONT face Verdana Arial Helvetica sans serif img src IR32 jpg width 257 height 187 align top vspace 0 hspace 0 FON...

Page 28: ...icate inclusa la pagina con la form in grado di visualizzare i risultati dei dati inviati dall utente Ad esempio ACTION IR32cold HTML o ACTION 192 168 10 42 mypage htm dove 192 168 10 42 è l indirizzo IP del WebGate 7 3 2 Writing device parameters using Forms One of the most important aspects of the Ethernet communications between Web servers and their clients is the possibility to include interac...

Page 29: ...bbe essere la selezione dei baudrate per la comunicazione seriale da un insieme di valori standard 1200 2400 4800 9600 19200 METHOD attribute This attribute defines the method used to send data to the server GET and POST are the two supported methods ENCTYPE is not supported GET is the default method for a client trough a browser to submit requests to a server GET method sends data to the server b...

Page 30: ...no i Text Box i List Menu i Button e i Jump Menu I paragrafi che seguono illustrano alcuni esempi dell utilizzo degli oggetti all interno di un form Jump Menu A jump menu is a pop up menu that lists options that link to documents or files This object is interesting when you want a fast menu to select different pages referring to different devices Button Form buttons control form operations You can...

Page 31: ...al Helvetica sans serif b font size 2 MPX unit1 font b font div td td width 14 align right height 35 bgcolor f3f3f3 font face Verdana Arial Helvetica sans serif b img src r gif width 12 height 22 b font td td width 50 align right height 35 bgcolor f3f3f3 nowrap div align left font face Verdana Arial Helvetica sans serif b font size 2 color 0000FF var 1 2 1 font font size 2 ordm C font b font div t...

Page 32: ...le Ad esempio la Fig 7 3 2 3 2 mostra cosa potrebbe visualizzare il browser durante un ritardo nella comunicazione per la modifica del setpoint dell IR32 cold La Fig 7 3 2 3 3 visualizza la pagina dopo che è stata scaricata Table 7 3 2 3 1 shows the HTML text of a page having a form First you can observe the three main attributes of the form into its tag form name form1 method post action esform h...

Page 33: ...e HTML di una pagina contenente un form con List Menu 7 3 2 4 Using List Menu inside forms The following table shows the HTML code of a page having a form with a List Menu inside 29 Manuale WebGate cod 030220230 rel 1 0 16 09 2003 Fig 7 3 2 3 2 Fig 7 3 2 3 3 Fig 7 3 2 4 1 ...

Page 34: ...riting the parameter when it parses the submitted data 30 Manuale WebGate cod 030220230 rel 1 0 16 09 2003 Esempio di utilizzo di list menu in un form Example of using list menu inside a form HTML head title Untitled Document title meta http equiv Content Type content text HTML charset iso 8859 1 head body bgcolor FFFFFF text 000000 form name form1 method get action RS232 htm table width 517 borde...

Page 35: ...ll x d all n for i 0 x i d forms length i x d forms i n for i 0 x d layers i d layers length i x MM_findObj n d layers i document if x document getElementById x document getElementById n return x function MM_jumpMenuGo selName targ restore v3 0 var selObj MM_findObj selName if selObj MM_jumpMenu targ selObj restore script head body bgcolor FFFFFF text 000000 form name form1 method get action E htm...

Page 36: ...ne da un insieme di opzioni La tabella che segue riporta un esempio di come scegliere il baudrate seriale The black boldface text highlights the SCRIPT option used to edit the three JavaScript functions for the Jump Menu It has been automatically created by the HTML editor used to construct this page The following text is relative to the pop up menu Figures 7 3 2 5 1 and 7 3 2 5 2 show the effects...

Page 37: ...first baudrate was 1200 and the second 4800 The following figure displays the result if ACTION is set to the same page 33 Manuale WebGate cod 030220230 rel 1 0 16 09 2003 Esempio di utilizzo di check box in un form Example of using check boxes inside a form HTML head title Untitled Document title meta http equiv Content Type content text HTML charset iso 8859 1 head body bgcolor FFFFFF text 000000...

Page 38: ...ons are typically used in groups All the Radio Buttons in a group must have the same name and must contain different field values The boldface text for a group of five buttons in the next table allows the user to select a unique baudrate in a range of five possibilities The Radio Buttons elements are inserted in a table 1x5 note the TD tag The name RS485 is the same for all The above figure shows ...

Page 39: ...HTML code for setting IP and NETMASK html head title Untitled Document title meta http equiv Content Type content text html charset iso 8859 1 head body bgcolor FFFFFF text 000000 form name form1 method post action Ipnet htm table width 382 border 0 cellspacing 0 align center tr align center td colspan 2 bgcolor FFCC33 font face Verdana Arial Helvetica sans serif b font size 2 Network Setup font b...

Page 40: ...gine condividono gli stessi stili di visualizzazione Infine quando possibile utilizzate immagini compresse Ad esempio ricordate che i file GIF TIFF e BMP occupano molto più spazio rispetto al formato JPEG As you can see looking at the boldface text the rules to insert a text box interface for setting the two mentioned parameters are always the same When you change its subnet mask and or IP the Web...

Page 41: ...mazioni relative alla gestione come ad esempio lo stato il valore di variabili significative le informazioni statistiche e così via 8 WebGate SNMP Protocol 8 1 A brief overview of the SNMP protocol SNMP Simple Network Management Protocol is an Internet standard protocol introduced in 1988 for managing devices on IP networks Network complexity has increased very hard in last years by addition of se...

Page 42: ... un sotto albero Gli altri due nodi spesso vengono chiamati leaf node nodi foglie La Tab 8 3 1 offre una breve descrizione del significato di questi nodi 8 2 The structure of management information agent MIBs The database controlled by the SNMP agent is referred to as the SNMP Management Information Base MIB i e database of the management information and is a standard set of objects representing s...

Page 43: ...BJECT IDENTIFIER enterprises 9839 Carel System OBJECT IDENTIFIER Carel 1 Carel Instruments OBJECT IDENTIFIER Carel 2 Subtrees of Root Node ccitt 0 Subtree administered by International Telegraph and Telephone Consultative Committee iso 1 International Organization for Standardization joint 2 Administered jointly by ISO and CCITT Tab 8 3 1 Dualism between series of integer and series of names is no...

Page 44: ...Carel WebGate Info b 2 b 9 8 4 1 The Carel System subtree Carel System Subtree has only two objects Agent release and Agent code Agent Release represents the firmware release of the agent firmware incorporated into the WebGate Agent Code is the Agent identifier always 1 for WebGate The subtree is represented in Fig 8 4 1 1 We can use the following formal template to define these MIB objects Agent ...

Page 45: ...Tab 8 4 4 1 _ solo per controlli parametrici Resuming moving on carel instruments subtree OID NAME 1 3 6 1 4 1 9839 2 we can have the following cases Table 8 4 2 1 OID NAME 1 3 6 1 4 1 9839 2 a b a b subtree 0 1 Agent parameters 0 2 b 9 General Units info 1 a MaxDevs Units var Table 8 4 2 1 8 4 3 The Agent parameters node There are two parameters under this node Figure 8 4 3 1 Netsize and Baudrate...

Page 46: ...T TYPE SYNTAX INTEGER ACCESS read only STATUS DESCRIPTION descrive la versione software dell unità con indirizzo X represents the software release of the Unit having address X Carel WebGateInfo 4 X UnitMinSoftRel X OBJECT TYPE SYNTAX INTEGER ACCESS read only STATUS DESCRIPTION rappresenta la versione minima del software dell unità con indirizzo X represents the minimum software release of the Unit...

Page 47: ...ll the SNMP objects relative to the variables of the devices connected to the WebGate Figure 8 4 5 1 shows how this subtree is structured assuming Netsize 4 The formal SNMP definition for an object associated to a variable is Variable OBJECT TYPE SYNTAX INTEGER ACCESS read write _ Status DESCRIPTION generic integer digital or analogue device variable Carel Instruments x y z _ all variables have de...

Page 48: ...un esempio di MIB tree completo supponendo una sola unità IR32Cold avente indirizzo 1 collegata al WebGate Table 8 4 5 1 gives the relationship between the object OID name for a generic variable and x y z parameters OID name for unit variables OID name 1 3 6 1 4 1 9839 2 x y z x unit address y type z index 1 x Netsize 1 digital 2 analogue 3 integer 1 z 207 Tab 8 4 5 1 remember that OID is made by ...

Page 49: ...l community name nel messaggio inviato dal manager non è valido il WebGate non invia nessuna risposta 8 5 SNMP command and version The agent running on WebGate implements SNMPv 1 protocol Consequently the handled message types are SNMPv 1 Message type Get request GetNext request Get response Set request Tab 8 5 1 8 6 Communities The information in the protocol SNMP is based on the use of community...

Page 50: ...n Base is the main informations database for an SNMP network application One of the most important groups under MIB II node is the system group see Fig 8 7 1 The three variables sysContact sysName and sysLocation belonging to the system group are mandatory for any agent The definition of the 3 MIB II system variables managed by the WebGate is sysContact OBJECT TYPE SYNTAX OCTET STRING ACCESS read ...

Page 51: ... 2 One of the variables indicated in the request does not match anything in the relevant MIB view badValue 3 A set request asked the agent to write an inappropriate value for example to write an integer when a text string was required readOnly 4 A set request tried to write a variable that the operator is not allowed to write genErr 5 A variable can not be retrieved for some reason other than thos...

Page 52: ...Supervisor and Administrator to avoid that everybody could change the settings of devices connected to the RS485 network The association between a function and the minimum access level required is fixed and not modifiable Limiting access to the file system Read and write restrictions can be applied to any file valid either using HTTP and FTP File access levels are set through FTP Please see chapte...

Page 53: ...gine HTML pre caricate con l introduzione index html e le informazioni generali wg_info htm possono essere lette da qualsiasi utente Al contrario tutte le pagine di configurazione richiedono il livello Administrator 9 2 Users Definition WebGate user management is based on a user table that associates every user with a password and an access level The simplest way to set user properties is through ...

Page 54: ...nzioni UserLevel UserName e UserPwd nel paragrafo Funzioni Script del WebGate Il cliente può creare la propria pagina e impostare i livelli di accesso che preferisce da 0 a 249 La Fig 9 9 1 è un esempio di come può essere realizzata una pagina di questo tipo 9 7 Accessing to Protected HTML Pages HTML protection is provided through the use of the browser password management capabilities When you tr...

Page 55: ...tml o js Una funzione può essere parametrica o non avere parametri comando I nomi delle funzioni non fanno distinzione tra lettere maiuscole e minuscole In questo capitolo vengono elencate e descritte una ad una tutte le funzioni disponibili 10 Firmware Upgrade WebGate ensures that upgrades can be easily obtain since the firmware is stored into an embedded rewritable memory The upgrade can be perf...

Page 56: ...ispositivo DevInfo Visualizza informazioni estensive su un dispositivo IsSelBaudrate485 Restituisce una stringa specifica se il baudrate attuale corrisponde al parametro dato MaxDevs Imposta il numero massimo di dispositivi collegati al WebGate ScanDevs Scandisce tutti i dispositivi collegati al WebGate Status485 Ottiene informazioni sull interfaccia RS485 e rete Carel Var Ottiene imposta il valor...

Page 57: ...h the given parameter MaxDevs Set the maximum number of devices connected to the WebGate ScanDevs Rescan all the devices connected to WebGate Status485 Get information about the RS485 and Carel Network interface Var Get set a device variable value Ethernet LAN Gateway Get set the network gateway IP Address IPAddress Get set the WebGate IP Address MACAddress Return the WebGate Ethernet hardware add...

Page 58: ...l commands are described in detail in alphabetical order In the upper title the description items have the following meanings Read indicates whether the command can return a value when read or not Write is the minimum user access level required for write access when allowed Please note that read access is never restricted by user management system instead Saved indicates whether the command perfor...

Page 59: ...aggio di errore Valore di default 19200 Baud Esempio consolle Baudrate485 12 Sbagliato Invalid baudrate code 401 Baudrate485 19200 Baudrate485 19200 _ Returned Value The returned value is one of the following Guest 0 user access level 99 User 100 user access level 149 Supervisor 150 user access level 199 Administrator 200 user access level 249 Console example AccessLevelString administrator _ Baud...

Page 60: ...è configurato cioè è stato riconosciuto dal Webgate ma al momento non è in linea il WebGate restituisce il codice tipo dell ultimo dispositivo con quell indirizzo Ctrl232 Description Read Write Saved Give access to specific RS232 control lines NOTE This function is provided for debug purposes only Write access is always forbidden Get the value of RS232 status and control lines Syntax Ctrl232 Retur...

Page 61: ...comprese nell espressione Esempio consolle Set Address 7 Eval Address 1 6 Set Index Address 2 NON inserire spazi qui Eval Index Address 1 3 _ Console example Dev 1 Low Level Unit ON LINE Type code 10 _ DevInfo Description Read Write Saved Get extended information about a device Returns a complete status report of a connected Carel device Syntax DevInfo address address represents the physical addre...

Page 62: ...te l indirizzo del gateway il WebGate memorizzerà immediatamente il valore appena selezionato Tuttavia continuerà ad essere utilizzato il valore precedente finché ci sarà ancora una connessione attiva FTP HTTP o SNMP Di conseguenza FreeFiles Description Read Write Saved Return the amount of memory free for files storage Return how many bytes and file locations are free to store files in the WebGat...

Page 63: ... Logout C UserLevel RW LumpTest RW UserLevelString R MACAddress RW UserName RW MaxDevs RW UserPwd RW NetMask RW Var RW NetStat R WakeOn R _ time interval will fail To avoid this and to perform the operation faster we suggest to change it if possible when no other user s requests are active Returned value for write One of the following situations may occur Valid value entered and no connections sti...

Page 64: ... seguenti situazioni Valore valido e nessuna connessione attiva IP value updated Valore valido e una o più connessioni attive Valid for next connection Valore non valido stringa bad value o syntax error Valore di default 192 168 0 250 HWVersion Description Read Write Saved Return the WebGate hardware version This function returns the WebGate hardware version revision Syntax HWVersion Returned valu...

Page 65: ...ific string when the current baudrate match the given parameter This function returns a value depending on the match of the given parameter with the current RS232 baudrate value It is useful in combination with drop down selection lists Syntax IsSelBaudrate232 expression expression represents the baudrate to compare with Returned value Empty string if the baudrate doesn t match or selected if the ...

Page 66: ...ination with drop down selection lists Please see chapter User Management for a description of user management system Syntax IsSelUserLevel index level index represents the user index in the users table 0 5 level represents the user level to compare with Returned value Empty string if the access level doesn t match or selected if the access level is the same Console example UserLevel 1 200 IsSelUs...

Page 67: ...nza se non avete bisogno delle funzioni di sicurezza non servirà che usiate il comando login Esempio consolle Logout Login JohnDoe Passwd Welcome JohnDoe Your access level is 249 administrator _ Error message if the string is not a valid name No message if the string seems to be a valid name Note When WebGate reboots no user is automatically logged in To prevent unauthorized access users are autom...

Page 68: ...ne 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 ...

Page 69: ...etmask è 255 255 0 0 ogni messaggio per 192 168 X X viene inviato direttamente mentre un messaggio inviato a 192 20 0 0 passa attraverso il gateway Esempio consolle NetMask 192 168 0 0 NetMask 0 0 0 0 IP value updated _ NetMask Description Read Write Saved Get set the network mask pattern Administrator Displays or changes the network mask pattern netmask Syntax read NetMask Returned value for read...

Page 70: ...0 Total Sent Packets 108 Transmit Collisions N A Failed Transmissions N A Last TX Carrier N A Active FTP Connections 0 Active HTTP Connections 0 Active SNMP Connections 0 _ NetStat Description Read Write Saved Display some network statistics This command gets a list of Ethernet network statistics This may be useful to advanced users or system administrators for debug purposes Syntax Help Returned ...

Page 71: ...poiché ad ogni riavvio del WebGate viene controllata l esistenza di un file di aggiornamento Sintassi Reboot Esempio consolle Reboot bootstrap message Passwd Description Read Write Saved Enter the user password for the console Guest Enter the password to login a user The console interface fully comply with the restrictions imposed from the users management system described in chapter User Manageme...

Page 72: ...per la descrizione delle community SNMP Sintassi lettura RWCommunity Valore restituito in lettura name Dove name è il community name Registers Description Read Write Saved Displays a list of all the currently defined registers This command lists all the defined arithmetic registers Arithmetic registers are explained in chapter About Expressions Registers and Functions Please note that some of the ...

Page 73: ...ei registri e delle espressioni aritmetiche Esempio consolle Set Address 7 Eval Address 1 6 Set Index Address 2 NON Inserire spazi qui Eval Index Address 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 ...

Page 74: ...e per la descrizione dell SNMP Questa stringa viene utilizzata dai Manager SNMP Sintassi lettura SNMPSyscont Valore restituito in lettura name Dove name è il nome del system contact SetMax Description Read Write Saved Set the maximum allowed value for a register Guest This function defines a maximum value for a register Syntax Setmax register expression register Register name expression Arithmetic...

Page 75: ...ghezza massima di un nome non deve superare i 40 caratteri Valore di default CarelWebgate Esempio consolle SNMPSysname PlantChillersSystem SNMPSysname PlantChillersSystem _ Syntax write SNMPSyscont name Where name is the system contact 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 m...

Page 76: ...e Carel per farvi inviare un file di configurazione aggiornato Un indicazione di errata selezione del baudrate Esempio consolle Status485 RS485 settings are valid Baudrate selected 19200 _ SNMPAgentRel Description Read Write Saved Return the Agent software release This function returns the SNMP Agent software version Syntax SWVersion Returned value Version Version is used to identify a major softw...

Page 77: ...separato da punti Valori ammessi Qualsiasi combinazione di quattro numeri compresi tra 0 e 255 Per disabilitare le trasmissioni trap dal WebGate impostate questo valore a 255 255 255 255 SWVersion Description Read Write Saved Return the WebGate software version This function returns the latest WebGate software update version revision Please note that only firmware updates are tracked File System u...

Page 78: ...e degli utenti Sintassi lettura UserLevel index Dove index rappresenta l indice utente nella tabella utenti 0 5 Valore restituito in lettura level Dove level è un numero compreso nell intervallo 0 249 che individua il livello di accesso di un utente dato Note When you change Trap IP address WebGate will immediately store the value just selected However the old value will be used until a SNMP conne...

Page 79: ...ittiva Da 0 a 99 guest Da 100 a 149 User Da 150 a 199 supervisor Da 200 a 249 administrator Esempio consolle UserLevel 3 99 UserLevelString 3 guest _ Syntax write UserLevel index level Where index represents the user index in the users table 0 5 and level is a number in the range 0 249 indicating the access level of the given user Please note that operators are only allowed to change information o...

Page 80: ...ti viene visualizzata una riga di asterischi Sintassi scrittura UserPwd index password Dove index rappresenta l indice utente nella tabella utenti 0 5 e password è il nuovo nome utente UserName Description Read Write Saved Get set the given user name Guest Displays or changes an user name Please see chapter User Management for a description of user management system Syntax read UserName index Wher...

Page 81: ...errori involontari dell utente Il valore minimo ammesso è indicato nel manuale d uso di ciascun dispositivo Non utilizzate mai un valore più basso poiché potrebbe causare il malfunzionamento dell unità The password 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 password length must not exceed 20 characters If...

Page 82: ...tassi WakeOn Valore restituito Time elapsed from last reset days day hr hour min min sec sec Esempio consolle WakeOn Time elapsed from last reset 0 day 2 hour 51 min 33 sec _ max maximum value allowed This is required when using HTML pages to avoid device misconfiguration of the device due to involuntary user errors The maximum value allowed is indicated in the user manual of the specific device D...

Page 83: ...no utilizzate i registri solo se necessario e solo quando c é un unico utente in possesso della password necessaria per accedere a quelle pagine I registri vengono azzerati in seguito ad un riavvio del WebGate 12 About Expressions Registers and Functions To provide HTML pages with greater programming flexibility some functions allows the use of simple integer arithmetic expression in their paramet...

Page 84: ...emoria 128KB RAM 1MB Flash 400KB disponibili per pagine web e dati utente File System max 100 file disponibili per l utente Spazio minimo occupato da ogni file 1KB 12 2 Some additional notes about arithmetic expressions Only the sum and subtraction operators are allowed Numeric values exceeding the range 231 1 231 1 resulting from user input or calculation are not evaluated correctly The use of an...

Page 85: ...materia Carel si riserva la possibilità di apportare modifiche o cambiamenti ai propri prodotti senza alcun preavviso Other Operating Conditions 0T50 C 0 90 rH non condensing Storage Conditions 10T70 C 0 90 rH non condensing Index of Protection IP IP20 Dimensions mm 152 x 128 x 39 Environmental pollution normal Category of resistance to fire and heat D Software class and structure A Disposal of th...

Page 86: ......

Page 87: ......

Page 88: ...Cod 030220230 rel 1 0 16 09 2003 Agenzia Agency CAREL S p A Via dell Industria 11 35020 Brugine Padova Italy Tel 39 049 9716611 Fax 39 049 9716600 e mail carel carel com www carel com ...

Reviews: