PROTOCOLLO DI COMUNICAZIONE MODBUS



Documenti analoghi
IM-IU v0.1. alternata e continua. pag. 1 / 5

PROTOCOLLO DI COMUNICAZIONE MODBUS MODBUS COMMUNICATION PROTOCOL. MANUALE ISTRUZIONI / INSTRUCTION MANUAL IM163-IU v0.61

EML-16 EML-16. Pulses concentrator. Concentratore impulsi MODBUS COMMUNICATION PROTOCOL PROTOCOLLO DI COMUNICAZIONE MODBUS

Part. Y1792A - 06/06-01 PC. Protocollo di comunicazione seriale Modbus

MODBUS RTU MODBUS RTU

MODBUS RTU MODBUS RTU

DEL FATTORE DI POTENZA PROTOCOLLO DI COMUNICAZIONE MODBUS COMUNICATION PROTOCOL MODBUS. Doc. I427IGB09_15.docx Date: 28/09/2015 P.

I 153 I GB p. 1 / 25

PROTOCOLLO DI COMUNICAZIONE MODBUS

PROTOCOLLO DI COMUNICAZIONE MODBUS

77 DMG210 DMG300 DMG210 DMG300 MODBUS I302 I GB Doc. AHIT101C0208.doc Date: 10/11/2009 P. 1 / 18

Document ref. AHIT202$A0202.doc 30/09/2008 P. 1 / 15

PROTOCOLLO DI COMUNICAZIONE MODBUS COMUNICATION PROTOCOL MODBUS

Capitolo 8 - Protocollo Modbus RTU per Drive SIRCO

Descrizione del protocollo

Protocollo comunicazione Communication protocol MODBUS RTU

I 315 I GB 1110 MODBUS. Doc. AHIT100D0408.doc Date: 16/11/2010 P. 1 / 17

I 315IGB06_ MODBUS. Doc. I315IGB06_16.doc Date: 28/06/2016 P. 1 / 17

ATL800/ATL900 COMMUTATORI AUTOMATICI DI RETE

EFA Automazione S.r.l. Serial Bridge 3 - Modbus RTU slave to Technolife (01 ITA).doc pag. 1 / 9

I334 I GB 0211 MODBUS. Doc. AHIT101A0510.doc 10/02/2011 P. 1 / 18

I317 I GB 0111 MODBUS. Doc. AHIT106C0208.doc 14/01/2011 P. 1 / 25

DEL FATTORE DI POTENZA PROTOCOLLO DI COMUNICAZIONE MODBUS PROTOCOL MODBUS I147IGB0906. Doc. AHIT102A1102.doc Date: 28/09/2006 P.

ATL610 COMMUTATORE AUTOMATICO DI RETE

GENERATING SET CONTROLLER GRUPPI ELETTROGENI MODBUS I375 I GB Doc. I375IGB10_17 31/10/2017 P. 1 / 23

UNITA DI CONTROLLO ELETTROPOMPA ANTINCENDIO (EN12845) PROTOCOLLO DI COMUNICAZIONE MODBUS

GENERATING SET CONTROLLER GRUPPI ELETTROGENI MODBUS I375 I GB 08_18. Doc. I375IGB08_18 21/08/2018 P. 1 / 23

Centralina di commutazione automatica

Reti e Sistemi per l Automazione MODBUS. Stefano Panzieri Modbus - 1

Centralina di commutazione automatica

GENERATING SET CONTROLLER GRUPPI ELETTROGENI MODBUS I375 I GB Doc. AHIT103B1110.doc 06/11/2013 P. 1 / 20

ADDENDUM I105IGB1101. Document ref. DMK 31 P. 1 / 18 (P.11-P.21) HIGH LOW. K* (see P.11 to P.17 P.21 to P.27) Relay trip-on Relay trip-off (P.11-P.

ED To communicate with the DP module will need to configure the serial port s parameters of the PC/PLC as it follows:

EMS_ _State_GenericInput_ModbusTable_LG_EN_v1.00.xlsx

PROTOCOLLO DI COMUNICAZIONE MODBUS PROTOCOL MODBUS

Gateway RS485 DLMS-MODBUS. Dispositivo di Comunicazione tra DLMS RS485 e MODBUS RTU e/o MODBUS TCP

ISTRUZIONI PER L'UTILIZZO DEL PROTOCOLLO MODBUS

Guida utente User Manual made in Italy Rev0

Blocchi funzione: FbModbusAsciiMs

I317 I GB 05_ MODBUS. Doc. I317IGB05_15.doc 19/05/2015 P. 1 / 43

I317 I GB 10_ MODBUS. Doc. I317IGB10_17.doc 16/10/2017 P. 1 / 43

Manuale di programmazione BerMar_Drive_Software

Il protocollo MODBUS. Il protocollo MODBUS Pag. 1 di 11

ENERGY METER MOD.320C Energy Meter Din Rail per sistemi elettrici monofase

MENU M16 COMUNICAZIONE SERIALE PAR Funzione Range Default P16.n.01 Indirizzo baud. 8 bit Nessuna. Modbus RTU

QUADRO DI CONTROLLO MANUALE/AUTOMATICO (ACP) Serie GBW

Sistema Operativo di un Router (IOS Software)

EMS_ _Interface_ModbusTable_LG_EN_v1.00.xlsx

CONFIGURATION MANUAL

Gateway Bacnet Multichiller series

REGOLATORE PFC96Evo / PFC144Evo PROTOCOLLO MODBUS

EM3 SoftCom Software di comunicazione fra EM3 e PC Versione 2.019

REGISTRATION GUIDE TO RESHELL SOFTWARE

Modulo plug&play MKMB-3-e-3. Interfaccia Modbus/RTU per contatori Iskraemeco MT831 / MT860

Code: GW-IMP-WEB-1. Datalogger web pulses counter. Version 6 inputs with Ethernet. MarCom

QC-POWER-3PC MAPPA DEI REGISTRI MODBUS pag. 1/ 5

PROCEDURA DI CONFIGURAZIONE: Per configurare i parametri di rete dell RCX LAN è necessario installare il software Tibbo DS Manager

MENU M16 COMUNICAZIONE SERIALE PAR Funzione Range Default P16.n.01 Indirizzo seriale nodo P16.n.02 Velocità seriale baud.

PANNELLO REMOTO PER BARRIERE 48BFC000 E 48BFC001

Indirizzi MODBUS per ETH Mar 2012

OPERA Specifiche tecniche per moduli telegestione Hardware, Quadri di campo e di rete FV

REGOLATORE RPC 8BGA PROTOCOLLO MODBUS

Configurazione Modem ROBUSTEL M1000 SMS Direct

Manuale Utente Rev. 0.3 del 26/11/2004

Configurazione moduli I/O serie EX

Gateway Bacnet Multichiller series

Manuale d uso Giove CA3MKII

GENERALITÀ. Unità: Canali di comunicazione:

MANUALE UTENTE PEL 2500 / PEL 2500-M V2.0.0 ( ) 1 (7)

Contatore d impulsi S0

Schede di espansione per Hi-drive: Profibus. Expansion cards for Hi-drive: Profibus

MANUALE CONFIGURAZIONE ED UTILIZZO GATEWAY MBUS-MODBUS (RTU/TCP) MODELLO PiiGAB M900

Interfaccia BL232 con uscite RS232/422/485 MODBUS e 0-10V. Interfaccia BL232

ELSTER A1700i. Manuale software di lettura Dati Power Master Unit Read Olny. Contatore ELSTER A1700i. Manuale software di lettura dati PMU Read Olny

Epta automation R&D TA042-REV0.2

COMBINATORE TELEFONICOMOD. KIM10GSM Istruzioni Base

Manuale per l utilizzo dell applicazione Client per il controllo remoto di apparecchiature da laboratorio

INTERFACCIA SERIALE RS232PC

CANPC-S1. Programmable CanBus-PC interface

Attuatore a relè Manuale di istruzioni

TASTIERA DI COMANDO E CONTROLLO PER INVERTERS EL.-5000

GSM Dialer. Ottimo dispositivo da collegare ad antifurti PSTN ma anche ad altre apparecchiature

Serie S kw 22 kw( / v)

API e socket per lo sviluppo di applicazioni Web Based

TECNOELETTRA srl TE804 TE804

Il processore. Il processore. Il processore. Il processore. Architettura dell elaboratore

Calcolo efficienza energetica secondo Regolamento UE n. 327/2011 Energy efficiency calculation according to EU Regulation no.

STE04WS MANUALE UTENTE V. 1.0

Manuale Terminal Manager 2.0

Unità di telelettura per contatori

Alimentatori per LED di segnalazione (MINILED) Power supply units for Signal LEDs (MINILED)

Guida alla configurazione Configuration Guide

C. P. U. MEMORIA CENTRALE

VNET HOP Hw code 2248 Rev. 0. VNET 433 Hw code 2235 Rev. 2. VNET 433 FLEX Hw code 2274 Rev. 0. VNET LP Hw code 2247 Rev. 0

Scheda CPU Logika OKIR 510B Irinox cod

Protocolli di Comunicazione Elettronica dei Sistemi Digitali L-A Università di Bologna, Cesena

GSM Dialer. Dispositivo da collegare ad antifurti PSTN ma anche ad altre apparecchiature

You can visualize the free space percentage in Compact Flash memory from the MENU/INFO C.F. UTILITY-FREE SPACE page.

Manuale di installazione del software di Controllo Surv-Controller Ver.3.0

Transcript:

77 RGAM40-41-42 RGAM40-41-42 CONTROLLO GRUPPI ELETTROGENI GENERATING SET CONTROLLER I237 I GB 0908 PROTOCOLLO DI COMUNICAZIONE MODBUS MODBUS COMMUNICATION PROTOCOL Doc. AHIT303B0206.doc Date: 15/09/2008 P. 1 / 20

PROTOCOLLO MODBUS I commutatori automatici di linea della serie RGAM4x supportano i protocolli di comunicazione Modbus RTU e Modbus ASCII sulle porte seriali RS-232 e RS-485. Grazie a questa funzione e possibile leggere lo stato degli apparecchi e controllare gli stessi tramite il software di controllo remoto dedicato (RGKSW20), software di supervisione standard forniti da terze parti (SCADA) oppure tramite apparecchiature dotate di interfaccia Modbus quali PLC e terminali intelligenti. IMPOSTAZIONE DEI PARAMETRI Per configurare il protocollo Modbus, accedere al Menu M10- Comunicazione seriale tramite la seguente procedura: Premere e mantenere premuto tasto RESET Premere 2 volte START Premere 3 volte STOP Premere 4 volte - Rilasciare tasto RESET Compare la selezione dei menu estesa Scegliere Setup parametri Navigazione nei menu I tasti e sono utilizzati per selezionare fra i vari menu o parametri I tasti + e - sono utilizzati per incrementaredecrementare il valore dei parametri, sia numerici che funzioni Il tasto START assume la funzione di scelta, conferma, assenso. Serve anche per entrare ad un livello più in basso. Il tasto STOP assume la funzione di uscita, annullamento, rifiuto. Serve anche per uscire ad un livello superiore Il tasto OFF/RESET memorizza ed esce dalla programmazione Se non vengono premuti tasti per un tempo superiore ai 2 minuti l apparecchio esce automaticamente dal setup senza memorizzare i cambiamenti. MENU 10 PORTA Default Range COMUNICAZIONE P1001 Indirizzo porta seriale 1 1-99 RS232 P1002 Baud-rate RS232 9600 OFF/1200-38400 P1003 Protocollo RS232 Auto Auto Proprietary ASCII Modbus RTU P1004 Parità RS232 NONE NONE ODD EVEN P1005 Indirizzo porta seriale 1 1-99 RS485 P1006 Baud-rate RS485 9600 OFF 1200-38400 P1007 Protocollo RS485 Auto Auto Proprietary ASCII Modbus RTU P1008 Parità RS485 NONE NONE ODD EVEN P1009 Canale modem RS232 RS232 RS485 P1010 Forza in AUT in caso OFF OFF / ON d interruzione comunicazione Solo per RGAM41 MODBUS PROTOCOL The RGAM4x series of automatic transfer switch controllers support the communication protocols Modbus RTU and Modbus ASCII on the RS-232 and RS-485 serial ports. Using this function it is possible to read the device status and to control the units through the dedicated Remote control software (RGKSW20), third-party supervision software (SCADA) or through other intelligent devices supporting Modbus, like PLCs. PARAMETER SETTING To configure the Modbus protocol, enter M10 menu Serial communication using the following procedure: Press and hold down the RESET key Press START twice Press STOP three times Press - four times Release the RESET key. The Extended menu selection is displayed Select Parameters Setup Menu navigation keys and are used to scroll among menus or parameters keys + and - are used to invrease-decrease the parameter value, either numeric or functions. Key START is used to enter, confirm, answer Yes. Also used to enter a deeper level menu. Key STOP is used to exit, cancel, answer No. also used to Exit to a higher level menu. Key OFF-RESET stores and quit. MENU 10 COMMUNICATION Default Range PORT P1001 RS232 serial port address 1 1-99 P1002 RS232 baud-rate 9600 OFF/1200-38400 P1003 RS232 communication protocol Auto Auto Proprietary ASCII Modbus RTU P1004 RS232 parity NONE NONE ODD EVEN P1005 RS485 serial port address 1 1-99 P1006 RS485 baud-rate 9600 OFF 1200-38400 P1007 RS485 communication protocol Auto Auto Proprietary ASCII Modbus RTU P1008 RS485 parity NONE NONE ODD EVEN P1009 Modem channel RS232 RS232 RS485 P1010 Force in AUT mode in case OFF OFF / ON of communication interruption Only for RGAM41 Doc. AHIT303B0206.doc Date: 15/09/2008 P. 2 / 20

PROTOCOLLO MODBUS RTU Quando si utilizza il protocollo Modbus RTU, la struttura del messaggio di comunicazione è così costituita: T1 T2 T3 Indirizzo ( 8 bit) Funzione (8 bit) Dati (N x 8 bit) CRC (16 bit) Il campo Indirizzo contiene l indirizzo dello strumento slave cui il messaggio viene inviato. Il campo Funzione contiene il codice della funzione che deve essere eseguita dallo slave. Il campo Dati contiene i dati inviati allo slave o quelli inviati dallo slave come risposta ad una domanda. Per RGAM4x, la lunghezza massima consentita per il campo dati e di 60 registri da 16 bit (120 bytes). Il campo CRC consente sia al master che allo slave di verificare se ci sono errori di trasmissione. Questo consente, in caso di disturbo sulla linea di trasmissione, di ignorare il messaggio inviato per evitare problemi sia dal lato master che slave. La sequenza T1 T2 T3 corrisponde al tempo durante il quale non devono essere scambiati dati sul bus di comunicazione, per consentire agli strumenti collegati di riconoscere la fine di un messaggio e l inizio del successivo. Questo tempo deve essere pari a 3.5 caratteri. L RGAM4x misura il tempo trascorso tra la ricezione di un carattere e il successivo e se questo tempo supera quello necessario per trasmettere 3.5 caratteri, riferiti al baud rate impostato, il prossimo carattere viene considerato l inizio di un nuovo messaggio. FUNZIONI MODBUS Le funzioni disponibili sono: 04 = Read input register 06 = Preset single register 07 = Read exception 10 = Preset multiple register 17 = Report slave ID Consente la lettura delle misure disponibili nell RGAM4x. T1 T2 T3 Permette la scrittora dei parametri Permette di leggere lo stato dell apparecchio Permette la scrittura di più parametri Permette di leggere informazioni relative all apparecchio Per esempio, se si vuole leggere dall RGAM4x con indirizzo 01 il valore della tensione di batteria che si trova alla locazione 32 (20 Hex), il messaggio da spedire è il seguente: 01 04 00 1F 00 02 40 0D Dove: 01= indirizzo slave. 04 = funzione di lettura locazione. 00 1F = indirizzo della locazione diminuito di un unità, contenete il valore della tensione di batteria 00 02 = numero di registri da leggere a partire dall indirizzo 30. 40 0D = checksum CRC. La risposta dell RGAM4x è la seguente: 01 04 04 00 00 00 7C FA 65 Dove: 01= indirizzo dell RGAM4x (Slave 01). 04 = funzione richiesta dal Master. 04 = numero di byte inviati dall RGAM4x. 00 00 00 7C = valore esadecimale della tensione di batteria = 124 = 12,4V FA 65 = checksum CRC. MODBUS RTU PROTOCOL If one selects the Modbus RTU protocol, the communication message has the following structure: T1 T2 T3 Address ( 8 bit) (8 bit) Data (N x 8 bit) CRC (16 bit) The Address field holds the serial address of the slave destination device. The field holds the code of the function that must be executed by the slave. The Data field contains data sent to the slave or data received from the slave in response to a query. For the RGAM4x, the maximum length for the data field is of 60 16-bit registers (120 bytes). The CRC field allows the master and slave devices to check the message integrity. If a message has been corrupted by electrical noise or interference, the CRC field allows the devices to recognize the error and thereby to ignore the message. The T1 T2 T3 sequence corresponds to a time in which data must not be exchanged on the communication bus to allow the connected devices to recognize the end of one message and the beginning of another. This time must be at least 3.5 times the time required to send one character. The RGAM4x measures the time that elapse from the reception of one character and the following. If this time exceeds the time necessary to send 3.5 characters at the selected baudrate, then the next character will be considered as the first of a new message. MODBUS FUNCTIONS The available functions are: 04 = Read input register 06 = Preset single register 07 = Read exception 10 = Preset multiple register 17 = Report slave ID T1 T2 T3 Allows to read the RGAM4x measures. Allows writing parameters Allows to read the device status Allows writing several parameters Allows to read information about the RGAM4x. For instance, to read the value of the battery voltage, which resides at location 32 (20 Hex) from the RGAM4x with serial address 01 the message to send is the following: 01 04 00 1F 00 02 40 0D Whereas: 01= slave address 04 = Modbus function Read input register 00 1F = Address of the required register (battery voltage) decreased by one 00 02 = Number of registers to be read beginning from address 30 40 0D = CRC Checksum The RGAM4x answer is the following: 01 04 04 00 00 00 7C FA 65 Where: 01 = RGAM4x address (Slave 01) 04 = requested by the master 04 = Number of bytes sent by the RGAM4x 00 00 00 7C = Hex value of the battery voltage = 124 = 12.4VDC FA 65 = CRC checksum Doc. AHIT303B0206.doc Date: 15/09/2008 P. 3 / 20

FUNZIONE 04: READ INPUT REGISTER La funzione 04 permette di leggere una o più grandezze consecutive in memoria. L indirizzo di ciascuna grandezza e indicato nelle Tabelle 2...11 riportate nelle ultime pagine del presente manuale. Come da standard Modbus, l indirizzo specificato nel messaggio va diminuito di 1 rispetto a quello effettivo riportato nella tabella. Se l indirizzo richiesto non è compreso nella tabella o il numero di registri richiesti è maggiore di 60 l RGAM4x ritorna un messaggio di errore ( vedi tabella errori). Richiesta Master: Indirizzo slave Funzione 04h MSB Indirizzo registro LSB Indirizzo registro 0Fh MSB Numero registri LSB Numero registri 21h 57h Nell esempio vengono richiesti allo slave numero 8 8 registri consecutivi a partire dall indirizzo 10h. Quindi vengono letti i registri dall 10h al 17h.Il comando termina sempre con il valore di checksum CRC. Risposta Slave: Indirizzo slave Funzione 04h Numero di byte 10h MSB Dato 10h LSB Dato 10h --------------------------------------------------- ---- MSB Dato 17h LSB Dato 17h 5Eh 83h La risposta è composta sempre dall indirizzo dello slave, dalla funzione richiesta dal Master e dai dati dei registri richiesti. La risposta termina sempre con il valore di checksum CRC. FUNCTION 04: READ INPUT REGISTER The Modbus function 04 allows to read one or more consecutive registers from the slave memory. The address of each measure is given in the tables 2...11 reported in the final pages of this manual. As for Modbus standard, the address in the query message must be decreased by one from the effective address reported in the table. If the measure address is not included in the table or the number of requested registers exceeds 60 the RGAM4x will return an error code (see error table). Master query: Slave address 04h MSB address LSB address 0Fh MSB register number LSB register number 21h 57h In the above example slave 08 is requested for 8 consecutive registers beginning with address 10h. Thus, registers from 10h to 17h will be returned. As usual, the message ends with the CRC checksum. Slave response: Slave address 04h Byte number 10h MSB register 10h LSB register 10h --------------------------------------------------- ---- MSB register 17h LSB register 17h 5Eh 83h The response is always composed of the slave address, the function code requested by the master and the contents of the requested registers. The answer ends with the CRC. Doc. AHIT303B0206.doc Date: 15/09/2008 P. 4 / 20

FUNZIONE 06: PRESET SINGLE REGISTER Questa funzione permette di scrivere nei registri. Essa puo essere utilizzata solo con i registri di indirizzo superiore a 1000 Hex. E possibile ad esempio impostare i parametri del setup. Qualora il valore impostato non rientri nel valore minimo e massimo della tabella l RGAM4x risponderà con un messaggio di errore. Se viene richiesto un parametro ad un indirizzo inesistente verrà risposto con un messaggio di errore. L indirizzo ed il range valido per i vari parametri può essere trovato nelle Tabelle 5, 6 e 7. Con la funzione 06 e inoltre possibile eseguire dei comandi ( come il passaggio da manuale ad automatico e viceversa) utilizzando gli indirizzi ed i valori riportati nella Tabella 4. FUNCTION 06: PRESET SINGLE REGISTER This function allows to write in the registers. It can be used only with registers with address higher than 1000 Hex. For instance it is possible to change setup parameters. If the value is not in the correct range, the RGAM4x will answer with an error message. In the same way, if the parameter address is not recognised, the RGAM4x will send an error response. The address and the valid range for each parameter are indicated in Tables 5, 6 and 7. With function 06, some commands (like passing from MAN to AUT and vice versa) can be possibly executed sending the addresses and the values reported in Table 4. Richiesta Master: Indirizzo slave Funzione MSB Indirizzo registro LSB Indirizzo registro MSB Dato LSB Dato 06h 16h 03h 1Eh FDh 13h Master message: Slave address MSB register address LSB register address MSB data LSB data 06h 16h 03h 1Eh FDh 13h Risposta Slave: La risposta è un eco della domanda, cioè viene inviato al master l indirizzo del dato da modificare e il nuovo valore del parametro. Slave response: The slave response is an echo to the query, that is the slave sends back to the master the address and the new value of the variable. FUNZIONE 07: READ EXCEPTION STATUS Tale funzione permette di leggere lo stato in cui si trova il commutatore di linea. FUNCTION 07: READ EXCEPTION STATUS This function allows to read the status of the automatic transfer switch. Richiesta Master: Indirizzo slave Funzione 07h 47h B2h Master query: Slave address 07h 47h B2h La tabella seguente riporta il significato del byte inviato dall RGAM4x come risposta: BIT SIGNIFICATO 0 Modo operativo OFF / Reset 1 Modo operativo MAN 2 Modo operativo AUT 3 Modo operativo TEST 4 In Errore 5 (non usato) 6 (non usato) 7 Allarme globale attivato The following table gives the meaning of the status byte sent by the RGAM4x as answer: BIT MEANING 0 Operative mode OFF / Reset 1 Operative mode MAN 2 Operative mode AUT 3 Operative mode TEST 4 Error on 5 (not used) 6 (not used) 7 Global alarm on FUNZIONE 17: REPORT SLAVE ID Questa funzione permette di identificare il tipo di centralina. FUNZIONE 17: REPORT SLAVE ID This function allows to identify the controller type. Richiesta Master. Indirizzo slave Master query. Slave address Funzione 11h 11h C6h C6h 7Ch 7Ch Doc. AHIT303B0206.doc Date: 15/09/2008 P. 5 / 20

Risposta Slave: Indirizzo slave Funzione Contatore bytes Dato 1 (Tipo centralina) Dato 2 (Revisione software) Dato 3 (Revisione hardware) Dato 4 (Revisione parametri) 11h 04 h 9Ah 04h 01h 86h 59h 98h = RGAM40, 99h = RGAM41, 9Ah = RGAM42 ERRORI Nel caso lo slave riceva un messaggio errato, segnala la condizione al master rispondendo con un messaggio composto dalla funzione richiesta in OR con 80 Hex, seguita da un codice di errore. Nella seguente tabella vengono riportati i codici di errore inviati dallo slave al master TABELLA 1: CODICI ERRORE COD ERRORE 01 Funzione non valida 02 Indirizzo registro illegale 03 Valore del parametro fuori range 04 Impossibile effettuare operazione 06 Slave occupato, funzione momentaneamente non disponibile Slave response: Slave address 11h Byte count 04 h Data 01 Device type 9Ah Data 02 (Sw revision) 04h Data 03 (Hardware revision) Data 04 (Parameter revision) 01h 86h 59h 98h = RGAM40, 99h = RGAM41, 9Ah =RGAM42 ERRORS In case the slave receives an incorrect message, it answers with a massage composed by the queried function ORed with 80 Hex, followed by an error code byte. In the following table are reported the error codes sent by the slave to the master: TABLE 1: ERROR CODES CODE ERROR 01 Invalid function 02 Invalid address 03 Parameter out of range 04 execution impossible 06 Slave busy, function momentarily not available FUNZIONE 16: PRESET MULTIPLE REGISTER Questa funzione permette di modificare più parametri consecutivamente o parametri composti da più di 2 byte. L indirizzo ed il range valido per i vari parametri possono essere trovati nella Tabella 3. FUNZIONE 16: PRESET MULTIPLE REGISTER This function allows to modify multiple parameters with a single message, or to preset a value longer than one register. The address and the valid range for each parameter are stated in Table 3. Richiesta Master: Indirizzo slave Funzione MSB Indirizzo registro LSB Indirizzo registro MSB Numero registri LSB Numero registri MSB Dato LSB Dato MSB Dato LSB Dato 10h 20h 01h 02h 01h F4h 06h 83h 55h 3Ah Master message: Slave address MSB register address LSB register address MSB register number LSB register number MSB data LSB data MSB data LSB data 10h 20h 01h 02h 01h F4h 06h 83h 55h 3Ah Risposta Slave: Indirizzo slave Funzione MSB Indirizzo registro LSB Indirizzo registro MSB Numero byte LSB Numero byte 10h 20h 01h 04h 9Bh 53h Slave response: Slave address MSB register address LSB register address MSB byte number LSB byte number 10h 20h 01h 04h 9Bh 53h Doc. AHIT303B0206.doc Date: 15/09/2008 P. 6 / 20

PROTOCOLLO MODBUS ASCII Il protocollo Modbus ASCII viene utilizzato normalmente nelle applicazioni che richiedono di comunicare via modem. Le funzioni e gli indirizzi disponibili sono gli stessi della versione RTU, ma i caratteri trasmessi sono in ASCII e la terminazione del messaggio non e effettuata a tempo ma con dei caratteri di ritorno a capo. Se si seleziona il parametro P10.03 e/o P10.07 come protocollo Modbus ASCII, la struttura del messaggio di comunicazione sulla relativa porta di comunicazione è così costituita: MODBUS ASCII PROTOCOL The Modbus ASCII protocol is normally used in application that require to communicate through a couple of modems. The functions and addresses available are the same as for the RTU version, but the transmitted characters are in ASCII and the message end is delimited by Carriage return/ Line Feed instead of a transmission pause. If one selects the parameter P10.03 and/or P10.07 as Modbus ASCII protocol, the communication message on the correspondent communication port has the following structure: : Indirizzo 2 chars Funzione 2 chars Dati (N chars) LRC 2 chars CR LF : Address (2 chars) (2 chars) Dates (N chars) LRC (2 chars) CR LF Il campo Indirizzo contiene l indirizzo dello strumento slave cui il messaggio viene inviato. Il campo Funzione contiene il codice della funzione che deve essere eseguita dallo slave. Il campo Dati contiene i dati inviati allo slave o quelli inviati dallo slave come risposta ad una domanda. La massima lunghezza consentita e di 60 registri consecutivi. Il campo LRC consente sia al master che allo slave di verificare se ci sono errori di trasmissione. Questo consente, in caso di disturbo sulla linea di trasmissione, di ignorare il messaggio inviato per evitare problemi sia dal lato master che slave. Il messaggio termina sempre con i caratteri di controllo CRLF (0D 0A). Esempio: Per esempio, se si vuole leggere dall RGAM4x con indirizzo 8 il valore della tensione L2-N di rete che si trova alla locazione 04 (04 Hex), il messaggio da spedire è il seguente: : 08 04 00 03 00 02 EF CRLF Dove: : = ASCII 3Ah = Delimitatore inizio messaggio 08 = indirizzo slave. 04 = funzione di lettura locazione. 00 03 = indirizzo della locazione diminuito di un unità, contenente il valore di tensione L2 rete 00 02 = numero di registri da leggere a partire dall indirizzo 04. EF = checksum LRC. CRLF = ASCII 0Dh 0Ah = delimitatore fine messaggio The Address field holds the serial address of the slave destination device. The field holds the code of the function that must be executed by the slave. The Data field contains data sent to the slave or data received from the slave in response to a query. The maximum allowable length is of 60 consecutive registers. The LRC field allows the master and slave devices to check the message integrity. If a message has been corrupted by electrical noise or interference, the LRC field allows the devices to recognize the error and thereby ignore the message. The message terminates always with CRLF control character (0D 0A). Example: For instance, to read the value of the mains L2-N voltage, which resides at location 04 (04 Hex) from the slave with serial address 08, the message to send is the following: : 08 04 00 03 00 02 EF CRLF Whereas: : = ASCII 3Ah message start delimiter 08 = slave address 04 = Modbus function Read input register 00 03 = Address of the required register (L2 mains voltage) decreased by one 00 02 = Number of registers to be read beginning from address 04 EF = LRC Checksum CRLF = ASCII 0Dh 0Ah = Message end delimiter La risposta dell RGAM4x è la seguente: : 08 04 04 00 00 01 A0 4F CR LF The RGAM4x answer is the following: : 08 04 04 00 00 01 A0 4F CR LF Dove: : = ASCII 3Ah = Delimitatore inizio messaggio 08 = indirizzo dell RGAM4x (Slave 08). 04 = funzione richiesta dal Master. 04 = numero di byte inviati dallo slave. 00 00 01 A0 = valore esadecimale della tensione L2 rete = 416 V. 4F = checksum LRC. CRLF = ASCII 0Dh 0Ah = delimitatore fine messaggio Whereas: : = ASCII 3Ah message start delimiter 08 = Multimeter address (Slave 08) 04 = requested by the master 04 = Number of bytes sent by the multimeter 00 00 01 A0 = Hex value of the L2-N mains voltage (416 V) 4F = LRC checksum CRLF = ASCII 0Dh 0Ah = Message end delimiter Doc. AHIT303B0206.doc Date: 15/09/2008 P. 7 / 20

no CRC xor BYTE = CRC n = 0 CRC right shift carry over CRC xor POLY = CRC no Hex FFFF = CRC n = n + 1 n > 7 next BYTE end message End yes yes Algoritmo di calcolo del CRC CRC calculation algorithm CALCOLO DEL CRC (CHECKSUM per RTU) Esempio di calcolo: Frame = 0207h Inizializzazione CRC 1111 1111 1111 1111 Carica primo byte 0000 0010 Esegue xor con il primo 1111 1111 1111 1101 Byte della frame Esegue primo shift a dx 0111 1111 1111 1110 1 Carry=1,carica polinomio 1010 0000 0000 0001 Esegue xor con il 1101 1111 1111 1111 polinomio Esegue secondo shift dx 0110 1111 1111 1111 1 Carry=1,carica polinomio 1010 0000 0000 0001 Esegue xor con il 1100 1111 1111 1110 polinomio Esegue terzo shift 0110 0111 1111 1111 0 Esegue quarto shift 0011 0011 1111 1111 1 Carry=1, carica polinomio 1010 0000 0000 0001 Esegue xor con il 1001 0011 1111 1110 Polinomio Eseque quinto shift dx 0100 1001 1111 1111 0 Eseque sesto shift dx 0010 0100 1111 1111 1 Carry=1, carica polinomio 1010 0000 0000 0001 Esegue xor con polinomio 1000 0100 1111 1110 Esegue settimo shift dx 0100 0010 0111 1111 0 Esegue ottavo shift dx 0010 0001 0011 1111 1 Carry=1, carica polinomio 1010 0000 0000 0001 Carica secondo byte 0000 0111 della frame Esegue xor con il 1000 0001 0011 1001 Secondo byte della frame Esegue primo shift dx 0100 0000 1001 1100 1 Carry=1, carica polinomio 1010 0000 0000 0001 Esegue xor con il 1110 0000 1001 1101 polinomio Esegue secondo shift dx 0111 0000 0100 1110 1 Carry=1, carica polinomio 1010 0000 0000 0001 Esegue xor con il 1101 0000 0100 1111 polinomio Esegue terzo shift dx 0110 1000 0010 0111 1 Carry=1, carica polinomio 1010 0000 0000 0001 Esegue xor con il 1100 1000 0010 0110 polinomio Esegue quarto shift dx 0110 0100 0001 0011 0 Esegue quinto shift dx 0010 0100 0000 1001 1 Carry=1, carica polinomio 1010 0000 0000 0001 Esegue xor con il 1001 0010 0000 1000 polinomio Esegue sesto shift dx 0100 1001 0000 0100 0 Esegue settimo shift dx 0010 0100 1000 0010 0 Esegue ottavo shift dx 0001 0010 0100 0001 0 Risultato CRC 0001 0010 0100 0001 12h 41h Nota: Il byte 41h viene spedito per primo (anche se e il LSB), poi viene trasmesso 12h. CRC CALCULATION (CHECKSUM for RTU) Example of CRC calculation: Frame = 0207h CRC initialization 1111 1111 1111 1111 Load the first byte 0000 0010 Execute xor with the first 1111 1111 1111 1101 Byte of the frame Execute 1st right shift 0111 1111 1111 1110 1 Carry=1,load polynomial 1010 0000 0000 0001 Execute xor with the 1101 1111 1111 1111 polynomial Execute 2 nd right shift 0110 1111 1111 1111 1 Carry=1,load polynomial 1010 0000 0000 0001 Execute xor with the 1100 1111 1111 1110 polynomial Execute 3 rd right shift 0110 0111 1111 1111 0 Execute 4 th right shift 0011 0011 1111 1111 1 Carry=1,load polynomial 1010 0000 0000 0001 Execute xor with the 1001 0011 1111 1110 polynomial Execute 5 th right shift 0100 1001 1111 1111 0 Execute 6 th right shift 0010 0100 1111 1111 1 Carry=1,load polynomial 1010 0000 0000 0001 Execute xor with the 1000 0100 1111 1110 polynomial Execute 7 th right shift 0100 0010 0111 1111 0 Execute 8 th right shift 0010 0001 0011 1111 1 Carry=1,load polynomial 1010 0000 0000 0001 Load the second byte 0000 0111 of the frame Execute xor with the 1000 0001 0011 1001 Second byte of the frame Execute 1st right shift 0100 0000 1001 1100 1 Carry=1,load polynomial 1010 0000 0000 0001 Execute xor with the 1110 0000 1001 1101 polynomial Execute 2 nd right shift 0111 0000 0100 1110 1 Carry=1,load polynomial 1010 0000 0000 0001 Execute xor with the 1101 0000 0100 1111 polynomial Execute 3 rd right shift 0110 1000 0010 0111 1 Carry=1,load polynomial 1010 0000 0000 0001 Execute xor with the 1100 1000 0010 0110 polynomial Execute 4 th right shift 0110 0100 0001 0011 0 Execute 5 th right shift 0010 0100 0000 1001 1 Carry=1,load polynomial 1010 0000 0000 0001 Execute xor with the 1001 0010 0000 1000 polynomial Execute 6 th right shift 0100 1001 0000 0100 0 Execute 7 th right shift 0010 0100 1000 0010 0 Execute 8 th right shift 0001 0010 0100 0001 0 CRC Result 0001 0010 0100 0001 12h 41h Note: The byte 41h is sent first(even if it is the LSB), then12h is sent. CALCOLO LRC (CHECKSUM per ASCII) Esempio di calcolo: Indirizzo 01 00000010 Funzione 04 00000100 Start address hi. 00 00000000 Start address lo. 00 00000000 Numero registri 08 00001000 Somma 00001100 Complemento a 1 11110011 + 1 00000001 Complemento a 2 11110100 LRC CALCULATION (CHECKSUM for ASCII) Example of LRC calculation: Address 01 00000010 04 00000100 Start address hi. 00 00000000 Start address lo. 00 00000000 Number of registers 08 00001000 Sum 00001100 1. complement 11110011 + 1 00000001 2. complement 11110100 Risultato LRC F4 LRC result F4 Doc. AHIT303B0206.doc Date: 15/09/2008 P. 8 / 20

TABELLA 2: TABLE 2: MISURE FORNITE DAL PROTOCOLLO DI COMUNICAZIONE MEASURES SUPPLIED BY SERIAL COMMUNICATION PROTOCOL (Utilizzabili con funzioni 03 e 04) (To be used with functions 03 and 04) INDIRIZZO WORDS MISURA MEASURE UNITA O UNIT From SW Rev. 02h 2 Tensione Rete L1-N Voltage of Mains L1-N V Unsigned long 00 04h 2 Tensione Rete L2-N Voltage of Mains L2-N V Unsigned long 00 06h 2 Tensione Rete L3-N Voltage of Mains L3-N V Unsigned long 00 2 Tensione Rete L1-L2 Voltage of Mains L1-L2 V Unsigned long 00 0Ah 2 Tensione Rete L2-L3 Voltage of Mains L2-L3 V Unsigned long 00 0Ch 2 Tensione Rete L3-L1 Voltage of Mains L3-L1 V Unsigned long 00 0Eh 2 Tensione Gen L1-N Voltage of Gen L1-N V Unsigned long 00 10h 2 Tensione Gen L2-N Voltage of Gen L2-N V Unsigned long 00 12h 2 Tensione Gen L3-N Voltage of Gen L3-N V Unsigned long 00 14h 2 Tensione Gen L1-L2 Voltage of Gen L1-L2 V Unsigned long 00 16h 2 Tensione Gen L2-L3 Voltage of Gen L2-L3 V Unsigned long 00 18h 2 Tensione Gen L3-L1 Voltage of Gen L3-L1 V Unsigned long 00 1Ah 2 Corrente L1 L1 Current A / 10 Unsigned long 00 1Ch 2 Corrente L2 L2 Current A / 10 Unsigned long 00 1Eh 2 Corrente L3 L3 Current A / 10 Unsigned long 00 20h 2 Tensione batteria Battery voltage VDC / 10 Unsigned long 00 22h 2 Tensione ingresso D+ D+ input voltage VDC / 10 Unsigned long 00 24h 2 Tensione ingresso AC AC input voltage V / 10 Unsigned long 00 26h 2 Frequenza Rete Frequency of Mains Hz/10 Unsigned long 00 28h 2 Frequenza Gen Frequency of Gen Hz/10 Unsigned long 00 2Ah 2 Frequenza ingresso W W input frequency Hz/10 Unsigned long 00 2Ch 2 Ore di lavoro motore Engine running hours h Unsigned long 03 2Eh 2 Tempo lavoro motore Engine running time s Unsigned long 03 30h 2 Tempo di noleggio Rent time min Unsigned long 03 32h 2 Ore manutenzione Maintenance time h Unsigned long 03 34h 2 Bit di stato Status bits (bits) Unsigned long 03 36h 2 Temperatura motore Engine temperature C - F Unsigned long 03 38h 2 Pressione olio Oil pressure Bar/10 - psi Unsigned long 03 3Ah 2 Livello carburante Fuel level % Unsigned long 03 3Ch 2 Contatore tentativi di avviamento (totale) Engine starting attempts counter (total) nr Unsigned long 03 3Eh 2 Contatore tentativi di avviamento (ok) Engine starting attempts counter (ok) nr Unsigned long 03 40h 2 Bit di errore 0..31 Error bits 0..31 bits Unsigned long 00 42h 2 Bit di errore 32..63 Error bits 32..63 bits Unsigned long 00 44h 2 Giri motore Engine RPM RPM Unsigned long 03 46h 2 Potenza attiva L1 rete Mains active power L1 Kw / 10 Unsigned long 03 48h 2 Potenza attiva L2 rete Mains active power L2 Kw / 10 Unsigned long 03 4Ah 2 Potenza attiva L3 rete Mains active power L3 Kw / 10 Unsigned long 03 4Ch 2 Potenza attiva L1 generatore Generator active power L1 Kw / 10 Unsigned long 03 4Eh 2 Potenza attiva L2 generatore Generator active power L2 Kw / 10 Unsigned long 03 50h 2 Potenza attiva L3 generatore Generator active power L3 Kw / 10 Unsigned long 03 52h 2 Potenza attiva totale rete Mains total active power Kw / 10 Unsigned long 03 54h 2 Potenza attiva totale generatore Generator total active power generator Kw / 10 Unsigned long 03 56h 2 Potenza reattiva L1 rete Mains reactive power L1 Kvar / 10 Unsigned long 03 58h 2 Potenza reattiva L2 rete Mains reactive power L2 Kvar / 10 Unsigned long 03 5Ah 2 Potenza reattiva L3 rete Mains reactive power L3 Kvar / 10 Unsigned long 03 5Ch 2 Potenza reattiva L1 generatore Generator reactive power L1 generator Kvar / 10 Unsigned long 03 5Eh 2 Potenza reattiva L2 generatore Generator reactive power L2 generator Kvar / 10 Unsigned long 03 60h 2 Potenza reattiva L3 generatore Generator reactive power L3 generator Kvar / 10 Unsigned long 03 62h 2 Potenza reattiva totale rete Mains total reactive power Kvar / 10 Unsigned long 03 64h 2 Potenza reattiva totale generatore Generator total reactive power Kvar / 10 Unsigned long 03 Doc. AHIT303B0206.doc Date: 15/09/2008 P. 9 / 20

TABELLA 2: TABLE 2: INDIRIZZO WORDS MISURA MEASURE UNITA UNIT O From SW Rev. 66h 2 Potenza apparente L1 rete Mains apparent power L1 Kvar / 10 Unsigned long 03 68h 2 Potenza apparente L2 rete Mains apparent power L2 Kvar / 10 Unsigned long 03 6Ah 2 Potenza apparente L3 rete Mains apparent power L3 Kvar / 10 Unsigned long 03 6Ch 2 Potenza apparente L1 generatore Generator apparent power L1 Kvar / 10 Unsigned long 03 6Eh 2 Potenza apparente L2 generatore Generator apparent power L2 Kvar / 10 Unsigned long 03 70h 2 Potenza apparente L3 generatore Generator apparent power L3 Kvar / 10 Unsigned long 03 72h 2 Potenza apparente totale rete Mains total apparent power Kvar / 10 Unsigned long 03 74h 2 Potenza apparente totale generatore Generator total apparent power Kvar / 10 Unsigned long 03 76h 2 PF L1 rete Mains PF L1 Unsigned long 03 78h 2 PF L2 rete Mains PF L2 Unsigned long 03 7Ah 2 PF L3 rete Mains PF L3 Unsigned long 03 7Ch 2 PF L1 generatore Generator PF L1 Unsigned long 03 7Eh 2 PF L2 generatore Generator PF L2 Unsigned long 03 80h 2 PF L3 generatore Generator PF L3 Unsigned long 03 82h 2 PF totale rete Mains total PF Unsigned long 03 84h 2 PF totale generatore Generator total PF Unsigned long 03 86h 2 Energia attiva totale rete Total mains active energy Kwh / 10 Unsigned long 03 88h 2 Energia attiva totale generatore Total generator active energy Kwh / 10 Unsigned long 03 8Ah 2 Energia reattiva totale rete Total mains reactive energy Kvarh / 10 Unsigned long 03 8Ch 2 Energia reattiva totale generatore Total generator reactive energy Kvarh / 10 Unsigned long 03 Leggendo le word agli indirizzi 40h e 42 vengono restituiti 64 bit con significato come da tabella: Reading the words starting at address 40h and 42h will return 64 bits with the following meaning: Word Bit Codice Allarme Alarm code 40h 0 A01 40h 1 A02 40h 2 A03 40h 30 A31 40h 31 A32 42h 0 A33 42h 1 A34 42h 16 A49 42h 17 A50 42h 18 UA1 42h 19 UA2 42h 20 UA3 42h 21 UA4 Leggendo la word agli indirizzi 34 vengono restituiti 32 bit con significato come da tabella: Reading the word at address 34h will return 32 bits with the following meaning: Word Bit Significato Meaning 34h 0 Modo RESET RESET mode 1 Modo MAN MAN mode 2 Modo AUT AUT mode 3 Modo TEST TEST mode 4 V Rete OK Mains V OK 5 V Gen OK Gen V OK 6 Motore avviato Engine running 7 Contatt. Rete Mains contactor 8 Contatt. Gen Gen contactor 9 Allarme Alarm 10 All. Globale 1 Glb alarm 1 11 All. Globale 2 Glb alarm 2 12 All. Globale 3 Glb alarm 3 Doc. AHIT303B0206.doc Date: 15/09/2008 P. 10 / 20

TABELLA 3: TABLE 3: BIT DI STATO STATUS BITS (Utilizzabili con funzioni 03 e 04) (To be used with functions 03 and 04) INDIRIZZO WORDS FUNZIONE FUNCTION O 2071h 1 Stato ingressi digitali (per pin) Digital inputs status (by pin) 2072h 1 Stato uscite digitali (per pin) Digital outputs status (by pin) Leggendo le word all indirizzo 2071h vengono restituiti 16 bit con significato come da tabella: Following table shows meaning of bits of the word at address 2071h Bit Ingresso Input 0 Ingresso morsetto 6.1 Input terminal 6.1 status 1 Ingresso morsetto 6.2 Input terminal 6.2 status 2 Ingresso morsetto 6.3 Input terminal 6.3 status 3 Ingresso morsetto 6.4 Input terminal 6.4 status 4 Ingresso morsetto 6.5 Input terminal 6.5 status 5 Ingresso morsetto 6.6 Input terminal 6.6 status 6 Ingresso morsetto 6.7 Input terminal 6.7 status 7 Ingresso morsetto 6.8 Input terminal 6.8 status 8 15 Non usati Not used Leggendo le word all indirizzo 2072h vengono restituiti 16 bit con significato come da tabella: Following table shows meaning of bits of the word at address 2072h Bit Uscita Output 0 Stato uscita morsetto 1.1-1.2-1.3 Output terminal 1.1-1.2-1.3 status 1 Stato uscita morsetto 1.4-1.5 Output terminal 1.4-1.5 status 2 Stato uscita morsetto 2.1-2.2-2.3 Output terminal 2.1-2.2-2.3 status 3 Stato uscita morsetto 3.1 Output terminal 3.1 status 4 Stato uscita morsetto 3.2 Output terminal 3.2 status 5 Stato uscita morsetto 3.3 Output terminal 3.3 status 6 Stato uscita morsetto 3.4 Output terminal 3.4 status 7 15 Non usati Not used Doc. AHIT303B0206.doc Date: 15/09/2008 P. 11 / 20

TABELLA 4: TABLE 4: COMANDI COMMANDS (Utilizzabili con funzione 06) (To be used with function 06) INDIRIZZO WORDS FUNZIONE FUNCTION O 2F 1 Cambio modalita operativa Operative mode change 2F01h 1 Reset apparecchio (warm boot) Device reset (warm boot) 2F02h 1 Ripristino a default di tutti param. di setup Setup parameters back to factory default 2F03h 1 Salvataggio parametri in memoria EEPROM Save parameters in EEPROM 2F04h 1 Esecuzione comando menu comandi Command menu execution 2F06h 1 Reset memoria eventi Event log reset 2F07h 1 Salvataggio impostazioni orologio datario Save Real time clock setting 2F 1 Blocco tastiera ON/OFF Keyboard lock ON/OFF 2F0Dh 1 Simulazione pressione tasti pannello frontale Front panel keystroke simulation La seguente tabella indica i valori da scrivere all indirizzo 2F per ottenere le corrispondenti funzioni. The following table shows the values to be written to address 2F to achieve the correspondent functions. Valore Funzione Value 0 Passaggio a modalità OFF Switch to OFF mode 1 Passaggio a modalità MAN Switch to MAN mode 2 Passaggio a modalità AUT Switch to AUT mode 3 Passaggio a modalità TEST Switch to TEST mode Scrivendo il valore 01 all indirizzo indicato viene eseguita la corrispondente funzione. Writing value 01 to the indicated address, the correspondent function will be executed. Scrivendo il valore AAh all indirizzo indicato viene eseguita la corrispondente funzione. Writing value AAh to the indicated address, the correspondent function will be executed. Scrivendo un valore da 1 a 10 all indirizzo indicato viene eseguito il corrispondente comando. Writing valuebetween\1 and 10 to the indicated address, the correspondent command will be executed. Valore Comando Descrizione Descriprion 01 C01 Reset contatore energia rete Mains energy meter reset 02 C02 Reset contatore energia generatore Gen energy meter reset 03 C03 Reset intervallo manutenzione Maintenance interval reset 04 C04 Reset contaore motore Engine hour meter reset 05 C05 Reset contatore avviamenti Starting count reset 06 C06 Reset ore di noleggio Rent hours reset 07 C07 Reset lista eventi Event log reset 08 C08 Ripristino parametri a default Parameters to default 09 C09 Salva parametri nella memoria backup Save parameters in backup memory 10 C10 Ricarica parametri dalla memoria backup Reload parameters from backup memory La seguente tabella indica i valori da scrivere all indirizzo 2F08 per ottenere le corrispondenti funzioni. The following table shows the values to be written to address 2F to achieve the correspondent functions. Valore Funzione Value 0 Sblocco tastiera Keyboard unlock 1 Blocco tastiera Keyboard lock La seguente tabella indica le posizioni dei bit del valore da scrivere all indirizzo 2F0D per ottenere le corrispondenti funzioni. The following table shows the bit positions of the value to be written to address 2F0Dh to achieve the correspondent functions. Bit Simulazione pressione tasto Keystroke simulation 0 Modalità OFF OFF mode 1 Modalità MAN MAN mode 2 Modalità AUT AUT mode 3 Modalità TEST TEST mode 4 (non usato) (not used) 5 (non usato) (not used) 6 START START 7 STOP STOP 8 (non usato) (not used) 9 MAINS MAINS 10 GEN GEN 11..16 (non usato) (not used) Doc. AHIT303B0206.doc Date: 15/09/2008 P. 12 / 20

IMPOSTAZIONE PARAMETRI Tramite il protocollo Modbus e possibile accedere ai parametri dei menu. Nelle seguenti tabelle e riportato il range di impostazione in formato numerico. Per interpretare correttamente la corrispondenza fra valore numerico e funzione selezionata e/o unita di misura, fare riferimento al manuale operativo dell RGAM4x. Per rendere effettivo un cambiamento nel menu di setup e necessario memorizzare i valori in EEPROM, utilizzando l apposito comando descritto nella tabella 3. PARAMETER SETTING Using the Modbus protocol it is possible to access the menu parameters. In the following tables it is reported the numerical range for each parameter. To correctly understand the correspondence between the numeric value and the selected function and/or the unit of measure, please see the RGAM4x operating manual. To make effective the changes made to setup parameters it is necessary to store the values in EEPROM, using the dedicated command described in table 3. TABELLA 5: TABLE 5: PARAMETRI SETUP SETUP PARAMETERS (Utilizzabili con funzioni 04 e 06) (To be used with functions 04 and 06) INDIRIZZO WORDS PARAMETRO PARAMETER RANGE O 30 1 P0101 Lingua P0101 Language 0..4 3001h 1 P0102 Impostazione orologio all alimentazione P0102 Clock set at power-on 0..1 3002h 1 P0103 Ritorno pagina principale (s) P0103 Default page return (s) 0-999 3003h 1 P0104 Contrasto display (%) P0104 Display contrast (%) 1-100 3004h 1 P0105 Retroilluminazione dispaly (%) P0105 Display backlight (%) 20-100 3005h 1 P0106 Retroilluminazione off P0106 Backlight off 0-900 31 1 P0201 Rapporto TA P0201 CT ratio 10..20000 3101h 1 P0202 Rapporto TV P0202 VT ratio 10..600 3102h 1 P0203 Collegamento P0203 Wiring configuration 0..3 3103h 1 P0204 Controllo tensione P0204 Voltage control 0..2 3104h 1 P0205 Tensione nominale (V) P0205 Rated voltage (V) 100..6000 3105h 1 P0206 Frequenza (Hz) P0206 Frequency (Hz) 0..2 3106h 1 P0207 Rapporto RPM/ W o Pick-up P0207 RPM/ W or pick-up ratio 1..50000 3107h 1 P0208 Modo ingresso 5.3 P0208 Input 5.3 mode 0..3 31 1 P0209 Giri nominale Motore (RPM) P0209 Rated engine speed (RPM) 750..5000 3109h 1 P0210 Scelta unità di misura P0210 Unit of measure 0..15 310Ah 1 P0211 Capacità serbatoio (l/gal) P0211 tank capacity (l/gal) 0..30000 310Bh 1 P0212 Interbloccco rete/generatore (s) P0212 Mains/Gen interlook (s) 0..600 310Ch 1 P0213 Ritardo allarme feedback contattori (s) P0213 Mains/Gen feedback delay (s) 1..60 310Dh 1 P0214 Modo OFF/RESET all alimentazione P0214 OFF/RESET mode at power-up 0..1 310Eh 1 P0215 Tempo suono sirena (s) P0215 Siren time (s) 0..601 310Fh 1 P0216 Sirena prima dell avviamento (s) P0216 Siren before start (s) 0..60 3110h 1 P0217 Sirena con PC in linea (s) P0217 PC on line siren (s) 0..60 3111h 1 P0218 Controllo sequenza fasi P0218 Phase sequence control 0..2 (continua) (Continues) La associazione fra il valore numerico e la funzione eseguita va effettuata in modo sequenziale considerando le funzioni elencate sul manuale operativo. La prima funzione si ha con il valore 0, mentre l ultima si ottiene con il massimo valore consentito dal range. The association between the numerical value and the function has to be done in a sequential way, considering the function listed on the operative manual. The first function is obtained by setting 0, while the last function by setting the maximum value allowed by the range. Per impostare ad OFF, programmare il minimo valore consentito dal range. To select OFF, set the minimum numerical value allowed by range. Per impostare ad OFF, programmare il massimo valore consentito dal range. To select OFF, set the maximum numerical value allowed by range. La associazione fra il valore numerico e la funzione eseguita va effettuata in modo sequenziale considerando le funzioni elencate sul manuale operativo. La prima funzione si ha con il massimo valore consentito dal range, mentre l ultima si ottiene con il valore 0. The association between the numerical value and the function has to be done in a sequential way, considering the function listed on the operative manual. The first function is obtained by setting the maximum value allowed by the range, while the last function by setting value 0. Doc. AHIT303B0206.doc Date: 15/09/2008 P. 13 / 20

TABELLA 5: TABLE 5: INDIRIZZO WORDS PARAMETRO PARAMETER RANGE O 32 1 P0301 Tensione batteria (V) P0301 Battery voltage (V) 0..1 3201h 1 P0302 Limite tensione MAX (%) P0302 MAX voltage limit (%) 110..140 3202h 1 P0303 Limite tensione MIN (%) P0303 MIN voltage limit (%) 60..130 3203h 1 P0304 Ritardo tensione MIN/MAX (s) P0304 MIN/MAX voltage delay (s) 0..120 33 1 P0401 Tensione alternatore C.B. motore avviato (V) P0401 Battery charger alternator engine on (V) 29..300 3301h 1 P0402 Tensione generatore motore avviato (%) P0402 Generator voltage engine on (%) 9..100 3302h 1 P0403 Frequenza generatore motore avviato (%) P0403 Generator frequency engine on (%) 9..100 3303h 1 P0404 Segnale W motore avviato (% RPM) P0404 W signal engine on (% RPM) 9..100 3304h 1 P0405 Preriscaldo candelette (s) P0405 Glow-plugs preheating (s) 0..600 3305h 1 P0406 Numero tentativi avviamento P0406 Number of starting attempts 1..30 3306h 1 P0407 Durata tentativo avviamento (s) P0407 Starting attempt time (s) 1..60 3307h 1 P0408 Pausa tentativi avviamento (s) P0408 Pause between start attempts (s) 1..60 33 1 P0409 Pausa avviamento interr. e successivo (s) P0409 Aborted & subsequent starting time (s) 0..60 3309h 1 P0410 Tempo di decelerazione (s) P0410 Deceleration run time (s) 0..600 330Ah 1 P0411 Tempo di raffreddamento (s) P0411 Cooling time (s) 1..3600 330Bh 1 P0412 Tempo magnete di arresto (s) P0412 Stop magnet time (s) 0..60 330Ch 1 P0413 Ritardo valvola gas (s) P0413 Gas valve delay (s) 0..60 330Dh 1 P0414 Tempo cicchetto (s) P0414 Priming time (s) 0..60 330Eh 1 P0415 Tempo valvola aria (s) P0415 Choke valve time (s) 0..60 330Fh 1 P0416 Limite stacco aria (%) P0416 Choke OFF limit (%) 1..100 3310h 1 P0417 Nr. Tentativi avviamento con aria (choke) P0417 Number of starting attempts with choke 1..10 3311h 1 P0418 Modo tentativi aria P0418 Choke mode 0..1 3312h 1 P0419 Modo avviamento aria compressa P0419 Compressed air starting mode 0..2 3313h 1 P0420 Modo elettrovalvola carburante P0420 Fuel valve mode 0..1 3314h 1 P0421 Modo funzionamento candelette P0421 Glow plugs mode 0..2 3315h 1 P0422 Modo funzionamento magnete di arresto P0422 Stop magnet mode 0..2 3316h 1 P0423 Tempo valvola preriscaldo (s) P0423 Preheat valve time (s) 0..900 3317h 1 P0424 Temperatura preriscaldo ( C/ F) P0424 Preheat temperature ( C/ F) 19..285 34 1 P0501 Scelta sensore pressione P0501 Pressure sensor selection 0..3 3401h 1 P0502 Scelta sensore temperatura P0502 Temperature sensor selection 0..3 3402h 1 P0503 Scelta sensore carburante P0503 Fuel sensor selection 0..3 3403h 1 P0504 Preallarme pressione MIN (bar/psi) P0504 MIN pressure warning (bar/psi) 1..1800 3404h 1 P0505 Limite pressione MIN (bar/psi) P0505 MIN pressure limit (bar/psi) 1..1800 3405h 1 P0506 Preallarme temperatura MAX ( C/ F) P0506 MAX temperature warning ( C/ F) 40..285 3406h 1 P0507 Limite temperatura MAX ( C/ F) P0507 MAX temperature limit ( C/ F) 40..285 3407h 1 P0508 Limite temperatura MIN ( C/ F) P0508 MIN temperature limit ( C/ F) 19..285 34 1 P0509 Temperatura fine decelerazione ( C/ F) P0509 Deceleration end temperature ( C/ F) 19..285 3409h 1 P0510 Ritardo guasto sensore temperatura (min) P0510 Temperature sense fault delay (min) 0..60 340Ah 1 P0511 Preallarme carburante MIN (%) P0511 MIN fuel warning (%) 0..100 340Bh 1 P0512 Livello carburante MIN (%) P0512 MIN fuel limit (%) 0..100 340Ch 1 P0513 Livello start pompa carburante (%) P0513 Fuel pump start limit (%) 0..100 340Dh 1 P0514 Livello stop pompa carburante (%) P0514 Fuel pump stop limit (%) 0..100 340Eh 1 P0515 Inibizione allarmi all avviamento(sec) P0515 Alarms inhibition at starting (sec) 1..120 340Fh 1 P0516 Inibizione allarme frequenza all avviamento(s) P0516 Frequency alarm inhibition at starting(s) 0..300 3410h 1 P0517 Limite velocità W / pick-up MAX (%) P0517 MAX W / pick-up speed limit (%) 100..120 3411h 1 P0518 Ritardo velocità W / pick-up MAX (s) P0518 MAX W / pick-up speed delay (s) 5..600 3412h 1 P0519 Limite velocità W / pick-up MIN (%) P0519 MIN W / pick-up speed limit (%) 80..100 3413h 1 P0520 Ritardo velocità W / pick-up MIN (s) P0520 MIN W / pick-up speed delay (s) 0..600 (continua) (Continues) La associazione fra il valore numerico e la funzione eseguita va effettuata in modo sequenziale considerando le funzioni elencate sul manuale operativo. La prima funzione si ha con il valore 0, mentre l ultima si ottiene con il massimo valore consentito dal range. The association between the numerical value and the function has to be done in a sequential way, considering the function listed on the operative manual. The first function is obtained by setting 0, while the last function by setting the maximum value allowed by the range. Per impostare ad OFF, programmare il minimo valore consentito dal range. To select OFF, set the minimum numerical value allowed by range. Per impostare ad OFF, programmare il massimo valore consentito dal range. To select OFF, set the maximum numerical value allowed by range. Doc. AHIT303B0206.doc Date: 15/09/2008 P. 14 / 20

TABELLA 5: TABLE 5: INDIRIZZO WORDS PARAMETRO PARAMETER RANGE O 35 1 P0601 Limite tensione MIN (%) P0601 MIN voltage limit (%) 70..100 3501h 1 P0602 Ritardo tensione MIN (s) P0602 MIN voltage delay (s) 0..600 3502h 1 P0603 Limite tensione MAX (%) P0603 MAX voltage limit (%) 100..131 3503h 1 P0604 Ritardo tensione MAX (s) P0604 MAX voltage delay (s) 0..600 3504h 1 P0605 Ritardo rientro rete nei limiti (s) P0605 MAINS into limits delay (s) 1..9999 3505h 1 P0606 Isteresi limiti MIN/MAX(%) P0606 MIN/MAX voltage hysteresys (%) 0..50 3506h 1 P0607 Limite asimmetria MAX(%) P0607 MAX asymmetry limit (%) 4..25 3507h 1 P0608 Ritardo asimmetria MAX (s) P0608 MAX asymmetry delay (s) 0..600 35 1 P0609 Limite frequenza MAX (%) P0609 MAX frequency limit (%) 100..121 3509h 1 P0610 Limite frequenza MIN (%) P0610 MIN frequency limit (%) 79..100 350Ah 1 P0611 Ritardo frequenza MIN/MAX(s) P0611 MIN/MAX frequency delay (s) 0..600 350Bh 1 P0612 Controllo RETE P0612 MAINS control 0 2 350Ch 1 P0613 Controllo RETE in modo RESET/OFF P0613 MAINS control in RESET/OFF mode 0 3 350Dh 1 P0614 Controllo RETE in modo MAN P0614 MAINS control in MAN mode 0 3 350Eh 1 P0615 Tempo ritardo avviamento motore (s) P0615 Engine starting delay (s) 0..9999 P0616 Ritardo rete nei limiti se gruppo non è avviato P0616 Load to MAINS delay, if gen-set not running 0..999 350Fh 1 (s) (s) (continua) 36 1 P0701 Limite tensione MIN (%) P0701 MIN voltage limit (%) 70..100 3601h 1 P0702 Ritardo tensione MIN (s) P0702 MIN voltage delay (s) 0..600 3602h 1 P0703 Limite tensione MAX (%) P0703 MAX voltage limit (%) 100..131 3603h 1 P0704 Ritardo tensione MAX (s) P0704 MAX voltage delay (s) 0..600 3604h 1 P0705 Ritardo generatore nei limiti (s) P0705 Generator into limits delay (s) 1..9999 3605h 1 P0706 Isteresi limiti MIN/MAX(%) P0706 MIN/MAX voltage hysteresis (%) 0..50 3606h 1 P0707 Limite asimmetria MAX(%) P0707 MAX asymmetry limit (%) 4..25 3607h 1 P0708 Ritardo asimmetria MAX (s) P0708 MAX asymmetry delay (s) 0..600 36 1 P0709 Limite frequenza MAX (%) P0709 MAX frequency limit (%) 100..121 3609h 1 P0710 Ritardo frequenza MAX (s) P0710 MAX frequency delay (s) 0-600 360Ah 1 P0711 Limite frequenza MIN (%) P0711 MIN frequency limit (%) 79..100 360Bh 1 P0712 Ritardo frequenza MIN (s) P0712 MIN frequency delay (s) 0-600 360Ch 1 P0713 Controllo GEN P0713 GEN control 0..2 360Dh 1 P0714 Ritardo allarmi tensione generatore (s) P0714 GEN voltage alarms delay (s) 1..600 37 1 P0801 Corrente nominale generatore (A) P0801 Rated generator current (A) 4..10000 3701h 1 P0802 Limite corrente max. (%) P0802 MAX current limit (%) 100..501 3702h 1 P0803 Ritardo intervento corrente max (s) P0803 MAX current trip delay (s) 100..501 3703h 1 P0804 Classe di protezione P0804 Protection class 0..3 3704h 1 P0805 Tempo di ripristino protezione (s) P0805 Protection reset time (s) 0..5000 (Continues) La associazione fra il valore numerico e la funzione eseguita va effettuata in modo sequenziale considerando le funzioni elencate sul manuale operativo. La prima funzione si ha con il valore 0, mentre l ultima si ottiene con il massimo valore consentito dal range. The association between the numerical value and the function has to be done in a sequential way, considering the function listed on the operative manual. The first function is obtained by setting 0, while the last function by setting the maximum value allowed by the range. Per impostare ad OFF, programmare il minimo valore consentito dal range. To select OFF, set the minimum numerical value allowed by range. Per impostare ad OFF, programmare il massimo valore consentito dal range. To select OFF, set the maximum numerical value allowed by range. Doc. AHIT303B0206.doc Date: 15/09/2008 P. 15 / 20

TABELLA 5: TABLE 5: INDIRIZZO WORDS PARAMETRO PARAMETER RANGE O 38 1 P0901 Abilitazione TEST automatico P0901 Auto TEST enabling 0..1 3801h 1 P0902 Intervallo tra i TEST (giorni) P0902 Auto TEST period (days) 1..30 3802h 1 P0903 Abilitazione TEST al lunedì P0903 Auto TEST on Monday 0..1 3803h 1 P0904 Abilitazione TEST al Martedì P0904 Auto TEST on Tuesday 0..1 3804h 1 P0905 Abilitazione TEST al mercoledì P0905 Auto TEST on Wednesday 0..1 3805h 1 P0906 Abilitazione TEST al giovedì P0906 Auto TEST on Thursday 0..1 3806h 1 P0907 Abilitazione TEST al venerdi P0907 Auto TEST on Friday 0..1 3807h 1 P0908 Abilitazione TEST al sabato P0908 Auto TEST on Saturday 0..1 38 1 P0909 Abilitazione TEST alla domenica P0909 Auto TEST on Sunday 0..1 3809h 1 P0910 Ora inizio TEST (h) P0910 Auto TEST beginning hour (h) 0..23 380Ah 1 P0911 Minuti inizio TEST (min) P0911 Auto TEST beginning minute (min) 0..59 380Bh 1 P0912 Durata TEST (min) P0912 Auto TEST duration (min) 0..600 380Ch 1 P0913 TEST automatico con commutazione carico P0913 Auto TEST with load 0..2 380Dh 1 P0914 TEST con stop esterno P0914 Auto TEST with ext. stop 0..1 380Eh 1 P0915 Intervallo di manutenzione (h) P0915 Maintenance interval (h) 0..9999 380Fh 1 P0916 Modalità TEST con carico P0916 TEST mode with load 0..2 39 1 P1001 Indirizzo porta seriale RS232 P1001 RS232 serial address 1..99 3901h 1 P1002 Baud-Rate RS232 P1002 RS232 baudrate 0..6 3902h 1 P1003 Protocollo RS232 P1003 RS232 protocol 0..2 3903h 1 P1004 Parità RS232 P1004 RS232 parity 0..2 3904h 1 P1005 Indirizzo porta seriale RS485 P1005 RS232 serial address 1..99 3905h 1 P1006 Baud-Rate RS485 P1006 RS232 baudrate 0..6 3906h 1 P1007 Protocollo Rs485 P1007 RS232 protocol 0..2 3907h 1 P1008 Parità RS485 P1008 RS232 parity 0..2 39 1 P1009 Canale modem P1009 Modem channel 0..2 3909h 1 P1010 Sempre in modalità AUT quando comunicazione P1010 AUT mode when communication offline 0..1 OFF 3A 1 P1101 Start/stop gruppo su soglia (kva) P1101 Start/stop on power threshold (kva) 0..1 3A01h 1 P1102 Soglia avviamento (kva) P1102 Start threshold (kva) 0..9999 (continua) 3A02h 1 P1103 Ritardo limite max avviamento (sec) P1103 Start delay (sec) 0..999 3A03h 1 P1104 Soglia arresto (kva) P1104 Stop threshold (kva) 0..9999 3A04h 1 P1105 Ritardo limite minimo arresto (sec) P1105 Stop delay (sec) 0..999 3A05h 1 P1106 Comando dummy load P1106 Dummy load control 0..1 3A06h 1 P1107 Soglia dummy load ON (kva) P1107 Dummy load ON threshold (kva) 0..9999 3A07h 1 P1108 Ritardo dummy load ON (sec) P1108 Dummy load ON dealy (sec) 0..999 3A 1 P1109 Soglia dummy load OFF (kva) P1109 Dummy load OFF threshold (kva) 0..9999 3A09h 1 P1110 Ritardo dummy load OFF (sec) P1110 Dummy load OFF delay (sec) 0..999 3A0Ah 1 P1111 Tempo di ciclo dummy load ON (min) P1111 Dummy load ON cycle time (min) 0..600 3A0Bh 1 P1112 Tempo di ciclo dummy load OFF (min) P1112 Dummy load OFF cycle time (min) 0..600 3A0Ch 1 P1113 Ore di noleggio (h) P1113 Rent hours (h) 0..60000 3A0Dh 1 P1114 Scelta modo EJP P1114 EJP Mode selection 0..3 3A0Eh 1 P1115 Ritardo start motore (EJP) P1115 EJP engine start delay 0..99 3A0Fh 1 P1116 Ritardo commutazione P1116 EJP changeover delay 0..30 3A10h 1 P1117 Blocco ricommutazione P1117 Changeover lock 0..1 3A11h 1 P1118 Blocco modi AUT e TEST P1118 Disable AUT and TEST modes 0..1 3A12h 1 P1119 Avviamento motore se avaria TLR P1119 Engine start on TLR fault 0..1 3A13h 1 P1120 Uscita modo funzionamento P1120 Operating mode output 0..15 (Continues) La associazione fra il valore numerico e la funzione eseguita va effettuata in modo sequenziale considerando le funzioni elencate sul manuale operativo. La prima funzione si ha con il valore 0, mentre l ultima si ottiene con il massimo valore consentito dal range. The association between the numerical value and the function has to be done in a sequential way, considering the function listed on the operative manual. The first function is obtained by setting 0, while the last function by setting the maximum value allowed by the range. Per impostare ad OFF, programmare il minimo valore consentito dal range. To select OFF, set the minimum numerical value allowed by range. Per impostare ad OFF, programmare il massimo valore consentito dal range. To select OFF, set the maximum numerical value allowed by range. Doc. AHIT303B0206.doc Date: 15/09/2008 P. 16 / 20

TABELLA 5: TABLE 5: INDIRIZZO WORDS PARAMETRO PARAMETER RANGE O 3B 1 P12.1.1 Ingresso morsetto 6.1 P12.1.1 Input teminal 6.1 0..34 3B01h 1 P12.1.2 Tipo contatto P12.1.2 Contact type 0..1 3B02h 1 P12.1.3 Ritardo chiusura (s/10) P12.1.3 Closing delay (s/10) 0..60000 3B03h 1 P12.1.4 Ritardo apertura (s/10) P12.1.4 Opening delay (s/10) 0..60000 3B1Ch 1 P12.8.1 Ingresso morsetto 6.8 P12.8.1 Ingresso morsetto 6.8 0..34 3B1Dh 1 P12.8.2 Tipo contatto P12.8.2 Tipo contatto 0..1 3B1Eh 1 P12.8.3 Ritardo chiusura (s/10) P12.8.3 Ritardo chiusura (s/10) 0..60000 3B1Fh 1 P12.8.4 Ritardo apertura (s/10) P12.8.4 Ritardo apertura (s/10) 0..60000 3C 1 P13.1.1 Funzione uscita progr. 1 P13.1.1 Programmable output 1 function 0..63 3C01h 1 P13.1.2 Uscita 1 Diretta / inversa P13.1.2 Output 1 normal / reverse 0..1 3C0C 1 P13.7.1 Funzione uscita progr. 7 P13.8.1 Programmable output 7 function 0..63 3C0D 1 P13.7.2 Uscita 8 Diretta / inversa P13.8.2 Output 7 normal / reverse 0..1 3D 1 P1401 Tipo ECU P1401 ECU Type 0..15 3D01h 1 P1402 Modo operativo ECU P1402 ECU Operatine mode 0..3 3D02h 1 P1403 Alimentazione ECU P1403 ECU power supply 1..241 3D03h 1 P1404 Abilitazione droop P1404 Droop enable 0..2 3D04h 1 P1405 Percentuale droop P1405 Droop percentage 0..50 3D05h 1 P1406 Gradiente frequenza P1406 Frequency gradient 0..25 3E 1 Proprietà allarme A01 A01 alarm properties 0..65535 3E01h 1 Proprietà allarme A02 A02 alarm properties 0..65535 (continua) 3E34h 1 Proprietà allarme UA3 UA3 alarm properties 0..65535 3E35h 1 Proprietà allarme UA4 UA4 alarm properties 0..65535 (Continues) La associazione fra il valore numerico e la funzione eseguita va effettuata in modo sequenziale considerando le funzioni elencate sul manuale operativo. La prima funzione si ha con il valore 0, mentre l ultima si ottiene con il massimo valore consentito dal range. The association between the numerical value and the function has to be done in a sequential way, considering the function listed on the operative manual. The first function is obtained by setting 0, while the last function by setting the maximum value allowed by the range. Per impostare ad OFF, programmare il minimo valore consentito dal range. To select OFF, set the minimum numerical value allowed by range. Per impostare ad OFF, programmare il massimo valore consentito dal range. To select OFF, set the maximum numerical value allowed by range. Per impostare ad ON, programmare il massimo valore consentito dal range. To select ON, set the maximum numerical value allowed by range. Per la corrispondenza fra i singoli bit e le proprietà vedere la seguente tabella. The correspondence between single bits and alarm property is shown in the following table. Bit Proprietà allarme Alarm property 0 Chiamata modem Modem call 1 Abilitato a motore in moto Enabled with engine running 2 Stop con rffreddamento Stop with cooling 3 Stop immediato Immediate stop 4 Attivazione sirena Siren activation 5 Attivazione allarme globale 1 Activation of global alarm 1 6 Ritenitivo Retenitive 7 Abilitato Enabled 8 (Libero) (Free) 9 (Libero) (Free) 10 (Libero) (Free) 11 Da CAN From CAN 12 Inibizione Inhibit 13 Visualizzato LCD Shown on LCD 14 Attivazione allarme globale 3 Activation of global alarm 3 15 Attivazione allarme globale 2 Activation of global alarm 2 Doc. AHIT303B0206.doc Date: 15/09/2008 P. 17 / 20

TABELLA 6: OROLOGIO DATARIO (Utilizzabili con funzioni 04 e 06) Per rendere effettivi I cambiamenti, memorizzare le impostazioni utilizzando l apposito commando descritto nella tabella 3. TABLE 6: REAL TIME CLOCK (To be used with functions 04 and 06) To make effective the changes, store them using the dedicated command described in table 3. INDIRIZZO WORDS PARAMETRO PARAMETER RANGE O 2F20h 1 Secondi Seconds 0..59 2F21h 1 Minuti Minutes 0..59 2F22h 1 Ore Hours 0..23 2F23h 1 Giorno della settimana Weekday 1..7 2F24h 1 Giorno Day 0..31 2F25h 1 Mese Month 1..12 2F26h 1 Anno (2000 ) Year (2000 ) 0..99 LETTURA LISTA EVENTI La storia degli eventi viene memorizzata in un buffer circolare. Per ricostruire la corrette sequenza temporale e quindi necessario leggere il puntatore alla posizione dell evento più recente e andare a ritroso partendo da essa per un numero di posizioni uguali a quelle indicate dal contatore degli eventi. Se viene raggiunta la testa del buffer circolare (pos.1), si puo proseguire ricominciando dalla ultima posizione (pos.100, coda) fino a che non si è raggiunto di nuovo la posizione dell evento piu recente. I valori di data e ora vengono restituiti compattati a coppie in tre registri per ridurre la lunghezza dei messaggi. Per esempio il registro 21 contiene nel MSB le ore e nel LSB i minuti. Lo stesso criterio viene applicato per secondi / giorno e mese / anno. EVENT LOG READING The events history is stored in a circular buffer memory. To rebuild the correct time sequence, it is necessary to read the position of the most recent event, indicated by the buffer pointer, and go backward starting from it for a number of positions equal to the one indicated by the event counter. If the head of the circular buffer is reached (pos. 1), then it is necessary to move to the last position (pos. 100, tail) and then go back until the most recent event is reached again. Time stamp values are returned in compacted format, in three registers containing each a couple of data. For instance register 21 holds in the MSB the hours and in LSB minutes. The same criteria is applied to seconds / day and month / year. PUNTATORI LISTA EVENTI EVENT LOG POINTERS (Utilizzabili con funzione 04) (To be used with function 04) INDIRIZZO WORDS DESCRIZIONE DESCRIPTION RANGE O 2910h 1 Puntatore alla posiz. dell evento più recente Pointer to the most recent event position 0..99 2911h 1 Contatore numero di eventi memorizzati Counter of the stored events number. 0..99 TABELLA 10: TABLE 10: LISTA EVENTI EVENT LOG (Utilizzabili con funzione 04) (To be used with function 04) INDIRIZZO WORDS DESCRIZIONE DESCRIPTION RANGE O 21 1 Ore evento pos. 1 Event pos. 1 Hours 0..59 2101h 1 Minuti evento pos. 1 Event pos. 1 Minutes 0..59 2102h 1 Secondi evento pos. 1 Event pos. 1 Seconds 0..23 2103h 1 Giorno evento pos. 1 Event pos. 1 Day 1..31 2104h 1 Mese evento pos. 1 Event pos. 1 Month 1..12 2105h 1 Anno evento pos. 1 Event pos. 1 Year 0..99 2106h 1 Opzioni evento 1 Event pos. 1 Options 0..255 2107h 1 Codice evento pos. 1 Event pos. 1 Event code 0..255 28C8h 1 Ore evento pos. 250 Event pos. 250 Hours 0..59 28C9h 1 Minuti evento pos. 250 Event pos. 250 Minutes 0..59 28CAh 1 Secondi evento pos. 250 Event pos. 250 Seconds 0..23 28CBh 1 Giorno evento pos. 250 Event pos. 250 Day 1..31 28CCh 1 Mese evento pos. 250 Event pos. 250 Month 1..12 28CDh 1 Anno evento pos. 250 Event pos. 250 Year 0..99 28CEh 1 Opzioni evento pos. 250 Event pos. 250 Options 0..255 28CFh 1 Codice evento pos. 250 Event pos. 250 Event code 0..255 Il significato del codice dell evento puo essere determinato nella seguente tabella. In caso non siano registrati eventi viene ritornato il codice 0. The meaning of the event code can be found in the following table. In case there is no recorded event code 0 will be returned. Doc. AHIT303B0206.doc Date: 15/09/2008 P. 18 / 20

TABELLA 10-1: LISTA EVENTI - CORRISPONDENZA CODICE NUMERICO / TIPO EVENTO TABLE 10-1: EVENT LOG NUMERIC CODE/ EVENT TYPE CORRESPONDENCE Cod Evento Event 1 MODO = OFF MODE = OFF 2 MODO = MAN MODE = MAN 3 MODO = AUT MODE = AUT 4 MODO = TEST MODE = TEST 5 RESET SISTEMA SYSTEM RESET 6 ACCENSIONE POWER ON 7 SPEGNIMENTO POWER DOWN 8 START MANUALE MANUAL START 9 STOP MANUALE MANUAL STOP 10 COMM MANUALE RETE MANUAL MAINS SW. 11 COMM MANUALE GEN MANUAL GEN SW. 12 V RETE OK MAINS V OK 13 V RETE NON OK MAINS V FAIL 14 V GEN OK GEN V OK 15 V GEN NON OK GEN V FAIL 16 CONT. RETE CHIUSO MAINS SW CLOSED 17 CONT. RETE APERTO MAINS SW OPEN 18 CONT. GEN CHIUSO GEN SW CLOSED 19 CONT. GEN APERTO GEN SW OPEN 20 MOTORE IN MOTO ENGINE STARTED 21 MOTORE FERMO ENGINE STOPPED 22 ALLARMI ABILITATI ALARMS ENABLED 23 MOTORE AVV DA D+ ENGINE RUN FROM D+ 24 MOTORE AVV DA V GEN ENGINE RUN FROM V GEN 25 MOTORE AVV DA F GEN ENGINE RUN FROM F GEN 26 MOTORE AVV DA RPM W ENGINE RUN FROM F W 27 TENTATIVO AVVIAMENTO STARTING ATTEMPT 28 INIZIO TEST AUTOM. BEGIN OF AUTO TEST 29 FINE TEST AUTOMATICO END OF AUTO TEST 30 TEST AUTOM. ABILITATO AUTO TEST ENABLED 31 TEST AUTOM. DISABIL. AUTO TEST DISABLED 32 CALIBRAZIONE ADJUST ACCESS 33 ACCESSO A SETUP PAR. SETUP ACCESS 34 ACCESSO MENU CUSTOM CUSTOM SETUP ACCESS 35 IMPOSTAZIONE OROLOGIO RTC SET 36 TASTIERA SBLOCCATA KEYBOARD UNLOCK 37 TASTIERA BLOCCATA KEYBOARD LOCK 38 AZZ. MEMORIA EVENTI EVENT LOG CLEARED 39 ACCESSO MENU COMANDI COMMAND MENU ACCESS 40 INIZIO CONTR. REMOTO REMOTE CONTROL START 41 FINE CONTROLLO REMOTO REMOTE CONTROL ENDED 42 CHIAMATA DA MODEM INCOMING MODEM CALL 43 LINEA MODEM CHIUSA MODEM LINE CLOSED 44 CHIAMATA MODEM>PC MODEM CALL TO PC 45 CHIAMATA MODEM>PC OK MODEM CALL TO PC OK 46 CHIAMATA MODEM>PC ERR MODEM CALL TO PC FAIL 47 INVIO SMS 1 SMS1 SEND 48 INVIO SMS 2 SMS2 SEND 49 INVIO SMS 3 SMS3 SEND 50 INVIO SMS OK SMS SENT OK 51 INVIO SMS FALLITO SMS FAILED 52 INVIO EMAIL EMAIL SEND 53 INVIO EMAIL OK EMAIL SENT OK 54 INVIO EMAIL FALLITA EMAIL FAILED 55 COMANDI DA SMS INCOMING SMS COMMAND 56 RESET ALLARMI ALARM RESET Doc. AHIT303B0206.doc Date: 15/09/2008 P. 19 / 20

Connessione PC-RGAM4x via RS-232 PC-RGAM4x connection via RS-232 cable Connessione PC-RGAM41 via RS-485 PC-RGAM41 connection via RS-485 RGAM41 RGAM41 Doc. AHIT303B0206.doc Date: 15/09/2008 P. 20 / 20